TracNav
Agents and Variables
How To
GUI
Development/Extending
Flooder
![]() |
The flooder agent responds to object type 'FLOODER'.
| NODES(g) | set the nodes that will become flood sources |
| interface | IP of interface to init libnet with (REQUIRED ON WINDOWS, uncommon for linux or bsd) |
| dst | the target base address (REQUIRED) |
| dstmask | the mask to use to randomize the target (default is 255.255.255.255) |
| src | the source base address (defaults to the local address) |
| srcmask | the mask to use to randomize the source (default is 255.255.255.0) |
| proto | the protocol of the attack packets |
| lengthmin | the minimum data size of the attack packets |
| lengthmax | the maximum data size of the attack packets |
| ratetype | flat, rampup, rampdown, pulse, or ramppulse |
| highrate | pkts/sec when at highstate |
| hightime | milliseconds to spend at high state |
| lowrate | pkts/sec when at low state |
| lowtime | milliseconds to spend at low state |
| riseshape | shape of the rising ramp |
| risetime | milliseconds to spend ramping up to high state |
| fallshape | shape of the falling ramp |
| falltime | milliseconds to spend ramping down to low rate |
| sportmin | the minimum sport for UDP/TCP packets |
| sportmax | the maximum sport for UDP/TCP packets |
| dportmin | the minimum dport for UDP/TCP packets |
| dportmax | the maximum dport for UDP/TCP packets |
| tcpflags | the flags to use for TCP packets |
| typemin | the minimum type for ICMP packets |
| typemax | the maximum type for ICMP packets |
| codemin | the minimum code for ICMP packets |
| codemax | the maximum code for ICMP packets |
myatt = scripts.Agent('FLOODER', 'attack1') myatt.Set({ 'NODES':'net1', 'dst':'net4', 'ratetype':'pulse', 'lowrate':'300', 'highrate':'1000', 'lowtime':'20000', 'hightime':'15000', 'lengthmin':'200', 'lengthmax':'200', 'proto':'UDP', 'sportmin':'57', 'sportmax':'57', 'dportmax':'3000', 'dportmin':'2000' }) myatt.Start()

