Scroll to navigation

packetsender(1) Network utility for sending and receiving TCP, UDP, SSL packets packetsender(1)

NAME

packetsender - Network utility for sending and receiving TCP, UDP, SSL packets

SYNOPSIS

packetsender [options] address port data

DESCRIPTION

Packet Sender is a utility that sends and receives TCP, UDP and SSL (encrypted TCP) packets on the ports of your choosing. It supports IPv4 and IPv6 and provides a GUI for final users. However, is also possible use Packet Sender in text mode via command line.

Some features:

  • Can act as client/server to send and receive network traffic.
  • A payload can be created in ASCII or hex.
  • Command line mode is available for automation and scripting.
  • Packet Sender cloud is a disposable resource to be used to publicly display and distribute packets (via an URL) for collaboration, tutorials, end users, etc. Packet Sender may import public packet sets with public URL.

Some uses:

  • Control network-based devices in ways beyond their original apps.
  • Test automation (using command line tool and/or hotkeys).
  • Test network APIs (using the built-in TCP, UDP, SSL clients).
  • Malware analysis (using the built-in UDP, TCP, SSL servers).
  • Troubleshoot secure connections (using SSL).
  • Test network connectivity/firewalls (by having 2 Packet Senders talk to each other).
  • Stress-test a device (using intense network generator tool).
  • Tech support (by sending customers a portable Packet Sender with pre-defined settings and packets).
  • Share/Save/Collaborate using the Packet Sender Cloud service.

OPTIONS

Displays this help.
Displays version information.
Quiet mode. Only output received data.
Parse data-to-send as hex (default).
Parse data-to-send as mixed-ascii (like the GUI).
Parse data-to-send as pure ascii (no \xx translation).
Wait up to <milliseconds> for a response after sending. Zero means do not wait (Default).
Send contents of specified path. Max 10 MiB for UDP, 100 MiB for TCP/SSL.
Bind port. Default is 0 (dynamic).
-6, --ipv6
Force IPv6. Same as -B "::". Default is IP:Any.
-4, --ipv4
Force IPv4. Same as -B "0.0.0.0". Default is IP:Any.
Bind custom IP. Default is IP:Any.
Send TCP (default).
Send SSL and ignore errors.
Send SSL and stop for errors.
Send UDP.
Send previously saved packet named <name>. Other options overrides saved packet parameters.

Arguments:

Destination address. Optional for saved packet.
Destination port. Optional for saved packet.
Data to send. Optional for saved packet.

EXAMPLES

The following command line will send a TCP packet, with a mixed-ascii as payload, to packetsender.com, port 22. The command will wait 500 ms for a reply.


$ packetsender -taw 500 packetsender.com 22 "Hello\nWorld"
The command below uses SSL and will ignore or abandon on SSL errors. The default is to ignore.


$ packetsender -saw 500 expired.packetsender.com 443 "GET / HTTP/1.0\r\n\r\n"

SEE ALSO

tcpdump(8), wireshark(1), https://packetsender.com/documentation

AUTHOR

Packet Sender was written by Dan Nagle <dan@dannagle.com> and is available at:


https://packetsender.com
This manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others).
27 Apr 2020 packetsender-6.2.6