🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67040

Re: GNKSA, server limits and commercial servers

#67040
From: Russ Allbery
Date: Sun, 02 Nov 2003 05:26
46 lines
3941 bytes
In news.software.nntp, J B Moreno <planB@newsreaders.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> You don't necessarily return that.  Instead, authentication starts
>> failing because of too many simultaneous connections.  That limit could
>> be individually configured for different users, and for the server to
>> give that information to the client would require an additional
>> callback into the authentication system to get that limit.

> Why would a callback into the authentication be a problem?  A lousy
> implementation might make the call once per usage, but ideally this call
> would only be made once when the server is configured and cached, but
> either way it shouldn't be a resource hog.

It's just more complexity and it's not clear to me that the complexity is
worth the gain.

>> It may also be more complicated than a simple "X at the same time"
>> rule.

> How so?  The question is what does the server allow / consider abuse?
> If there are other conditions, so that the number of connections it
> allows in typical use never reaches X, that's not a problem.

Well, consider, for example, this:

   -H count, -T count, -X seconds
       These flags control the number of connections per minute that are
       allowed.  This code is meant to protect your server from newsreader
       clients that make too many connections per minute (and therefore
       these flags are probably only useful when innd is spawning nnrpd).
       You probably should not use these options unless you're having
       problems.  The table used for this check is fixed at 128 entries
       and is used as a ring; the size was chosen to make calculating the
       index easy and to be fairly sure that it won't run out of space.
       In practice, it is unlikely that even half the table will be used
       at any given moment.

How would you represent that in this sort of query?  (Note that "we
wouldn't" may well be a perfectly legitimate answer.)

-- 
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: <87llqzjq8m.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.readers.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <1g3ldg4.ppqrvaehyip5N%planB@newsreaders.com> <bnp4bl$qme$01$1@news.t-online.com> <1g3li90.bykcoj1w6ne6eN%planB@newsreaders.com> <bnpvvf$63d$2@puck.litech.org> <slrnbq28v4.1rkq.andrew+nonews@trinity.supernews.net> <bnrg6k$4c9$1@puck.litech.org> <slrnbq2joq.1rkq.andrew+nonews@trinity.supernews.net> <Xns9424CCDC5F75Cgrahamdrabblelineone@ID-77355.user.dfncis.de> <87vfq6fkym.fsf@windlord.stanford.edu> <1g3rrlz.1uw7t6wtdepidN%planB@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <87llqzjq8m.fsf@windlord.stanford.edu>
Subject: Re: GNKSA, server limits and commercial servers
Date: Sat, 01 Nov 2003 21:26:01 -0800
From: Russ Allbery <rra@stanford.edu>
References: <1g3ldg4.ppqrvaehyip5N%planB@newsreaders.com> <bnp4bl$qme$01$1@news.t-online.com> <1g3li90.bykcoj1w6ne6eN%planB@newsreaders.com> <bnpvvf$63d$2@puck.litech.org> <slrnbq28v4.1rkq.andrew+nonews@trinity.supernews.net> <bnrg6k$4c9$1@puck.litech.org> <slrnbq2joq.1rkq.andrew+nonews@trinity.supernews.net> <Xns9424CCDC5F75Cgrahamdrabblelineone@ID-77355.user.dfncis.de> <87vfq6fkym.fsf@windlord.stanford.edu> <1g3rrlz.1uw7t6wtdepidN%planB@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.readers,news.software.nntp
Organization: The Eyrie
Lines: 46
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1067750761 20915 171.64.19.147 (2 Nov 2003 05:26:01
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:XIzlDVzmuZ2oTSI99yRL+wyr6pc=