Subject: Re: FYI
From: Mark Brown (firstname.lastname@example.org)
Date: Thu Jul 06 2000 - 06:45:18 PDT
On Thu, Jul 06, 2000 at 09:38:08AM -0400, Christopher C. Chimelis wrote:
> On Thu, 6 Jul 2000, Mark Brown wrote:
> > It may be a size assumption when enumerating interfaces (IIRC to do with
> > ifr_addr in struct ifreq, but don't hold me to that).
> Hmmm...possibility, but it works when anyone except root runs it. Turns
> out that using the -P0 option makes it work for root as well. All other
> -P options cause the error again. Looks like the ping code (or the ping
> type may be invalid for the interfaces...???)....
That's just performing a connect() scan - it doesn't require any
monkeying around directly with the interfaces (which pinging does). If
you try one of the cleverer scans (eg, -sS) it should complain about not
finding interfaces even without -P0. The reason it works as a user is
because users don't have enough access to do anything that requires nmap
to form packets itself (like ping does).
-- Mark Brown mailto:email@example.com (Trying to avoid grumpiness) http://www.tardis.ed.ac.uk/~broonie/ EUFS http://www.eusa.ed.ac.uk/societies/filmsoc/
-- To UNSUBSCRIBE, email to firstname.lastname@example.org with a subject of "unsubscribe". Trouble? Contact email@example.com
This archive was generated by hypermail 2a22 : Tue Aug 01 2000 - 04:53:14 PDT