This option must not appear in combination with any of the following options: fuzz-seed. Randomize src/dst IPv4/v6 addresses w/ given seed. Each colon delimited port pair consists of the port to match followed by the port number to rewrite.Įxamples: -portmap=80:8000 -portmap=8080:80 # 80->80->80 Specify a list of comma delimited port mappings consisting of colon delimited port number pairs. Optionally, the traffic can be split between two interfaces, written to files, filtered and edited in various ways, providing the means to test firewalls, NIDS and other network devices.įor more details, please see the Tcpreplay Manual at: Options -r string, -portmap= string The basic operation of tcpreplay is to resend all packets from the input file(s) at the speed at which they were recorded, or a specified data rate, up to as fast as the hardware is capable. Tcpreplay is a tool for replaying network traffic from files saved with tcpdump or other tools which write pcap(3) files. Replay network traffic stored in pcap files Synopsis