Packet Sender is a handy utility to send or receive TCP and UDP packets. It is also an excellent tool (like Ostinato) to learn or analyse network packets as it shows the whole packet to be sent in hex. A packet has a name, destination address (domains will trigger an IP lookup), port, and data associated with it.
- GUI and CLI interfaces
- Send multiple packets simultaneously
- Edit fields of saved packets
- Resend packets
- Supports mixed ASCII and HEX notation
- Optional response
- Copy raw packet data to clipboard
- Roll traffic log
- Import or export packets
- Supports Linux, Windows and Mac. The Android version is commercial.
The pre-compiled packages for Ubuntu is available for download here. Note that version 2.0 needs Qt 5.4.
The GUI is self-explanatory. Available cmdline options:
Syntax: packetsender [options] address port data Options: -?, -h, --help Displays this help. -v, --version Displays version information. -q, --quiet Quiet mode. Only output received data. -x, --hex Parse data as hex (default). -a, --ascii Parse data as mixed-ascii (like the GUI). -A, --ASCII Parse data as pure ascii (no \xx translation). -w, --wait Wait up to for a response after sending. Zero means do not wait (Default). -b, --bind Bind port. Default is dynamic. -t, --tcp Send TCP (default). -u, --udp Send UDP. -n, --name Send previously saved packet named . Other options overrides saved packet parameters. -Arguments: -address Destination address. Optional for saved packet. -port Destination port. Optional for saved packet. -data Data to send. Optional for saved packet.
$ packetsender -taw 500 ubuntu.com 22 "Hello\nWorld" TCP (56620)://184.108.40.206:22 48 65 6c 6c 6f 0a 57 6f 72 6c 64 Response HEX:53 53 48 2D 32 2E 30 2D 4F 70 65 6E 53 53 48 5F 35 2E 33 70 31 20 44 65 62 69 61 6E 2D 33 75 62 75 6E 74 75 33 2E 31 2E 49 53 2E 31 30 2E 30 34 0D 0A Response ASCII:SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu3.1.IS.10.04\r\n
Webpage: Packet Sender