Nmap Development mailing list archives
Re: Compile error on netbsd
From: David Fifield <david () bamsoftware com>
Date: Mon, 31 Aug 2009 13:01:02 -0600
On Mon, Aug 31, 2009 at 02:46:46PM -0400, Jay Fink wrote:
Your right - char * works fine; the first time I tried this I don't think I waited long enough.
Okay, good. I committed that change in r15376.
Check this out: colico$ time ./nmap localhost Starting Nmap 5.05BETA1 ( http://nmap.org ) at 2009-08-31 09:36 EST Interesting ports on localhost (127.0.0.1): Not shown: 999 closed ports PORT STATE SERVICE 22/tcp open ssh Nmap done: 1 IP address (1 host up) scanned in 18.29 seconds 18.32 real 0.28 user 0.07 sys Same code on osX: [14:36:36 :~/src/nmap]$ time ./nmap localhost Starting Nmap 5.05BETA1 ( http://nmap.org ) at 2009-08-31 14:36 EDT Interesting ports on localhost (127.0.0.1): Not shown: 998 closed ports PORT STATE SERVICE 22/tcp open ssh 631/tcp open ipp Nmap done: 1 IP address (1 host up) scanned in 6.56 seconds real 0m6.743s user 0m0.185s sys 0m0.206s
There could be a lot of different reasons for different performance on different platforms. This case looks like it's probably rate limiting, if it's repeatable. 1000 ports in 6.743 seconds is 149.25 ports per second, which is about the RST rate limit of Mac OS X. The NetBSD result is 54.59 packets per second; you might check if there's a rate limiter in place. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Re: Compile error on netbsd, (continued)
- Re: Compile error on netbsd Jay Fink (Aug 25)
- Re: Compile error on netbsd Jay Fink (Aug 26)
- Re: Compile error on netbsd Jay Fink (Aug 26)
- Re: Compile error on netbsd Jay Fink (Aug 27)
- Re: Compile error on netbsd Jay Fink (Aug 28)
- Re: Compile error on netbsd David Fifield (Aug 28)
- Re: Compile error on netbsd Jay Fink (Aug 28)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 25)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Sep 01)