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


When I try to scan 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?


Sent through the nmap-dev mailing list
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 ]