Home page logo
/

nmap-dev logo Nmap Development mailing list archives

bug: no route
From: Vasiliy Kulikov <segooon () gmail com>
Date: Sun, 8 May 2011 20:06:44 +0400

Hi,

When I try to scan 127.0.0.1 without any real network connection, I get
this error:

route_dst: Failed to obtain system routes: Premature EOF in /proc/net/route

/proc/net/route is _clear_.  If I add any dummy route, it runs OK.  If I
remove the last route, /proc/net/route still contains the header:

    Iface   Destination Gateway     Flags   RefCnt  Use Metric  Mask    MTU Window  IRTT  

So, addition and deletion of routes helps.  Tested on Linux 2.6.32
(Ubuntu) and Linux 2.6.38 (vanilla).

I wonder - is it a bug of nmap or the kernel?

Thanks,

-- 
Vasiliy
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
  • bug: no route Vasiliy Kulikov (May 08)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]