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
dump — Dump received packets to a file
# UDP server, write to file
whl-ip-tools dump -u 0.0.0.0:9090 -o dump.bin --server
# TCP server
whl-ip-tools dump -t 0.0.0.0:9090 -o dump.bin --server
# UDP client (sends trigger byte, then receives)
whl-ip-tools dump -u 192.168.1.100:9090 -o dump.bin
# TCP client, append mode
whl-ip-tools dump -t 192.168.1.100:9090 -o dump.bin -a
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whl_ip_tools-0.1.2.tar.gz.
File metadata
- Download URL: whl_ip_tools-0.1.2.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f0ae1b33b5793405accb42da19bf1bff1ad80be5f812a2cc57d2ac2447e2ad3
|
|
| MD5 |
336941053223374e0b5be9689ea3f9c7
|
|
| BLAKE2b-256 |
dd20e5fc63df7f112cb3572f550896d1cca3b3dc7bf932b583a2690b5ce42a4a
|
Provenance
The following attestation bundles were made for whl_ip_tools-0.1.2.tar.gz:
Publisher:
python-publish.yml on wheelos-tools/whl-ip-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whl_ip_tools-0.1.2.tar.gz -
Subject digest:
4f0ae1b33b5793405accb42da19bf1bff1ad80be5f812a2cc57d2ac2447e2ad3 - Sigstore transparency entry: 1396522291
- Sigstore integration time:
-
Permalink:
wheelos-tools/whl-ip-tools@081bf0d126ff726badd09b93af48625dc1788d28 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/wheelos-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@081bf0d126ff726badd09b93af48625dc1788d28 -
Trigger Event:
release
-
Statement type:
File details
Details for the file whl_ip_tools-0.1.2-py3-none-any.whl.
File metadata
- Download URL: whl_ip_tools-0.1.2-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f02e2c5a474f8ce8fdb8c2bcaa630f890aef701f75b0d1518fbe8c5c7a250f2
|
|
| MD5 |
6a5f0e6c1e44d2ae2e87d3bc1c5c4781
|
|
| BLAKE2b-256 |
0064b5f5eab911651600fab33056ff5b9d5f0dbc15490c71d74b99e415bbd209
|
Provenance
The following attestation bundles were made for whl_ip_tools-0.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on wheelos-tools/whl-ip-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whl_ip_tools-0.1.2-py3-none-any.whl -
Subject digest:
2f02e2c5a474f8ce8fdb8c2bcaa630f890aef701f75b0d1518fbe8c5c7a250f2 - Sigstore transparency entry: 1396522302
- Sigstore integration time:
-
Permalink:
wheelos-tools/whl-ip-tools@081bf0d126ff726badd09b93af48625dc1788d28 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/wheelos-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@081bf0d126ff726badd09b93af48625dc1788d28 -
Trigger Event:
release
-
Statement type: