Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2001 16:41:27 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: PR 21998 - outgoing ident. 
Message-ID:   <200101101641.aa18613@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Wed, 10 Jan 2001 11:19:18 EST." <200101101619.LAA34225@khavrinen.lcs.mit.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > I've read through and tested the patch, and is seems like a reasonable
> > idea.  Basically, it adds a flag to sockets which have been created
> > via an accept() and then adds a new getcred_outgoing sysctl which
> > works just like getcred but returns EPERM it is not a outgoing
> > socket.

> I think this is the wrong way around.  There is enough information in
> the PCB dump for identd to determine whether the socket was active- or
> passive-open; identd should do the work itself.

I presume you mean that getcred_outgoing should do the work itself
rather than having identd grovel around in the kernel itself? Can
you point me at the field(s) in inpcb I should be looking at?

	David.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200101101641.aa18613>