Nmap Development mailing list archives
More Linux routing problems
From: David Fifield <david () bamsoftware com>
Date: Mon, 23 Feb 2009 11:14:27 -0700
I was sent this message with an error message similar to the one described at http://seclists.org/nmap-dev/2009/q1/0434.html which was caused by /proc/net/route being empty. This case looks to be caused by some misconfiguration. See near the bottom where there is /proc/net/route: Permission denied INET (IPv4) not configured in this system. Were these commands run as root? The --privileged option will fail unless you are root. Can you read /proc/net/route as root? David Fifield ----- Forwarded message from PGNet <pgnet.trash+nmap () gmail com> ----- I'll impose once again, and just reply to you ... if in your judgement it's at all relevant to your comment, please fee free to inject any subsequent reply into the thread. That should do it ... i'm seeing some similar symptons, namely the problems with missing routes -- i'm not at all clear that the cases are actually related. i've built/installed nmap in my local dirs, on a shared (Debian) host. which nmap /home/pgnet/bin/nmap nmap --version Nmap version 4.85BETA3 ( http://nmap.org ) this works, nmap -d9 -PN host.domain.com Starting Nmap 4.85BETA3 ( http://nmap.org ) at 2009-02-22 19:22 PST ... Nmap done: 1 IP address (1 host up) scanned in 11.28 seconds but this, nmap -d9 -vvvvvvvv -PN -p42000-42100 --send-eth --privileged -sU host.domain.com Starting Nmap 4.85BETA3 ( http://nmap.org ) at 2009-02-22 19:17 PST Fetchfile found /home/pgnet/share/nmap/nmap-services The max # of sockets we are using is: 0 --------------- Timing report --------------- hostgroups: min 1, max 100000 rtt-timeouts: init 1000, min 100, max 10000 max-scan-delay: TCP 1000, UDP 1000 parallelism: min 0, max 0 max-retries: 10, host-timeout: 0 min-rate: 0, max-rate: 0 --------------------------------------------- nexthost: failed to determine route to aa.bb.cc.dd QUITTING! adding the add'l info requested in the thread, nmap --iflist Starting Nmap 4.85BETA3 ( http://nmap.org ) at 2009-02-22 19:17 PST ************************INTERFACES************************ DEV (SHORT) IP/MASK TYPE UP MAC lo (lo) 127.0.0.1/8 loopback up eth0 (eth0) 10.174.10.142/22 ethernet up 01:26:35:C2:73:6C eth0:0 (eth0) 10.174.9.0/22 ethernet up 01:26:35:C2:73:6C eth1 (eth1) xx.205.29.53/22 ethernet up 01:26:35:C2:73:6D eth1:0 (eth1) xx.119.206.196/22 ethernet up 01:26:35:C2:73:6D eth1:102 (eth1) xx.205.43.251/22 ethernet up 01:26:35:C2:73:6D eth1:112 (eth1) xx.205.7.203/22 ethernet up 01:26:35:C2:73:6D eth1:15 (eth1) xx.205.47.5/22 ethernet up 01:26:35:C2:73:6D eth1:2 (eth1) xx.119.219.62/22 ethernet up 01:26:35:C2:73:6D eth1:51 (eth1) xx.119.214.106/22 ethernet up 01:26:35:C2:73:6D eth1:54 (eth1) xx.205.51.46/22 ethernet up 01:26:35:C2:73:6D eth1:67 (eth1) xx.205.37.255/22 ethernet up 01:26:35:C2:73:6D eth1:1 (eth1) xx.205.30.169/22 ethernet up 01:26:35:C2:73:6D eth1:10 (eth1) xx.205.30.50/22 ethernet up 01:26:35:C2:73:6D eth1:100 (eth1) xx.205.30.237/22 ethernet up 01:26:35:C2:73:6D eth1:101 (eth1) xx.205.31.184/22 ethernet up 01:26:35:C2:73:6D eth1:103 (eth1) xx.205.29.76/22 ethernet up 01:26:35:C2:73:6D eth1:104 (eth1) xx.205.28.70/22 ethernet up 01:26:35:C2:73:6D eth1:105 (eth1) xx.205.30.161/22 ethernet up 01:26:35:C2:73:6D eth1:106 (eth1) xx.205.41.146/22 ethernet up 01:26:35:C2:73:6D eth1:107 (eth1) xx.205.30.216/22 ethernet up 01:26:35:C2:73:6D eth1:108 (eth1) xx.205.28.242/22 ethernet up 01:26:35:C2:73:6D eth1:109 (eth1) xx.205.29.45/22 ethernet up 01:26:35:C2:73:6D eth1:11 (eth1) xx.205.30.173/22 ethernet up 01:26:35:C2:73:6D eth1:110 (eth1) xx.205.30.81/22 ethernet up 01:26:35:C2:73:6D eth1:111 (eth1) xx.205.29.87/22 ethernet up 01:26:35:C2:73:6D eth1:113 (eth1) xx.205.4.132/22 ethernet up 01:26:35:C2:73:6D eth1:114 (eth1) xx.205.30.65/22 ethernet up 01:26:35:C2:73:6D eth1:115 (eth1) xx.205.30.23/22 ethernet up 01:26:35:C2:73:6D eth1:116 (eth1) xx.205.30.82/22 ethernet up 01:26:35:C2:73:6D eth1:117 (eth1) xx.205.4.165/22 ethernet up 01:26:35:C2:73:6D eth1:118 (eth1) xx.205.30.68/22 ethernet up 01:26:35:C2:73:6D eth1:119 (eth1) xx.205.30.113/22 ethernet up 01:26:35:C2:73:6D eth1:12 (eth1) xx.205.31.13/22 ethernet up 01:26:35:C2:73:6D eth1:120 (eth1) xx.205.29.71/22 ethernet up 01:26:35:C2:73:6D eth1:121 (eth1) xx.205.30.55/22 ethernet up 01:26:35:C2:73:6D eth1:122 (eth1) xx.205.7.47/22 ethernet up 01:26:35:C2:73:6D eth1:123 (eth1) xx.205.30.110/22 ethernet up 01:26:35:C2:73:6D eth1:124 (eth1) xx.205.30.73/22 ethernet up 01:26:35:C2:73:6D eth1:125 (eth1) xx.205.31.213/22 ethernet up 01:26:35:C2:73:6D eth1:126 (eth1) xx.205.7.227/22 ethernet up 01:26:35:C2:73:6D eth1:127 (eth1) xx.205.29.210/22 ethernet up 01:26:35:C2:73:6D eth1:128 (eth1) xx.205.30.240/22 ethernet up 01:26:35:C2:73:6D eth1:129 (eth1) xx.205.28.233/22 ethernet up 01:26:35:C2:73:6D eth1:13 (eth1) xx.205.31.25/22 ethernet up 01:26:35:C2:73:6D eth1:14 (eth1) xx.205.4.209/22 ethernet up 01:26:35:C2:73:6D eth1:16 (eth1) xx.205.30.203/22 ethernet up 01:26:35:C2:73:6D eth1:17 (eth1) xx.205.31.162/22 ethernet up 01:26:35:C2:73:6D eth1:18 (eth1) xx.205.31.163/22 ethernet up 01:26:35:C2:73:6D eth1:19 (eth1) xx.205.31.210/22 ethernet up 01:26:35:C2:73:6D eth1:20 (eth1) xx.205.7.155/22 ethernet up 01:26:35:C2:73:6D eth1:21 (eth1) xx.205.47.191/22 ethernet up 01:26:35:C2:73:6D eth1:22 (eth1) xx.205.30.20/22 ethernet up 01:26:35:C2:73:6D eth1:23 (eth1) xx.205.29.208/22 ethernet up 01:26:35:C2:73:6D eth1:24 (eth1) xx.205.31.28/22 ethernet up 01:26:35:C2:73:6D eth1:25 (eth1) xx.205.29.218/22 ethernet up 01:26:35:C2:73:6D eth1:26 (eth1) xx.205.4.115/22 ethernet up 01:26:35:C2:73:6D eth1:27 (eth1) xx.119.218.141/22 ethernet up 01:26:35:C2:73:6D eth1:28 (eth1) xx.205.30.67/22 ethernet up 01:26:35:C2:73:6D eth1:29 (eth1) xx.205.30.152/22 ethernet up 01:26:35:C2:73:6D eth1:3 (eth1) xx.205.5.183/22 ethernet up 01:26:35:C2:73:6D eth1:30 (eth1) xx.205.28.75/22 ethernet up 01:26:35:C2:73:6D eth1:31 (eth1) xx.205.31.12/22 ethernet up 01:26:35:C2:73:6D eth1:32 (eth1) xx.205.29.51/22 ethernet up 01:26:35:C2:73:6D eth1:33 (eth1) xx.205.31.169/22 ethernet up 01:26:35:C2:73:6D eth1:34 (eth1) xx.205.4.145/22 ethernet up 01:26:35:C2:73:6D eth1:35 (eth1) xx.205.28.55/22 ethernet up 01:26:35:C2:73:6D eth1:36 (eth1) xx.205.29.222/22 ethernet up 01:26:35:C2:73:6D eth1:37 (eth1) xx.205.31.24/22 ethernet up 01:26:35:C2:73:6D eth1:38 (eth1) xx.205.30.2/22 ethernet up 01:26:35:C2:73:6D eth1:39 (eth1) xx.205.5.164/22 ethernet up 01:26:35:C2:73:6D eth1:4 (eth1) xx.205.7.246/22 ethernet up 01:26:35:C2:73:6D eth1:40 (eth1) xx.205.29.49/22 ethernet up 01:26:35:C2:73:6D eth1:41 (eth1) xx.205.31.135/22 ethernet up 01:26:35:C2:73:6D eth1:42 (eth1) xx.205.29.217/22 ethernet up 01:26:35:C2:73:6D eth1:43 (eth1) xx.205.30.163/22 ethernet up 01:26:35:C2:73:6D eth1:44 (eth1) xx.205.31.187/22 ethernet up 01:26:35:C2:73:6D eth1:45 (eth1) xx.205.31.160/22 ethernet up 01:26:35:C2:73:6D eth1:46 (eth1) xx.205.4.116/22 ethernet up 01:26:35:C2:73:6D eth1:47 (eth1) xx.205.5.179/22 ethernet up 01:26:35:C2:73:6D eth1:48 (eth1) xx.205.30.209/22 ethernet up 01:26:35:C2:73:6D eth1:49 (eth1) xx.205.28.106/22 ethernet up 01:26:35:C2:73:6D eth1:5 (eth1) xx.205.31.168/22 ethernet up 01:26:35:C2:73:6D eth1:50 (eth1) xx.205.31.229/22 ethernet up 01:26:35:C2:73:6D eth1:52 (eth1) xx.205.30.220/22 ethernet up 01:26:35:C2:73:6D eth1:53 (eth1) xx.205.31.183/22 ethernet up 01:26:35:C2:73:6D eth1:55 (eth1) xx.205.29.202/22 ethernet up 01:26:35:C2:73:6D eth1:56 (eth1) xx.205.31.252/22 ethernet up 01:26:35:C2:73:6D eth1:57 (eth1) xx.205.30.201/22 ethernet up 01:26:35:C2:73:6D eth1:58 (eth1) xx.205.30.143/22 ethernet up 01:26:35:C2:73:6D eth1:59 (eth1) xx.205.30.36/22 ethernet up 01:26:35:C2:73:6D eth1:6 (eth1) xx.205.29.254/22 ethernet up 01:26:35:C2:73:6D eth1:60 (eth1) xx.205.31.69/22 ethernet up 01:26:35:C2:73:6D eth1:61 (eth1) xx.205.30.219/22 ethernet up 01:26:35:C2:73:6D eth1:62 (eth1) xx.205.31.208/22 ethernet up 01:26:35:C2:73:6D eth1:63 (eth1) xx.205.30.34/22 ethernet up 01:26:35:C2:73:6D eth1:64 (eth1) xx.119.218.90/22 ethernet up 01:26:35:C2:73:6D eth1:65 (eth1) xx.205.30.135/22 ethernet up 01:26:35:C2:73:6D eth1:66 (eth1) xx.205.30.21/22 ethernet up 01:26:35:C2:73:6D eth1:68 (eth1) xx.205.31.124/22 ethernet up 01:26:35:C2:73:6D eth1:69 (eth1) xx.119.218.174/22 ethernet up 01:26:35:C2:73:6D eth1:7 (eth1) xx.205.31.36/22 ethernet up 01:26:35:C2:73:6D eth1:70 (eth1) xx.205.7.91/22 ethernet up 01:26:35:C2:73:6D eth1:71 (eth1) xx.119.218.86/22 ethernet up 01:26:35:C2:73:6D eth1:72 (eth1) xx.205.30.33/22 ethernet up 01:26:35:C2:73:6D eth1:73 (eth1) xx.205.5.71/22 ethernet up 01:26:35:C2:73:6D eth1:74 (eth1) xx.205.28.8/22 ethernet up 01:26:35:C2:73:6D eth1:75 (eth1) xx.119.205.164/22 ethernet up 01:26:35:C2:73:6D eth1:76 (eth1) xx.205.30.27/22 ethernet up 01:26:35:C2:73:6D eth1:77 (eth1) xx.205.6.30/22 ethernet up 01:26:35:C2:73:6D eth1:78 (eth1) xx.205.5.88/22 ethernet up 01:26:35:C2:73:6D eth1:79 (eth1) xx.205.31.119/22 ethernet up 01:26:35:C2:73:6D eth1:8 (eth1) xx.205.5.248/22 ethernet up 01:26:35:C2:73:6D eth1:80 (eth1) xx.205.49.227/22 ethernet up 01:26:35:C2:73:6D eth1:81 (eth1) xx.205.29.47/22 ethernet up 01:26:35:C2:73:6D eth1:82 (eth1) xx.205.7.251/22 ethernet up 01:26:35:C2:73:6D eth1:83 (eth1) xx.205.31.202/22 ethernet up 01:26:35:C2:73:6D eth1:84 (eth1) xx.205.30.126/22 ethernet up 01:26:35:C2:73:6D eth1:85 (eth1) xx.205.4.199/22 ethernet up 01:26:35:C2:73:6D eth1:86 (eth1) xx.205.29.35/22 ethernet up 01:26:35:C2:73:6D eth1:87 (eth1) xx.205.29.93/22 ethernet up 01:26:35:C2:73:6D eth1:88 (eth1) xx.205.4.30/22 ethernet up 01:26:35:C2:73:6D eth1:89 (eth1) xx.205.47.27/22 ethernet up 01:26:35:C2:73:6D eth1:9 (eth1) xx.205.30.69/22 ethernet up 01:26:35:C2:73:6D eth1:90 (eth1) xx.205.31.126/22 ethernet up 01:26:35:C2:73:6D eth1:91 (eth1) xx.205.30.127/22 ethernet up 01:26:35:C2:73:6D eth1:92 (eth1) xx.205.30.17/22 ethernet up 01:26:35:C2:73:6D eth1:93 (eth1) xx.205.29.32/22 ethernet up 01:26:35:C2:73:6D eth1:94 (eth1) xx.205.30.180/22 ethernet up 01:26:35:C2:73:6D eth1:95 (eth1) xx.205.4.69/22 ethernet up 01:26:35:C2:73:6D eth1:96 (eth1) xx.205.29.203/22 ethernet up 01:26:35:C2:73:6D eth1:97 (eth1) xx.205.30.249/22 ethernet up 01:26:35:C2:73:6D eth1:98 (eth1) xx.205.29.54/22 ethernet up 01:26:35:C2:73:6D eth1:99 (eth1) xx.205.30.18/22 ethernet up 01:26:35:C2:73:6D ROUTES: NONE FOUND(!) route -n /proc/net/route: Permission denied INET (IPv4) not configured in this system.
cat /proc/net/route
cat: /proc/net/route: Permission denied ----- End forwarded message ----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- More Linux routing problems David Fifield (Feb 23)
- Re: More Linux routing problems PGNet (Feb 23)
- Re: More Linux routing problems David Fifield (Feb 23)
- Re: More Linux routing problems PGNet (Feb 23)
- Re: More Linux routing problems David Fifield (Feb 23)
- Re: More Linux routing problems PGNet (Feb 23)