🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1576

Re: Newbie question

#1576
From: Julien ÉLIE
Date: Wed, 22 Mar 2023 21:49
21 lines
2277 bytes
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).

-- 
Julien ÉLIE

« Ta remise sur pied lui a fait perdre la tête ! » (Astérix)
Technical Details
Message-ID: <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
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvf6hd$21vh$1@nnrp.usenet.blueworldhosting.com> <k9ISL.3083904$nwq3.1576765@fx13.ams4> <tvfr7u$1ua8$2@news.trigofacile.com> <evKSL.4136913$SIb3.775609@fx05.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <tvft64$240m$1@news.trigofacile.com>
Subject: Re: Newbie question
Date: Wed, 22 Mar 2023 22:49:55 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvf6hd$21vh$1@nnrp.usenet.blueworldhosting.com> <k9ISL.3083904$nwq3.1576765@fx13.ams4> <tvfr7u$1ua8$2@news.trigofacile.com> <evKSL.4136913$SIb3.775609@fx05.ams4>
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 21:49:56 -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:NG2UAlGgcmpuImoqysQSi5szBmQ= sha256:73osjM7+xJXEGAJuzaJQ0N1YNl9ex2cu2QahaI2+Vw0= sha1:96oFAktQitRCa0/RsYj8FEqArrw= sha256:cvw2J2CHkJP53d7kSX6fAk+LZf/tWNywJ4xrlPdl03Q=
In-Reply-To: <evKSL.4136913$SIb3.775609@fx05.ams4>