hping is nice for sending a bunch of traffic just to test certain reactions of remote machines etc.. Here are some cool ways to use it and some useful links on more info.

Start a flood of icmp packets with a rand src:

hping 16.0.24.2 --rand-source --flood --icmp -V

 Do 500pps with just one src: 
hping 16.0.24.2 -i u2000 --icmp -V

Here, we use the -i u2000 which tells hping to send a packet every 2000us which is 500 packets per second. You can figure out what this value should be by doing “1e+6/pps”

Through the –flood option, I can get around 400kpps out of a 10G link (with those icmp packets).

Some linkage:

http://www.rationallyparanoid.com/articles/hping.html

http://www.radarhack.com/tutorial/hping2.pdf

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview