Hi,
I hope it's OK for me to report a couple of end-user problems with NMAP.
I am using Redhat 7.1 on an Intel processor.
My first problem was when I downloaded the source for nmap-2.53. When I
compiled it with a 'make' (after a ./configure) I got the error message:
tcpip.h:358: conflicting types for 'inet_aton'
/usr/include/arpa/inet.h:74: previous declaration of 'inet_aton'
make: *** [nmap.o] Error 1
As I'm a bit of a dullard with code I decided to take the easy way out and
install the RPM. So I used nmap-2.53-1.i386.rpm (and then installed
nmap-frontend-0.2.53-1.i386.rpm)
This installed fine.
However, when I do a 'nmap x.x.x.x' as root I get the following error:
Starting nmap V. 2.53 by fyodor_at_insecure.org ( www.insecure.org/nmap/ )
pcap_open_live: unknown physical layer type 0x320
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.
QUITTING!
When I do a 'modprobe af_packet' I get:
modprobe: Can't locate module af_packet
I'm not really sure how to enable SOCK_PACKET in my kernel. You see I
haven't changed the kernel since I installed the whole distribution, and I
would have thought it would work OK with that.
Could the physical layer type be a problem because it's a token ring
network I am using the machine on? I didn't realise that NMAP worked at
that low level?
Anyway, any thoughts on fixing this would be appreciated.
Thanks,
Joe Dauncey
Email: toothbrushhead_at_yahoo.com
PGP Key ID: 0xEAA034D4
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help_at_insecure.org . List run by ezmlm-idx (www.ezmlm.org).
Received on Oct 17 2001