🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26641

Re: INN 1.7.2 & long NNRP startup delays

#26641
From: Edward S. Marshall
Date: Wed, 04 Mar 1998 00:00
44 lines
2842 bytes
In article <6di9d3$1a2g$2@node17.frontiernet.net>,
	dsf@frontiernet.net (Dan Foster) writes:
> In article <6di7pn$qic$1@flood.xnet.com>,
> Edward S. Marshall <emarshal@xnet.com> wrote:
>>
>>Just to throw one more into the mix...inetd is traditionally very bad for
>>this kind of thing, because of the fact that it can croak when it gets
>>pummelled with too many connections.
> 
> What do you mean by 'croak'? Usually if one gets too many connections, inetd
> will refuse new connections - that can be adjusted by adding a parameter
> specifying max number of connects in some time period in inetd.conf... like
> 45 connects/60 seconds for telnet, upping to 300/60 or something else depending
> on local needs.

I'm referring to the usual implementation of inetd which will shut down a
service if it gets hit too much within a certain time frame, taking the whole
service offline for a few minutes. Dan's tcpserver doesn't suffer from this,
and instead of rejecting connections when the limit is reached, it defers them
until a slot is free, and then handles the request (with a configurable
backlog). Even under this system, you'll eventually hit a wall, but at least
you won't get connection refused errors; just a slight delay during connection
until a slot frees up for your request.

> I personally like going the inetd route because that means even if INN dies,
> people can still read/post news. It's saved my bacon on more than one
> occasion ;-)

Having a separated system is just fine; that's actually what I was advocating.
The problem I have with inetd is that it's DoS prevention code actually
produces a DoS of it's own. I'd rather have the service out there to be beaten
on than have someone be able to completely offline it with a few rapid
connections.

All IMHO, of course. YMMV. :-)

-- 
-------------------.   emarshal at xnet.com   .--------------------------------
Edward S. Marshall  `------------------------'   http://www.xnet.com/~emarshal/

      Spammers: Please email my blacklisting service at "spam@logic.net".

Technical Details
Message-ID: <6dk41l$d4j$1@flood.xnet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <34EDA43B.41C67EA6@ka.net> <6cu2n3$pip$1@kold.kiva.net> <6di7pn$qic$1@flood.xnet.com> <6di9d3$1a2g$2@node17.frontiernet.net>

Show Full Headers
Complete Article Headers
Message-ID: <6dk41l$d4j$1@flood.xnet.com>
Subject: Re: INN 1.7.2 & long NNRP startup delays
Date: Wed, 04 Mar 1998 00:00:00 +0000
From: emarshal@xnet.com (Edward S. Marshall)
References: <34EDA43B.41C67EA6@ka.net> <6cu2n3$pip$1@kold.kiva.net> <6di7pn$qic$1@flood.xnet.com> <6di9d3$1a2g$2@node17.frontiernet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 330810966
Content-Type: text/plain; charset=us-ascii
Organization: XNet - The Midwest's Leading Network Service Provider - (630) 983-6064
Mime-Version: 1.0
Newsgroups: news.software.nntp