RE: nnamp question




nmap -e fx0 -v -sP 192.168.128.0/23

-> is a "Ping Scan however, and this does not require root privilages...

-sP (Ping Scan)
-v (Increase verbosity level)
-e <iface>: Use specified interface

Error:
getinterfaces: Failed to open ethernet interface (el0) QUITTING!

Which seems to indicate that nmap is being told to look for an interface
that can't/doesn't exist...
el is an old 3Com ISA card

You mentioned using ethernet device "fx0" - did you mean "fxp0", the
Intel Intel EtherExpress Pro/100 style cards?
...or you may have already discovered this ;)

It might be worth checking exactly what interfaces and hardware you do
have on this system...
...and you could also try running the command without specifying the
interface directly and rely on the routing table to sort it out. Nmap
does not require the "-e" flag to run a "Ping Scan".

nmap -v -sP 192.168.128.0/23

Hope this helps!

Kind Regards,
Tim Arneaud



-----Original Message-----
From: owner-freebsd-security@xxxxxxxxxxx
[mailto:owner-freebsd-security@xxxxxxxxxxx] On Behalf Of Pietro Cerutti
Sent: Sunday, 5 February 2006 9:42 PM
To: gahn
Cc: freebsd security
Subject: Re: nnamp question

On 2/4/06, gahn <ipfreak@xxxxxxxxx> wrote:
Hi:

Hi,

nmap -e fx0 -v -sP 192.168.128.0/23

Starting Nmap 3.95 ( http://www.insecure.org/nmap/ ) at 2006-02-04
14:04 CST
getinterfaces: Failed to open ethernet interface (el0) QUITTING!

What did I do wrong?

Are you running nmap as root? If not, you should. Only root can put
interfaces in promiscuous mode.


Thanks

Hope this helps,
regards

--
Pietro Cerutti
<pietro.cerutti@xxxxxxxxx>

Non lasciar calpestare i TUOI diritti!
Don't let 'em take YOUR rights!

NO al Trusted Computing!
Say NO to Trusted Computing!

www.no1984.org
www.againsttcpa.com
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to
"freebsd-security-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: nnamp question
    ... getinterfaces: Failed to open ethernet interface (em0) ... It has 4 interfacres but nmap just sticks with em0. ... Are you running nmap as root? ...
    (FreeBSD-Security)
  • Re: diskless/pxe booting problem...
    ... root "/" for this boot is really at /tmp ... The soekris is able to pxe boot off of the server, ... > space, I didn't include the entire configuration files, only what I ... > DHCP timeout for interface sis1 ...
    (freebsd-questions)
  • A few newbie security questions
    ... of security-related reading material (In particular, "Hacking Linux ... the log files as rw for root, and the group as the new log-checking ... Using nmap, I pinged my own computer using 127.0.0.1 (I'm still a bit wet ... view on the LAN, or even someone outside the lan but on the internet? ...
    (comp.os.linux.security)
  • Re: Pro-active Security Software?
    ... And when you already have root access to the machine, ... > all the info nmap could give you without running nmap. ... would dramatically improve my overall security. ... Antivirus software is going to be in the works, ...
    (comp.os.linux.security)
  • Re: Starting an application as root
    ... root pasword to continue, others such as the gui interface for nmap ... but they aren't included in Fedora as running gui apps as root opens ...
    (Fedora)