From owner-freebsd-stable Fri Jun 30 7:48:45 2000 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 2A8CD37BCB6 for ; Fri, 30 Jun 2000 07:48:40 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 30 Jun 2000 15:48:32 +0100 (BST) Date: Fri, 30 Jun 2000 15:48:32 +0100 From: David Malone To: Cy Schubert - ITSD Open Systems Group Cc: tolyar@mx.ru, stable@FreeBSD.ORG Subject: Re: Some troubles with pident on 4.0-STABLE Message-ID: <20000630154832.A46573@walton.maths.tcd.ie> References: <200006301316.e5UDGqe07295@cwsys.cwsent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <200006301316.e5UDGqe07295@cwsys.cwsent.com>; from Cy.Schubert@uumail.gov.bc.ca on Fri, Jun 30, 2000 at 06:16:16AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 30, 2000 at 06:16:16AM -0700, Cy Schubert - ITSD Open Systems Group wrote: > Use the auth service built into 4.0's inetd: > > auth stream tcp wait root internal auth -d foobar > -rgo UNIX This was broken (last time I checked) if the ident query was spread over two packets. Unfortunately common programs like tcpd do split the request over two packtes, so it's not such a good idea to use it. See http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16086 - the patch I've included there, based on Hajimu UMEMOTO patch, seems to work OK, but it might be a good idea to deactivate the itimer once you've finished reading. Maybe someone should take the PR from des, who is no longer inetd's maintainer and give it to green who wrote the inetd's ident code? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message