I suppose thats's because nmap sometimes chooses incorrect interface to
use.

My routing table:
#v+
10.0.0.1 dev tun0  proto kernel  scope link  src 10.1.2.1 
10.1.2.0/25 dev wlan0  proto kernel  scope link  src 10.1.2.1 
10.1.2.0/24 dev vbox  proto kernel  scope link  src 10.1.2.1 
192.168.0.0/16 via 10.0.0.1 dev tun0 
10.0.0.0/14 via 10.0.0.1 dev tun0 
default via 10.1.2.5 dev wlan0 
#v-

So 'sudo nmap 10.1.2.5' should use wlan0 interface, but uses vbox interface 
instead
#v+
21:34 [EMAIL PROTECTED] sudo nmap 10.1.2.5

Starting Nmap 4.53 ( http://insecure.org ) at 2008-07-15 21:54 CEST
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 0.281 seconds
21:54 [EMAIL PROTECTED] sudo ifconfig vbox down
21:54 [EMAIL PROTECTED] sudo nmap 10.1.2.5     

Starting Nmap 4.53 ( http://insecure.org ) at 2008-07-15 21:54 CEST
pcap_open_live(vbox, 100, 0, 200) FAILED. Reported error: bind: Network is 
down.  Will wait 5 seconds then retry.
#v-

Ubuntu 8.04.1

-- 
scanning as root user does not send out any network based requests (it will 
only scan your own computer...)
https://bugs.launchpad.net/bugs/247474
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to