8

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?
2
  • 1
    Have you tried with ncat or nmap?
    – YoMismo
    Apr 6, 2015 at 13:13
  • For other needs, you might consider D-ITG, the Distributed Internet Traffic Generator, from here: traffic.comics.unina.it/software/ITG .
    – sjas
    Aug 5, 2015 at 7:42

3 Answers 3

6

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.

6

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

1
  • you beat me to hping... super awesome tool
    – Falsenames
    Apr 6, 2015 at 17:30
6

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .