From owner-freebsd-net Wed Jan 10 8:41:47 2001 Delivered-To: freebsd-net@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id CBA6A37B402 for ; Wed, 10 Jan 2001 08:41:28 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 10 Jan 2001 16:41:27 +0000 (GMT) To: Garrett Wollman Cc: freebsd-net@FreeBSD.ORG Subject: Re: PR 21998 - outgoing ident. In-reply-to: Your message of "Wed, 10 Jan 2001 11:19:18 EST." <200101101619.LAA34225@khavrinen.lcs.mit.edu> X-Request-Do: Date: Wed, 10 Jan 2001 16:41:27 +0000 From: David Malone Message-ID: <200101101641.aa18613@salmon.maths.tcd.ie> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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