Markus-Go / bonesi

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

Bonesi / libpcap performnace #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I've just tested bonesi lastest on my machines (CentOS_6.4_x64), 150.000pps is 
amazing number.
But it seems, the libpcap missed too much packets when sniffing in procious 
mode to finish all complete http requests.
The complete http request cant reach 4000req/s;
This is the output of stats file
### -r 1000 ###
-4 1000 929
-3 1000 923
-2 1000 937
-1 1000 930
0 1000 924
### -r 4000 ###
-4 4000 2729
-3 4000 2563
-2 4000 2481
-1 4000 2952
0 4000 2758
### -r 10000 ###
-4 10000 2944
-3 10000 3059
-2 10000 3032
-1 10000 2821
0 10000 2986
### -r 50000 ###
-4 50000 1636
-3 49998 1735
-2 50000 1474
-1 49999 1655
0 50000 1641
### my command ###
./bin/bonesi -i ./50k-bots -p tcp -b ./browserlist.txt -d em2 -v 
192.168.3.56:80 -r 10000

How can we increase the http request performance

Tks n Rgds,

Original issue reported on code.google.com by tranmanh...@gmail.com on 10 Aug 2014 at 8:35