Nmap Announce mailing list archives
Re: Socket type not supported..
From: Ronald Huizer <ronald.huizer () wxs nl>
Date: Fri, 15 Jan 1999 15:29:45 +0100
Lamont Granquist wrote:
On Thu, 14 Jan 1999, Hroi Sigurdsson wrote:This occurs everytime when run as root: [root@io hroi]# nmap -v localhostwell, 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.comOnly 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 / Universi[root@localhost /root]# nmap -v localhost PGP pubkey: finger lamontg () raven genome washington edu | pgp -fka
I do not know what the problem is, but nmap seems to be able to scan my localhost (yes, as root). Probabely something in the kernel then. [root@localhost /root]# nmap -v localhost Starting nmap V. 2.03 by Fyodor (fyodor () dhp com, www.insecure.org/nmap/) No scantype specified, assuming vanilla tcp connect() scan. Use -sP if you really don't want to portscan (and just want to see what hosts are up). Host localhost (127.0.0.1) appears to be up ... good. Initiating TCP connect() scan against localhost (127.0.0.1) Adding TCP port 515 (state Open). The TCP connect scan took 1 seconds to scan 1034 ports. Interesting ports on localhost (127.0.0.1): Port State Protocol Service 515 open tcp printer Nmap run completed -- 1 IP address (1 host up) scanned in 1 second Ronald Huizer - Delft University of Technology - tw374044 () student twi tudelft nl
Current thread:
- Re: Socket type not supported.., (continued)
- Re: Socket type not supported.. Lamont Granquist (Jan 14)
- Re: Socket type not supported.. Roeland Th Jansen (Jan 14)
- Re: Socket type not supported.. Lamont Granquist (Jan 15)
- Re: Socket type not supported.. Hroi Sigurdsson (Jan 15)
- Re: Socket type not supported.. Juan Cespedes (Jan 18)
- Re: Socket type not supported.. Gigi Sullivan (Jan 18)
- Re: Socket type not supported.. Juan Cespedes (Jan 19)
- Re: Socket type not supported.. Gigi Sullivan (Jan 19)
- Re: Socket type not supported.. Roeland Th Jansen (Jan 14)
- Re: Socket type not supported.. Lamont Granquist (Jan 14)
- Re: Socket type not supported.. Kevin Steves (Jan 18)
- Re: Socket type not supported.. Taral (Jan 18)