Nmap Announce mailing list archives

Re: Socket type not supported..


From: Lamont Granquist <lamontg () raven genome washington edu>
Date: Thu, 14 Jan 1999 14:50:53 -0800

On Thu, 14 Jan 1999, Hroi Sigurdsson wrote:
This occurs everytime when run as root:

[root@io hroi]# nmap -v localhost

well, don't run it against localhost for starters (unless you use -sT or
run as non-root).
 
Starting nmap V. 2.03 by Fyodor (fyodor () dhp com, www.insecure.org/nmap/)
pcap_open_live: socket: Socket type not supported
QUITTING!

i'm going to guess that nmap is passing the loopback device to
pcap_open_live and that SOCK_PACKET is (naturally) not supported on the
loopback device.  try scanning something other than localhost:

nmap -vF -sS -P0 www.microsoft.com

Only tested on linux 2.2.0-pre and nmap 2.03 and 2.04. Something missing
in the kernel perhaps? Or is it a bug in pcap/nmap?

if that doesn't work, then my guess would be that SOCK_PACKET wasn't
compiled into the kernel, but there doesn't seem to be an option to do
that in 2.0.36 that i can find (and i wouldn't expect one to have been
added in 2.2.0, but i haven't looked at the 2.2.0 kernel yet...)

-- 
Lamont Granquist                       lamontg () raven genome washington edu
Dept. of Molecular Biotechnology       (206)616-5735  fax: (206)685-7344
Box 352145 / University of Washington / Seattle, WA 98195
PGP pubkey: finger lamontg () raven genome washington edu | pgp -fka



Current thread: