[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: nmap/sparc64
- From: "dreamwvr_(_at_)_dreamwvr_(_dot_)_com" <dreamwvr_(_at_)_dreamwvr_(_dot_)_com>
- Date: Sun, 14 Mar 2004 17:31:56 -0700
On Sun, Mar 14, 2004 at 07:20:02PM +0000, Anil Madhavapeddy wrote:
> On Sun, Mar 14, 2004 at 12:07:57PM -0700, Peter Valchev wrote:
> > I forgot to mention that this whole codepath is only entered as root,
> > which I do not immediately see the reason for. I suspect it'd be best
> > to take this to the nmap lists from here...
> agree with your analysis (is this code unreadable or what? crazy ifdefs)
> i assume it needs to be root to open the raw sockets needed to capture
> what it needs.
bang on. Although raw packets enjoy direct access to the
IP packet and hdr.. They req root access to do so. I think
it is a lot more flexible since you are working uncooked
per se. Downside AFAIK is no notion of ports, or such a
thing as raw (tcp|udp) and much more challenging ICMP
setup. Well that is my understanding anyhow.
/* Security is a work in progress - dreamwvr */
# 48 69 65 72 6F 70 68 61 6E 74 32
# Note: To begin Journey type man afterboot,man help,man hier[.]
# 66 6F 72 20 48 69 72 65 0000 0001
// "Who's Afraid of Schrodinger's Cat?" /var/(.)?mail/me \? ;-]