gettimeofday() in hping

Kris Kennaway kris at FreeBSD.org
Mon Feb 4 12:21:52 PST 2008


Stefan Lambrev wrote:

> FreeBSD - ACPI
> 
>            em1  in     13.157 MB/s         13.162 MB/s           23.697 GB
>                 out    13.150 MB/s         13.153 MB/s           17.976 GB
> 
> FreeBSD - TSC
> 
>            em1  in     18.624 MB/s         18.832 MB/s           25.507 GB
>                 out    17.008 MB/s         17.041 MB/s           19.681 GB
> 
> FreeBSD - i8254
> 
>            em1  in      6.763 MB/s          6.763 MB/s           26.005 GB
>                 out     6.756 MB/s          6.758 MB/s           20.151 GB
> 
> FreeBSD - dummy
> 
>            em1  in     18.705 MB/s         18.796 MB/s           27.014 GB
>                 out    17.217 MB/s         17.225 MB/s           21.082 GB

I forgot to mention I was using -a to spoof the return address so time 
is not wasted receiving packets (since your goal was to syn flood the 
server).  Probably there are other (possibly also bogus) gettimeofday 
calls that are still present in hping when receiving packets.

Kris



More information about the freebsd-hackers mailing list