On Sun, Apr 30, 2006 at 07:44:38AM +0200, [EMAIL PROTECTED] wrote: > Well I seam to run too much scans so I get this error (btw: I just took > the us-embassy for fun ;)) ) > > godfather $ sudo nmap -P0 -sV -sS -vvv berlin.usembassy.gov > > Starting Nmap 3.95 ( http://www.insecure.org/nmap/ ) at 2006-04-30 07:40 CEST > Initiating SYN Stealth Scan against 212.243.221.223 [1670 ports] at 07:40 > pcap_open_live: /dev/bpf10: No such file or directory > There are several possible reasons for this, depending on your operating > system: > LINUX: If you are getting Socket type not supported, try modprobe > af_packet or recompile your kernel with SOCK_PACKET enabled. > *BSD: If you are getting device not configured, you need to recompile > your kernel with Berkeley Packet Filter support. If you are getting No > such file or directory, try creating the device (eg cd /dev; MAKEDEV > <device>; or use mknod). > SOLARIS: If you are trying to scan localhost and getting '/dev/lo0: No > such file or directory', complain to Sun. I don't think Solaris can > support advanced localhost scans. You can probably use "-P0 -sT > localhost" though. > > How can I add more bpf-Devices? > 0-9 seams to be a littlebit to less for me....
The bpf(4) man page suggests MAKEDEV; did that not work? > For localhost the message is another one (just for localhost): > > godfather $ sudo nmap -P0 -sV -sS -vvv localhost > > Starting Nmap 3.95 ( http://www.insecure.org/nmap/ ) at 2006-04-30 07:42 CEST > getinterfaces: Failed to open ethernet interface (bge0) > QUITTING! > godfather $ No idea why that would happen, but what does localhost resolve to? Looks like localhost either doesn't resolve to 127.0.0.1/::1 or your routing table is busted. Joachim