Tool to generate TCP traffic

20,139

Solution 1

Ostinato aims to be "Wireshark in Reverse" and become complementary to Wireshark.

Ostinato is an open-source, cross-platform network packet crafter/traffic generator and analyzer with a friendly GUI. Craft and send packets of several streams with different protocols at different rates.

Solution 2

If you really want to accomplish that using a packet generator, I can recommend Scapy, which is a packet generator library for Python. You can use it out of the box on the Python Console or script it. It should also run on Windows.

Nevertheless, as already recommended in the comments, maybe nmap should be sufficient to accomplish your aim. nmap is not really a packet generator, but should be able to send the packets you intend to send.

Solution 3

You should consider hping3. It has plenty of documentation, and it will probably be able to do what you want.

Share:
20,139

Related videos on Youtube

MOHAMED
Author by

MOHAMED

Contact me on LinkedIn.

Updated on September 18, 2022

Comments

  • MOHAMED
    MOHAMED almost 2 years

    I want to generate a TCP traffic starting from the port 0 to the port 65535. 1 tcp packet for each port with 1ms between 2 packets. The generator should not care if there is a TCP ACK or not.

    1. Are there a tool that can generate a such traffic?
    2. Is it possible to do that with iperf and script?
    3. Ie it possible to run it on windows too?
  • Falsenames
    Falsenames about 9 years
    you beat me to hping... super awesome tool