From owner-cvs-all Wed Nov 4 23:08:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA24888 for cvs-all-outgoing; Wed, 4 Nov 1998 23:08:10 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA24883; Wed, 4 Nov 1998 23:08:08 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id IAA10915; Thu, 5 Nov 1998 08:06:09 +0100 (CET) To: Don Lewis cc: "Andrey A. Chernov" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/inetd inetd.c In-reply-to: Your message of "Wed, 04 Nov 1998 21:59:24 PST." <199811050559.VAA12623@salsa.gv.tsc.tdk.com> Date: Thu, 05 Nov 1998 08:06:09 +0100 Message-ID: <10913.910249569@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199811050559.VAA12623@salsa.gv.tsc.tdk.com>, Don Lewis writes: >On Nov 4, 8:58pm, Poul-Henning Kamp wrote: >} Subject: Re: cvs commit: src/usr.sbin/inetd inetd.c >} In message <19981104225055.A17178@nagual.pp.ru>, "Andrey A. Chernov" writes: >} >On Wed, Nov 04, 1998 at 11:39:47AM -0800, Poul-Henning Kamp wrote: >} >> phk 1998/11/04 11:39:47 PST >} > >} >> It will return "ERROR:HIDDEN-USER" for all requests. >} > >} >Just wonder, why? >} >} Makes sendmail connect a bit faster... > >It shouldn't. If nothing is listening on this port, the initial SYN packet >should get a TCP RST as a response, and the client's connect() call should >then return ECONNREFUSED. If inetd is listening, then the client will have >to wait for the initial three-way handshake, the data to be transferred, and >part of the connection teardown. Well, it is (barely) measurably faster on the two busy mailservers I run. The other advantage is that it makes: sysctl -w net.inet.tcp.log_in_vain=1 less noisy on same machines. YMMV -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message