From owner-cvs-all Wed Nov 4 23:56:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01025 for cvs-all-outgoing; Wed, 4 Nov 1998 23:56:30 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA01020 for ; Wed, 4 Nov 1998 23:56:27 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id AAA26168; Thu, 5 Nov 1998 00:56:11 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id AAA17272; Thu, 5 Nov 1998 00:56:10 -0700 Date: Thu, 5 Nov 1998 00:56:10 -0700 Message-Id: <199811050756.AAA17272@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Poul-Henning Kamp Cc: Don Lewis , cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/inetd inetd.c In-Reply-To: <10913.910249569@critter.freebsd.dk> References: <199811050559.VAA12623@salsa.gv.tsc.tdk.com> <10913.910249569@critter.freebsd.dk> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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