Skip to main content

IP protocol analysis toolkit — send, capture, and analyze network packets

Project description

whl-ip-tools

IP protocol analysis toolkit — send, capture, and analyze network packets.

Installation

pip install whl-ip-tools

Or install from source:

pip install -e .

Usage

send — Send binary data via UDP/TCP

# UDP client, send once
whl-ip-tools send -u 192.168.1.100:9090 -f frame.bin

# UDP client, 128-byte chunks, loop forever
whl-ip-tools send -u 192.168.1.100:9090 -f frame.bin --chunk 128 --loop

# TCP server, loop forever
whl-ip-tools send -t 0.0.0.0:9090 -f frame.bin --server --loop

# Send exactly 10 rounds with 0.1s interval
whl-ip-tools send -u 192.168.1.100:9090 -f frame.bin -n 10 -i 0.1

view — Interactive TUI packet viewer

# UDP server, hex mode
whl-ip-tools view -u 0.0.0.0:9090 --server

# TCP server with Kaitai Struct parser
whl-ip-tools view -t 0.0.0.0:9090 --server --kaitai ip_packet.py

# TCP client, force hex display
whl-ip-tools view -t 192.168.1.100:9090 --hex

# Multiple Kaitai parsers (tried in order)
whl-ip-tools view -u 0.0.0.0:9090 --server -k frame_a.py -k frame_b.py

Keybindings

Key Action
j/k Move down/up
h/l Collapse/expand tree node
g/G Jump to top/bottom
Ctrl-U/Ctrl-D Page up/down
Tab Switch between list and detail pane
Space/Enter Select row / toggle tree node
s Switch display mode (hex ↔ kaitai)
c Clear all packets
q Quit

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whl_ip_tools-0.1.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whl_ip_tools-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file whl_ip_tools-0.1.0.tar.gz.

File metadata

  • Download URL: whl_ip_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for whl_ip_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b1a5dc970541581d825ee532b2712f5a16a7ebd690a3b47ce8dfc0e7f866a13f
MD5 6b6ac2b74714c77ee8eda90130ed0399
BLAKE2b-256 cbefea2b7b932efa387a9edf893f4a946ae7e25b39144d959d019dcfe0944409

See more details on using hashes here.

Provenance

The following attestation bundles were made for whl_ip_tools-0.1.0.tar.gz:

Publisher: python-publish.yml on wheelos-tools/whl-ip-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file whl_ip_tools-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: whl_ip_tools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for whl_ip_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acf57291a98338697481f770d7813570a7005e57ff96ee92d05c692b15fa708f
MD5 57bb8cee1efeeccb6c3fe36445c27ddf
BLAKE2b-256 738e0129a4738e839f8d454cb173aab33d6193229de7450324c5cc5076473307

See more details on using hashes here.

Provenance

The following attestation bundles were made for whl_ip_tools-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on wheelos-tools/whl-ip-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page