Simple TCP protocol showing variable-size PDUs with a length header.
1 byte | 1-4 bytes | 4 bytes |
---|---|---|
unit8 | char[] | float32 (big-endian) |
Symbol length | Ticker symbol | Current price in USD |
temperature_data.py
: Python script for sending and receiving protocol data (no requirements, should "just work" with Python 3)temperature_client.lua
: Wireshark dissector for this protocol, registers for TCP port 5678dump-singles.pcap
: Example capture file, one PDU per TCP segmentdump-doubles.pcap
: Example capture file, two PDUs per TCP segmentdump-out-of-phase.pcap
: Example capture file, two PDUs halves per TCP segment (each PDU continuing in the next segment)dump-randomly-segmented.pcap
: Example capture file, randomly segmented PDUs, no clear relation to TCP segments