🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53170

Re: maxconnections question in inn.conf

#53170
From: Russ Allbery
Date: Mon, 09 Jul 2001 02:40
27 lines
1952 bytes
Steffie <steffie@wodan.balpol.tudelft.nl> writes:

> A question about the maxconnection command in inn.conf

> If i set it for example to 1 than there can still a lot of people post
> and read to my newsserver but programs as suck or feed are coming into
> deep trouble connecting.

> I guess it is because readers are handed off to the nnrpd by innd

Right.

> now my question is, how can i limit the number of people actually
> connecting and reading and posting to nnrpd ?

The best way is to not have innd handle incoming reader connections.  Move
innd to a different port (433 is preferred) and have your peers feed you
on that port instead.  Then set up nnrpd to run on port 119 via some
mechanism that lets you limit the maximum number of connections, such as
xinetd or tcpserver.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl66d2j04z.fsf@windlord.stanford.edu>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <slrn9khafj.kuj.steffie@wodan.balpol.tudelft.nl>

Show Full Headers
Complete Article Headers
Message-ID: <yl66d2j04z.fsf@windlord.stanford.edu>
Subject: Re: maxconnections question in inn.conf
Date: Mon, 09 Jul 2001 02:40:12 +0000
From: Russ Allbery <rra@stanford.edu>
References: <slrn9khafj.kuj.steffie@wodan.balpol.tudelft.nl>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 26
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 994646412 1658 171.64.13.23 (9 Jul 2001 02:40:12 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)