🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #133959

Re: How many connetions are possible with X News

#133959
From: Murray Peterson
Date: Mon, 22 Sep 2003 17:21
62 lines
3825 bytes
"Colin Wilson" <colin@wilsonc.demon.co.uk> wrote in 
news:1064250059.51576.0@ersa.uk.clara.net:

> Murray Peterson wrote:
> 
>> > I can't imagine why they put this limit in GNKSA 2 at all.  It
>> > should be up to the server to restrict connections if it needs to -
>> > not the client.
>> 
>> It makes sense to me -- there is a non-trivial cost involved in
>> restricting connections at the server side.
> 
> I appreciate what you're saying, but:
> 
> 1.  The overhead required in accepting the connection, checking the IP
> and booting it is trivial compared with compared with accepting a
> connection, not checking the IP, and letting it download thousands of
> porn jpgs.

The two restrictions aren't mutually exclusive.  Clients that don't attempt 
to exceed the server-side restrictions don't invoke the extra load of 
checking and booting connections.  e.g. If a server restricts clients to 4 
connections, then clients that restrict themselves to that number will 
cause no extra load.  HOwever, a client that keeps trying to open 
connections beyond the server limit are "bad".

> 2.  And why '4' anyway?  I can envisage some sites where '5' might be
> more user friendly.  Maybe for some groups you'd prefer only one
> connection per client IP.

No idea -- talk to the GNKSA group.

> 3.  If you want to simultaneously download loads of articles there's
> nothing to stop you saying 'bugger GNKSA' and write your own message
> downloader.

You are assuming client-side-only restrictions.  The expected setup would 
be restrictions applied on both sides.

> 4.  It might be best if you restricted the number of clients from one
> IP that could simultaneously download full articles (with 'ARTICLE'),
> while allowing the users to do other things (like POST, or XOVER)
> 
> All this says to me 'it should be the server that sets the
> restriction'.  You could solve the issue if the spec was changed so
> that servers announced how many simultaneous sessions per IP they
> supported.  eg. in the startup message.  For instance if it said...
> 
>   ACME News Server 1.2.3.4.  Max 3 connections per IP.  Posting allowed.
> 
> ... I'd support a GNKSA that said 'clients MUST abide by the Max
> Connections statement in the startup message'.

That makes perfect sense, but the existing NNTP protocol doesn't currently 
support this facility.  Until the news server software can standardize on 
something, we are stuck with the current mechanism.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID: <Xns93FE7396D65Efarkle@24.71.223.159>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail
References: <Xns93FA7EE31CF12BMzxBMzxcom@38.144.126.67> <1mj0urkusjtsa.dlg@lemming_militia.com> <93FBE2F873CE7AF39@194.168.222.40> <1064231566.23736.0@damia.uk.clara.net> <Xns93FE697A5EC7Cfarkle@24.71.223.159> <1064250059.51576.0@ersa.uk.clara.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns93FE7396D65Efarkle@24.71.223.159>
Subject: Re: How many connetions are possible with X News
Date: Mon, 22 Sep 2003 17:21:35 GMT
From: Murray Peterson <mwp@home.com.invalid>
References: <Xns93FA7EE31CF12BMzxBMzxcom@38.144.126.67> <1mj0urkusjtsa.dlg@lemming_militia.com> <93FBE2F873CE7AF39@194.168.222.40> <1064231566.23736.0@damia.uk.clara.net> <Xns93FE697A5EC7Cfarkle@24.71.223.159> <1064250059.51576.0@ersa.uk.clara.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail
X-Trace-PostClient-IP: 68.145.203.126
Newsgroups: news.software.readers
Organization: None
User-Agent: Xnews/06.02.16
Lines: 61
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse@shaw.ca
X-Trace: pd7tw3no 1064251295 24.71.223.147 (Mon, 22 Sep 2003 11:21:35 MDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 11:21:35 MDT