🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80599

Re: basic nntp connections question

#80599
From: John F. Morse
Date: Sat, 18 Apr 2009 16:45
56 lines
3103 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> Is it possible in INN (or nnrpd) to limit reader connections to one,
>> while still allowing multiple connections for incoming and transit?
>>
>> If this is a configurable option, where?
>
> No it's not.
>
> However, I suggest you to have a look at Fred Senault's
> Perl auth filter hook:
>
> http://news.lacave.net/inn/auth_rate.pl


Thanks, Julien. I have this bookmarked for later evaluation.

First, though, where would I put this script file, and what else would
need to be edited to hook into it?

I looked over the site but see no instructions, beyond:

Un autre script d'authentification basé plus simplement sur un fichier
password plat classique, mais qui implémente une limite au nombre de
connexions simultanées par client (pour être exact, par addresse IP).

Which translates as: "Another script authentication based simply on a
classic dish password file, but implements a limit on the number of
simultaneous connections per user (to be exact, by IP address)."

I don't see anything in the script mentioning "IP," but I believe he is
referring to a textfile of users:

my $FILE = '/etc/news/users';

I would prefer the limitation to be for all nnrpd connections. I
certainly don't want to maintain an additional file for user names.

This idea is not for regulation for the purpose of limiting speed nor
volume, but simply to make the news.notice log report more readable
(orderly). I don't think more than one reader connection will speed up
anything.

Another wild idea might be to limit the connections in inn.conf for the
reader-only computer, while still allowing many connections for a
transit computer.

However I suspect doing this would likely create a streaming bottleneck
between the reader and transit computers.

Thoughts?


-- 
John
Technical Details
Message-ID: <gsd034$ot3$1@optima7.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <gs95ub$165$1@news.trigofacile.com> <BL2dnenpdLDHC3XUnZ2dnUVZ_jmdnZ2d@giganews.com> <gsada7$5g8$1@news.trigofacile.com> <gsadod$40f$3@optima7.xanadu-bbs.net> <gsahl9$9l9$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gsd034$ot3$1@optima7.xanadu-bbs.net>
Subject: Re: basic nntp connections question
Date: Sat, 18 Apr 2009 11:45:23 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <gs95ub$165$1@news.trigofacile.com> <BL2dnenpdLDHC3XUnZ2dnUVZ_jmdnZ2d@giganews.com> <gsada7$5g8$1@news.trigofacile.com> <gsadod$40f$3@optima7.xanadu-bbs.net> <gsahl9$9l9$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 56
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: optima7.xanadu-bbs.net 1240073124 25507 192.168.89.210 (18 Apr 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sat, 18 Apr 2009 16:45:24 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)
In-Reply-To: <gsahl9$9l9$1@news.trigofacile.com>