🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1581

Re: Newbie question

#1581
From: Julien ÉLIE
Date: Wed, 22 Mar 2023 22:35
37 lines
2951 bytes
Hi Jesse,

>> Unfortunately, the response is no.  There's no native way of limiting
>> users' connections.
> 
> It's pretty simple to run nnrpd via other utilities that will do the limiting
> for you, though, most UNIX/Linux systems have at least two or three tools to
> accomplish more or less the same thing.
> 
> That said, it would be nice to have that ability directly in nnrpd.

Ah yes, exactly.  That's the reason why this was never implemented in 
INN.  It's not seen as a priority at all, and it's also not trivial to do.

Issue #23
"nnrpd currently has no way of limiting connections per IP address other 
than using the custom auth hooks.  In its daemon mode, it could in 
theory keep track of this and support throttling.  It's probably not 
worth trying to support this when invoked via inetd, since at that point 
one could just use xinetd and its built-in support for things like this.

When started from innd, this is a bit harder.  innd has some basic rate 
limiting stuff, but nothing for tracking number of simultaneous 
connections over time.  It may be fine to say that if you want to use 
this feature, you need to have nnrpd be invoked separately, not run from 
innd."


So the answer is to use something like "per_source = 5" in xinetd.conf 
and start nnrpd by xinetd.

-- 
Julien ÉLIE

« Nous autres communistes, nous avons une position claire : nous n'avons
   jamais changé, nous ne changerons jamais et nous sommes pour le
   changement. » (Georges Marchais)
Technical Details
Message-ID: <tvfvs0$240m$2@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvfr7u$1ua8$2@news.trigofacile.com> <evKSL.4136913$SIb3.775609@fx05.ams4> <tvft64$240m$1@news.trigofacile.com> <tvfv7v$1kh2$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <tvfvs0$240m$2@news.trigofacile.com>
Subject: Re: Newbie question
Date: Wed, 22 Mar 2023 23:35:44 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvfr7u$1ua8$2@news.trigofacile.com> <evKSL.4136913$SIb3.775609@fx05.ams4> <tvft64$240m$1@news.trigofacile.com> <tvfv7v$1kh2$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.admin.peering
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Mar 2023 22:35:44 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="69654"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0
Cancel-Lock: sha1:GnNnPjvL2x5D1F9nfu9KxQB9ABc= sha256:8NOPjQobPWoUZifVCMaMNdLgdwBSUGOty3OwM+ADlPM= sha1:DUp/WRHqGj0itnXPyAegY9WOZDU= sha256:TYqzATMa+UCgsvk2VxIU2Ww52W5fnjcRevvJWwAyG6U=
In-Reply-To: <tvfv7v$1kh2$1@nnrp.usenet.blueworldhosting.com>