PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : nmap findet interface nicht



Spoonful
29.09.04, 22:46
hallo,

habe seitdem ich von kernel 2.6.6 auf 2.6.8.1 upgedatet habe probleme mit nmap. ein "nmap -sP 192.168.0.0/24" ergibt zum beispiel


Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2004-09-29 22:35 CEST
WARNING: Could not determine what interface to route packets through to 192.168.0.0, changing ping scantype to ICMP ping only
WARNING: Could not determine what interface to route packets through to 192.168.0.1, changing ping scantype to ICMP ping only
WARNING: Could not determine what interface to route packets through to 192.168.0.2, changing ping scantype to ICMP ping only
[... usw.]
through to 192.168.0.140, changing ping scantype to ICMP ping only
WARNING: Could not determine what interface to route packets through to 192.168.0.141, changing ping scantype to ICMP ping only
pcap_open_live: ioctl: No such device
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 ordirectory, 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.


QUITTING!

eine SOCK_PACKET option finde ich nicht in meinem kernel und was das ioctl() device macht weiss ich auch nicht, aber das ganze funktioniert sonderbarerweise, wenn ich noch das interface und meine ip manuell eingebe(sprich: nmap -e eth0 -S 192.... -sP 192.168.0.0/24). außerdem geht es auch, wenn ich mich vorher mit adsl-start(d.h. pppd call dsl-provider) ins internet eingewählt habe, vielleicht benutzt er dann automatisch das ppp interface, hab aber keine ahnung ehrlich gesagt.

wenn jemand mein problem kennt und dafür eine lösung oder mir sagen kann, dass es an nmap(3.70)/kernel2.6.8.1 liegt, wäre ich sehr froh.

Danke in Voraus

Spoonful