πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1582

Re: Newbie question

#1582
From: Jesse Rehmer
Date: Wed, 22 Mar 2023 22:25
25 lines
2376 bytes
On Mar 22, 2023 at 4:49:55 PM CDT, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>> Another question, is it possible to limit the maximum number of connections
>> per authenticated user? I know this is possible for peers, but can this also
>> be set up for authenticated users? Maybe a setting in readers.conf or nnrpd
>> that I'm overlooking?
> 
> Unfortunately, the response is no.  There's no native way of limiting
> users' connections.
> You may want to write a custom authentication hook (perl_auth or
> python_auth in readers.conf) that would do the job by accounting how
> many connections are open by a given user, and deny access if it exceeds
> the limit.  I am not aware of existing scripts to do that :-(
> 
> It could be worthwhile having though, as you're not the first one to ask
> (but nobody wrote or shared what he came up with).

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.
Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <tvfv7v$1kh2$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: Newbie question
Date: Wed, 22 Mar 2023 22:25:03 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
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>
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: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Mar 2023 22:25:03 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="53794"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:3Sc3Mv4wpBH9z5k3O6TY2nxf338= sha256:uSXtC1gQeyUfWAE/IYhF6t1L56TDkGds1X8QeKJIf8M= sha1:J5af5mKGe72V/hNsM4WLoJKTgko= sha256:TxBTNuJpxdjTq8XnAopDIGfKpO1lA1BPxfKvYeJ/7M4=
X-Usenapp: v1.26.3/d - Full License