Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 1998 08:06:09 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Don Lewis <Don.Lewis@tsc.tdk.com>
Cc:        "Andrey A. Chernov" <ache@nagual.pp.ru>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/inetd inetd.c 
Message-ID:  <10913.910249569@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 04 Nov 1998 21:59:24 PST." <199811050559.VAA12623@salsa.gv.tsc.tdk.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



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