Markus-Go / bonesi

BoNeSi - the DDoS Botnet Simulator
Apache License 2.0
659 stars 198 forks source link

Can't send IP packet: libnet_write_raw_ipv4(): -1 bytes written #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
bonesi -i ip.txt -p udp xx.xx.xx.xx:80
Warning: There is noch File with useragent names! The user-agent:
 Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8) Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
will be used.

dstIp:         xx.xx.xx.xx
dstPort:       80
protocol:      17
payloadSize:   32
rate:          infinite
ips:           ip.txt
urls:          (null)
useragents::   (null)
stats file:    stats
maxPackets:    infinite
format:        dotted
toggle:        no
reading file...done
Can't send IP packet: libnet_write_raw_ipv4(): -1 bytes written (Operation not 
permitted)

Original issue reported on code.google.com by mzeyna...@gmail.com on 4 Aug 2012 at 5:16

Markus-Go commented 9 years ago
First, make sure you have rights to write raw socket data (root is usually 
fine), then please read http://code.google.com/p/bonesi/issues/detail?id=10 or 
make sure to remove other "security" features.

Original comment by Markus-Go on 6 Aug 2012 at 7:11