nmap as user works, root doesn't
Jimmie James
jimmiejaz at gmail.com
Wed Mar 25 19:39:15 PDT 2009
Can anyone make sense of this?
Straight DSL connection, no router.
using -e [any interface] results in the same errors
nmap-4.76
As root:
#nmap -v -v google.ca
Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-25 22:35 EDT
Warning: Hostname google.ca resolves to 3 IPs. Using 64.233.161.104.
WARNING: Unable to find appropriate interface for system route to
64.230.197.58
nexthost: failed to determine route to 64.233.161.104
QUITTING!
As user:
~>nmap -v -v google.ca
Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-25 22:35 EDT
Warning: Hostname google.ca resolves to 3 IPs. Using 64.233.187.104.
Initiating Ping Scan at 22:35
Scanning 64.233.187.104 [1 port]
Completed Ping Scan at 22:35, 0.08s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 22:35
Completed Parallel DNS resolution of 1 host. at 22:35, 0.06s elapsed
Initiating Connect Scan at 22:35
Scanning jc-in-f104.google.com (64.233.187.104) [1000 ports]
#nmap -iflist
Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-25 22:35 EDT
************************INTERFACES************************
DEV (SHORT) IP/MASK TYPE UP MAC
fxp0 (fxp0) 192.168.2.100/24 ethernet up 00:11:D8:11:B7:4E
rl0 (rl0) 172.16.0.1/24 ethernet up 00:E0:29:51:C7:61
xl0 (xl0) 10.10.10.2/24 ethernet up 00:04:75:C7:27:DA
lo0 (lo0) 127.0.0.1/8 loopback up
tun0 (tun0) 76.71.17.226/24 point2point up
WARNING: Unable to find appropriate interface for system route to
64.230.197.58
**************************ROUTES**************************
DST/MASK DEV GATEWAY
64.230.197.58/32 tun0 76.71.17.226
127.0.0.1/32 lo0 127.0.0.1
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 64.230.197.58 UGS 0 832901 tun0
10.10.10.0/24 link#3 UC 0 0 xl0
10.10.10.3 02:01:02:7b:3c:72 UHLW 1 57249 xl0 1004
64.230.197.58 76.71.17.226 UGH 1 2 tun0
127.0.0.1 127.0.0.1 UH 0 303 lo0
172.16.0.0/24 link#2 UC 0 0 rl0
172.16.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 18 rl0
192.168.2.0/24 link#1 UC 0 0 fxp0
192.168.2.1 00:0b:23:9c:f9:0c UHLW 1 1 fxp0 448
#ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:11:d8:11:b7:4e
inet6 fe80::211:d8ff:fe11:b74e%fxp0 prefixlen 64 scopeid 0x1
inet 192.168.2.100 netmask 0xffffff00 broadcast 192.168.2.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:e0:29:51:c7:61
inet6 fe80::2e0:29ff:fe51:c761%rl0 prefixlen 64 scopeid 0x2
inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
media: Ethernet autoselect (none)
status: no carrier
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9<RXCSUM,VLAN_MTU>
ether 00:04:75:c7:27:da
inet6 fe80::204:75ff:fec7:27da%xl0 prefixlen 64 scopeid 0x3
inet 10.10.10.2 netmask 0xffffff00 broadcast 10.10.10.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1492
inet 76.71.17.226 --> 64.230.197.58 netmask 0xffffff00
Opened by PID 13443
--
Over the years I've come to regard you as people I've met.
More information about the freebsd-questions
mailing list