Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 1998 00:56:10 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Don Lewis <Don.Lewis@tsc.tdk.com>, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/inetd inetd.c 
Message-ID:  <199811050756.AAA17272@mt.sri.com>
In-Reply-To: <10913.910249569@critter.freebsd.dk>
References:  <199811050559.VAA12623@salsa.gv.tsc.tdk.com> <10913.910249569@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp writes:
> >} 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.

That makes no sense given Don't analysis.  Getting a reset is *MUCH*
faster than making a full-fledged TCP connection, sending and receiving
(bogus) data, and then shutting down the connection.

Are you sure it's not your firewall setup that's causing it?  (I ask
since I got my original firewall stuff from you, and most of the rules
you had were 'deny' instead of 'reject' type rules.

> The other advantage is that it makes:
> 	sysctl -w net.inet.tcp.log_in_vain=1
> less noisy on same machines.

????


Nate

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?199811050756.AAA17272>