Nmap Development mailing list archives

Re: Problem while running nmap as root


From: David Fifield <david () bamsoftware com>
Date: Tue, 17 Aug 2010 11:17:42 -0600

On Tue, Aug 17, 2010 at 06:18:52AM -0400, Colin Beckingham wrote:
Looks like the fault was in my custom kernel.

I installed Opensuse 11.2 and nmap 5.00 on the default 2.6.31.5 kernel  
on my Toshiba Satellite 1110 and nmap/zenmap works fine both as user and  
root. Main workstation works fine too if I boot into the default kernel.

So the nmap error output is correct in pointing me at a potential  
problem in the kernel. However searching the kernel config for  
SOCK_PACKET comes up empty, and SOCKET is also not helpful. However  
"PACKET" seemed to find a missing section. I checked this and lo and  
behold it generated an af_packet and now nmap works under root.

Looks like I picked up a bad .config at some point.

Great, I'm glad it worked out. I changed the error message so it says
"PACKET" instead of "SOCK_PACKET".

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


Current thread: