Here are some commands(linux) that I used for ddos testing. Change ip to your target
#tcp sync flood at 5000 packets per sec nping --tcp --dest-port 80 --flags syn --rate 5000 -c 1000000 -v-1 8.8.8.8 # many tcp options at 5000 packets pe nping --tcp --dest-port 80 --flags cwr,ecn,urg,ack,psh,rst,syn,fin --rate 5000 -c 1000000 -v-1 8.8.8.8 #udp flood on port 53 at 5000 packets per sec nping --udp --dest-port 53 --data-string 3000 --rate 5000 -c 1000000 -v-1 8.8.8.8 #udp flood on port 65535 using 1500 byte packets (cat /dev/urandom | nc -u 8.8.8.8 65535&); sleep 60; fuser -n udp , 8.8.8.8 ,65535 -k On Thu, Feb 22, 2018 at 8:27 AM, Faisal Imtiaz <[email protected]> wrote: > FYI.. for a quick nice over-view > https://mum.mikrotik.com//presentations/EU17/presentation_4081_1490963921. > pdf > > Faisal Imtiaz > Snappy Internet & Telecom > http://www.snappytelecom.net > > Tel: 305 663 5518 x 232 <(305)%20663-5518> > > Help-desk: (305)663-5518 <(305)%20663-5518> Option 2 or Email: > [email protected] > > ------------------------------ > > *From: *"Forrest Christian (List Account)" <[email protected]> > *To: *"af" <[email protected]> > *Sent: *Thursday, February 22, 2018 3:11:58 AM > *Subject: *[AFMUG] Packet/Traffic Generation Tools > > I apologize for the quantity of mostly on-topic questions I'm about to ask > in 2-3 different emails. > For this instance (of the on-topic question emails), I am looking for > recommendations for tools to generate traffic for testing purposes, > specifically the ability to generate things like certain multicast protocol > packets and arp floods and various other specific packet types. I need to > do some stress testing of one of my products and need to be able to > generate various packets at will. Some will be based on something I > captured, others will be strategically crafted to perhaps cause an issue. > > Last time I did this there were only horrible command line tools and GUI > programs under windows neither of which were very pleasant to use. I > believe I ended up hacking together some code to make this work, which I > could do again, but I'd really rather take a more lazy approach. > > I'm hopeful I can find some intuitive tool which runs preferably under > Windows, but if not under Linux is acceptable. I'd love to stay away from > composing this on a command line since that is unwieldy. > > -- > *Forrest Christian* *CEO**, PacketFlux Technologies, Inc.* > Tel: 406-449-3345 | Address: 3577 Countryside Road, Helena, MT 59602 > <https://maps.google.com/?q=3577+Countryside+Road,+Helena,+MT+59602&entry=gmail&source=g> > [email protected] | http://www.packetflux.com > <http://www.linkedin.com/in/fwchristian> <http://facebook.com/packetflux> > <http://twitter.com/@packetflux> > > > -- Zach Underwood (RHCE,RHCSA,RHCT,UACA) My website <http://zachunderwood.me> advance-networking.com
