Nmap Development mailing list archives
Re: Issues with privileged scan of LAN on Mac OS X
From: David Fifield <david () bamsoftware com>
Date: Sun, 27 Jan 2013 10:06:50 -0800
On Sun, Jan 27, 2013 at 01:01:04PM +0100, Jesper Kückelhahn wrote:
I'm seeing some strange behaviour when running privileged scans against hosts in my LAN. nmap marks the target as being down, but if I run unprivileged, it works fine. This does not happen when scanning external targets. I've checked out previous revisions (back to r30000), to see if it might be a patch that broke something, but I haven't found any differences. Could this issue be caused by a change in OS X ? Unfortunately, I don't have access to previous versions (I'm on 10.8.2), so I can't test if this is the case.
It looks like something to do with ARP host discovery. ARP host discovery is only done when privileged, and only for targets on the same subnet. A workaround that disables ARP host discovery is to use the --send-ip option. Try these commands too. netstat -rn nmap --route-dst 192.168.1.23 OS X has been known to change the routing table on the fly, so you should check the routing table before and after a scan to see if it changes. David Fifield _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Issues with privileged scan of LAN on Mac OS X Jesper Kückelhahn (Jan 27)
- Re: Issues with privileged scan of LAN on Mac OS X David Fifield (Jan 27)
- Re: Issues with privileged scan of LAN on Mac OS X Jesper Kückelhahn (Jan 27)
- Re: Issues with privileged scan of LAN on Mac OS X Patrik Karlsson (Jan 27)
- Re: Issues with privileged scan of LAN on Mac OS X Jesper Kückelhahn (Jan 28)
- Re: Issues with privileged scan of LAN on Mac OS X Jesper Kückelhahn (Jan 27)
- Re: Issues with privileged scan of LAN on Mac OS X David Fifield (Jan 27)