When running an nmap -O command on FreeBSD it is quite a bit slower than running it on any other OS. And when I say slower I mean by minutes rather than seconds.
That's a difference of 4 minutes. Both the Windows box and the FreeBSD box are on the same subnet, and I am scanning the same IP address. Technically the FreeBSD server is connected to a 40Gb switch on the back end, while Windows is connected to a regular 1Gb port.
I have a Python script that I had written on a BusyBox server a while ago that I am attempting to port over to FreeBSD. The script will scan a couple hundred hosts and dump the results into a database table for storage. The BusyBox server was able to complete the full network scan in around 15 minutes. After 30 minutes on FreeBSD I decided to kill the script.
The script uses the following nmap switches:
I did a search through the forums and I found a couple of other people running into the same problem.
viewtopic.php?&t=3279
This one described exactly the problem that I am having. But
I also attempted to use
I'm not really sure how to continue to troubleshoot this problem. I think my next step would be to do a packet comparison between the Windows box and the FreeBSD box. But even if I do that, I'm not sure how I would go about resolving any issues.
Any suggestions?
nmap -O
on Microsoft Windows 7 Pro (Nmap 6.40)
Code:
Nmap done: 1 IP address (1 host up) scanned in 2.30 seconds
nmap -O
on FreeBSD 10.0 (Nmap 6.40)
Code:
Nmap done: 1 IP address (1 host up) scanned in 244.47 seconds
I have a Python script that I had written on a BusyBox server a while ago that I am attempting to port over to FreeBSD. The script will scan a couple hundred hosts and dump the results into a database table for storage. The BusyBox server was able to complete the full network scan in around 15 minutes. After 30 minutes on FreeBSD I decided to kill the script.
The script uses the following nmap switches:
Code:
nmap 10.1.2.3 -O -n -oX OS.xml
viewtopic.php?&t=3279
This one described exactly the problem that I am having. But
-A -T5
only cuts the run time down by a third (81 seconds compared to 244 seconds) on FreeBSD, but it did slow Windows down to the same scan speed that FreeBSD has :OOO I also attempted to use
--osscan-limit
instead of -O
and had the same slow > 200 seconds to run.I'm not really sure how to continue to troubleshoot this problem. I think my next step would be to do a packet comparison between the Windows box and the FreeBSD box. But even if I do that, I'm not sure how I would go about resolving any issues.
Any suggestions?