🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
46 messages
46 total messages Started by J.B. Moreno Wed, 29 Oct 2003 18:31
GNKSA, server limits and commercial servers
#66992
Author: J.B. Moreno
Date: Wed, 29 Oct 2003 18:31
57 lines
3589 bytes
The GNKSA has a requirement for not abusing the news server: 

==
19) Be kind to servers, leave room for others

Reading or posting software MUST NOT put excessive demands on news
servers unnecessarily.  The sofware MUST limit itself to 4 simultaneous
connections to a given server.  Spurious connects and unnecessary
traffic MUST be avoided; the software MUST use as few as possible
connections, reusing existing connections whenever possible.

Rationale: News systems are big, resources are scarce, and every
resource claimed is provided at the expense of other users.
==

This certainly made sense when everyone was using their local ISP as
their news server, which had no limits of it's own, but today's
commercial servers *have* their own limits.  This wouldn't be a problem,
you can't do more than max out your connection -- except that the
commercial servers that have their own connection limits *also* cap the
speed of their connections.  Which means that in this case it's the user
that's being left out in the cold.

So, the question is how to reconcile giving the user what both he and
his NSP want, without opening others up to abuse. Obviously the *best*
answer would be an extension to NNTP so that the NSP declares it's
limits, but that's beyond an individual authors control.

A news reader author recently said that he was going to raise the number
of allowed connections if the server requires authentication, and I
pointed out that many small, semi-private, servers require
authentication and that they are generally /less/ able to handle unusual
loads.

The first thing that came to my mind was an exception list -- after all,
there aren't really all *that* many NSP, but I didn't think that was
really a good answer for a number of reasons, particularly the problem
of maintaining it and keeping it at a central location. 

But this lead to the idea of creating the exception list on the fly --
have some way to allow the user to say that the server has it's own
limits and then test that (by trying to exceed them): if the limits are
as the user says, then use the server imposed limits, if they aren't
then use a maximum of 4.

This obviously requires more work on the part of the newsreader author,
but was the best compromise I could think of.

But this presents another problem -- such a program would technically be
in violation of the GNKSA, as it has a hard limit of 4 connections.

It seems to me that the GNKSA could be revised on this point, what does
everyone else think?

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#66997
Author: Dirk Nimmich
Date: Wed, 29 Oct 2003 19:27
25 lines
2236 bytes
J.B. Moreno wrote:
> The GNKSA has a requirement for not abusing the news server: 
> 
> ==
> 19) Be kind to servers, leave room for others
> 
> Reading or posting software MUST NOT put excessive demands on news
> servers unnecessarily.  The sofware MUST limit itself to 4 simultaneous
> connections to a given server.  Spurious connects and unnecessary
> traffic MUST be avoided; the software MUST use as few as possible
> connections, reusing existing connections whenever possible.
> 
> Rationale: News systems are big, resources are scarce, and every
> resource claimed is provided at the expense of other users.
> ==
> 
> This certainly made sense when everyone was using their local ISP as
> their news server, which had no limits of it's own, but today's
> commercial servers *have* their own limits.

It would be useful to know why they have limits if having multiple
connections isn't a problem. If newsreaders restricted themselves to
a sane amount of connections, would NSPs have to set a limit? (Or:
What is cause, what is effect?)
Re: GNKSA, server limits and commercial servers
#66998
Author: Zak
Date: Wed, 29 Oct 2003 19:54
38 lines
2873 bytes
Dirk Nimmich wrote:

> It would be useful to know why they have limits if having multiple
> connections isn't a problem. If newsreaders restricted themselves to
> a sane amount of connections, would NSPs have to set a limit? (Or:
> What is cause, what is effect?)

I guess it is a prisoner's dilemma:

- Most systems perform best with a rather limited number of connections
- Capacity is equally share between the connections established
- Users alsways try to get more performance

Now, if the system performs best at 50 connections, and there are 100 
users on it, every user could be happy with a single connection. That 
would be optimal for everyone.

Now someone decides: I can have half the server for myself is I open 99 
connections. 99 for me, the others have 1 each, also 99. So the server 
is at 198 connections and performance overall is down - while the 
cheater has higher performance, the others are below half what they had 
at first.

Now, these users catch up. Say 9 more of them use 99 connectionns too. 
That means the server handles not 100, but 1080 connections. Newcomers 
to the system will see less than 10% of the performance they otherwise 
would have. And the performance gained by the cheaters is not only 
stolen from the other users, but the way of stealing further reduces 
performance a lot.

Also, I do not know why you would need more than 4 connections. 1 for a 
batch download, one for interactive browsing, one for background 
maintenance like keeping unread article counts updated.. leaves you with 
one spare and is more sophisticated than lots of readers are.


Thomas
Re: GNKSA, server limits and commercial servers
#67000
Author: Some Guy
Date: Wed, 29 Oct 2003 21:42
67 lines
4436 bytes
Why is this an issue that needs to be 'legislated'??  Does modern NNTP
server software not support max connections per IP as well as bandwidth
throttling?  I fail to see the problem here.  Let each news admin set their
own metrics based on their own capacity, user base and usage data.


"J.B. Moreno" <planB@newsreaders.com> wrote in message
news:1g3ldg4.ppqrvaehyip5N%planB@newsreaders.com...
> The GNKSA has a requirement for not abusing the news server:
>
> ==
> 19) Be kind to servers, leave room for others
>
> Reading or posting software MUST NOT put excessive demands on news
> servers unnecessarily.  The sofware MUST limit itself to 4 simultaneous
> connections to a given server.  Spurious connects and unnecessary
> traffic MUST be avoided; the software MUST use as few as possible
> connections, reusing existing connections whenever possible.
>
> Rationale: News systems are big, resources are scarce, and every
> resource claimed is provided at the expense of other users.
> ==
>
> This certainly made sense when everyone was using their local ISP as
> their news server, which had no limits of it's own, but today's
> commercial servers *have* their own limits.  This wouldn't be a problem,
> you can't do more than max out your connection -- except that the
> commercial servers that have their own connection limits *also* cap the
> speed of their connections.  Which means that in this case it's the user
> that's being left out in the cold.
>
> So, the question is how to reconcile giving the user what both he and
> his NSP want, without opening others up to abuse. Obviously the *best*
> answer would be an extension to NNTP so that the NSP declares it's
> limits, but that's beyond an individual authors control.
>
> A news reader author recently said that he was going to raise the number
> of allowed connections if the server requires authentication, and I
> pointed out that many small, semi-private, servers require
> authentication and that they are generally /less/ able to handle unusual
> loads.
>
> The first thing that came to my mind was an exception list -- after all,
> there aren't really all *that* many NSP, but I didn't think that was
> really a good answer for a number of reasons, particularly the problem
> of maintaining it and keeping it at a central location.
>
> But this lead to the idea of creating the exception list on the fly --
> have some way to allow the user to say that the server has it's own
> limits and then test that (by trying to exceed them): if the limits are
> as the user says, then use the server imposed limits, if they aren't
> then use a maximum of 4.
>
> This obviously requires more work on the part of the newsreader author,
> but was the best compromise I could think of.
>
> But this presents another problem -- such a program would technically be
> in violation of the GNKSA, as it has a hard limit of 4 connections.
>
> It seems to me that the GNKSA could be revised on this point, what does
> everyone else think?
>
> -- 
> JBM
> "Everything is futile." -- Marvin of Borg

Re: GNKSA, server limits and commercial servers
#66999
Author: J.B. Moreno
Date: Wed, 29 Oct 2003 22:42
33 lines
2358 bytes
Dirk Nimmich <nimmich@muenster.de> wrote:

> J.B. Moreno wrote:
> > The GNKSA has a requirement for not abusing the news server: 
> > 
-snip-
> > servers unnecessarily.  The sofware MUST limit itself to 4 simultaneous
-snip-
> > This certainly made sense when everyone was using their local ISP as
> > their news server, which had no limits of it's own, but today's
> > commercial servers *have* their own limits.

> It would be useful to know why they have limits if having multiple
> connections isn't a problem. If newsreaders restricted themselves to
> a sane amount of connections, would NSPs have to set a limit? (Or:
> What is cause, what is effect?)

I'd think it *was/is* a problem -- which is why I certainly don't want
to get rid of the requirement, but servers *have* set their own limits,
based presumably on what their capabilities are, which they should know
better than anyone else.

Ideally, there'd be an extension so that the client can just query the
server to find out how many connections it supports (which is why I
crossposted this to nsn, in the hopes that someone would write up and
implement just such an extension).

Absent that, the best I can think of is to test the server once and see
how it responds.

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67003
Author: DevilsPGD
Date: Thu, 30 Oct 2003 02:28
23 lines
2071 bytes
In message <<KVUnb.3313$2o2.17916@amstwist00>> Zak <Zak@spam.invalid>
did ramble:

>Also, I do not know why you would need more than 4 connections.

Reality.  

>1 for a 
>batch download, one for interactive browsing, one for background 
>maintenance like keeping unread article counts updated.. leaves you with 
>one spare and is more sophisticated than lots of readers are.

There is normally some latency between when you request an article and
when that article begins to transmit.  Having another session
downloading while you wait for the server increases your overall average
transfer rate.

Additionally, it often takes 2-3 TCP sessions to saturate your typical
higher end broadband connection, so some additional sessions (Beyond
your "1 for batch download" suggestion can improve performance
noticeably.
-- 
Having a smoking section in a restaurant is like having a peeing section in a swimming pool.
Re: GNKSA, server limits and commercial servers
#67004
Author: Jeffrey M. Vinocur
Date: Thu, 30 Oct 2003 03:19
19 lines
2017 bytes
In article <1g3li90.bykcoj1w6ne6eN%planB@newsreaders.com>,
J.B. Moreno <planB@newsreaders.com> wrote:
>
>Ideally, there'd be an extension so that the client can just query the
>server to find out how many connections it supports (which is why I
>crossposted this to nsn, in the hopes that someone would write up and
>implement just such an extension).

It's a pretty straightforward extension (the NNTP spec should be
published pretty soon, so we'll be able to write real
extensions), and pretty simple to implement on the servers -- the
real question is what client authors have to say.  And I don't
think many of them are reading n.s.n, but I'd certainly be happy
to hear any of their opinions...


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: GNKSA, server limits and commercial servers
#67006
Author: J.B. Moreno
Date: Thu, 30 Oct 2003 05:48
27 lines
2183 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:

> J.B. Moreno <planB@newsreaders.com> wrote:
> >
> >Ideally, there'd be an extension so that the client can just query the
> >server to find out how many connections it supports (which is why I
> >crossposted this to nsn, in the hopes that someone would write up and
> >implement just such an extension).
> 
> It's a pretty straightforward extension (the NNTP spec should be
> published pretty soon, so we'll be able to write real
> extensions), 

Yes, it was Russ's posting in nsn that gave me the idea of an extension
in the first place.

> and pretty simple to implement on the servers -- the real question is what
> client authors have to say.  And I don't think many of them are reading
> n.s.n, but I'd certainly be happy to hear any of their opinions...

This thread is crossposted to nsr, and at least one author is reading it
(but Tin probably doesn't open up that many connection in the first
place).

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67009
Author: Petit Alexi
Date: Thu, 30 Oct 2003 09:04
28 lines
2484 bytes
"Some Guy" <some@guy.com> wrote in
news:xoCdnSMh4PyjqT2iRVn-ig@giganews.com: 

> Why is this an issue that needs to be 'legislated'??

No-one is asking for new "legislation", I feel they are asking for existing 
guidance to be clarified to cope with modern NSP practices.

> Does modern NNTP
> server software not support max connections per IP as well as
> bandwidth throttling?  I fail to see the problem here.  Let each news
> admin set their own metrics based on their own capacity, user base and
> usage data. 

The admins are creating their own settings.  Some NSPs allow users to 
create more connections than others.  The GNKSA has a requirement that you 
MUST not use more than four connections.  Why should a user limit 
themselves to four connections if their NSP allows them eight?  

The responsible user is stuck; use polite software and lose some 
connections OR use software which is not 100% GNKSA compliant but which is 
suitable for them and their NSP.

Having said all that anyone wanting that many connections is probably 
sucking huge quantities of binaries, thus using weird software, most of 
which is not GNKSA at all.

[snip]
Re: GNKSA, server limits and commercial servers
#67007
Author: Francois Petillon
Date: Thu, 30 Oct 2003 10:24
23 lines
2459 bytes
On Wed, 29 Oct 2003 13:31:24 -0500, J.B. Moreno wrote:
> So, the question is how to reconcile giving the user what both he and
> his NSP want, without opening others up to abuse. Obviously the *best*
> answer would be an extension to NNTP so that the NSP declares it's
> limits, but that's beyond an individual authors control.

As far as I am concerned, having an extension concerning server(s)
capabilities looks like a nice idea. But you may also consider to add
others informations on how to access nicely to the server (preference
between M-ID and article number to retrieve an article, etc).

> A news reader author recently said that he was going to raise the number
> of allowed connections if the server requires authentication, and I
> pointed out that many small, semi-private, servers require
> authentication and that they are generally /less/ able to handle unusual
> loads.

My news servers are accessible through athentication for users connected
from others ISPs but in that case they have lower rights (from most ISP,
they do not have access to binaries but I could also consider to set a
lower limit to the number of simultaneous connections).

  François
Re: GNKSA, server limits and commercial servers
#67010
Author: Francois Petillon
Date: Thu, 30 Oct 2003 10:28
18 lines
2174 bytes
On Wed, 29 Oct 2003 19:28:03 -0700, DevilsPGD wrote:
> There is normally some latency between when you request an article and
> when that article begins to transmit.  Having another session
> downloading while you wait for the server increases your overall average
> transfer rate.

You may also use command piping to lower the latency.

> Additionally, it often takes 2-3 TCP sessions to saturate your typical
> higher end broadband connection, so some additional sessions (Beyond
> your "1 for batch download" suggestion can improve performance
> noticeably.

If everybody use a few sessions to "saturate" their connection, then you
have to use a few sessions to saturate yours (in fact, using several
connections will allow you to get the same priority level than they do).

  François
Re: GNKSA, server limits and commercial servers
#67012
Author: Graham Drabble
Date: Thu, 30 Oct 2003 11:49
16 lines
1956 bytes
On 29 Oct 2003 planB@newsreaders.com (J.B. Moreno) wrote in
news:1g3ldg4.ppqrvaehyip5N%planB@newsreaders.com: 

[Max 4 connection limit]
> It seems to me that the GNKSA could be revised on this point, what
> does everyone else think?

Such a thing shouldn't be put into a newsreader. Let the user set the 
max number of connections up to the limit specified by his server. if 
he breaks that limit the server won't accept the connection.

-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.
Re: GNKSA, server limits and commercial servers
#67014
Author: John de Hoog
Date: Thu, 30 Oct 2003 13:29
18 lines
1826 bytes
Graham Drabble wrote...

> [Max 4 connection limit]
> > It seems to me that the GNKSA could be revised on this point, what
> > does everyone else think?
>
> Such a thing shouldn't be put into a newsreader. Let the user set the
> max number of connections up to the limit specified by his server. if
> he breaks that limit the server won't accept the connection.

This is just so common-sensical, I don't understand why anyone would want to
argue otherwise. If the GNKSA wants any credibility, the people who promote
it should face up to this reality. The Internet today is far different from
what it was when the original GNKSA was written up.

-- 
John de Hoog
http://dehoog.org
Re: GNKSA, server limits and commercial servers
#67017
Author: Some Guy
Date: Thu, 30 Oct 2003 13:50
40 lines
3079 bytes
"Petit Alexi" <petitalexi@caths.co.uk.invalid> wrote in message
news:Xns94245CCBF2F82petitalexicathscouk@news-60.giganews.com...

> > Does modern NNTP
> > server software not support max connections per IP as well as
> > bandwidth throttling?  I fail to see the problem here.  Let each news
> > admin set their own metrics based on their own capacity, user base and
> > usage data.
>
> The admins are creating their own settings.  Some NSPs allow users to
> create more connections than others.  The GNKSA has a requirement that you
> MUST not use more than four connections.  Why should a user limit
> themselves to four connections if their NSP allows them eight?

Where did this arbitrary number 4 come from anyway?  Who determined this
number, and how was it arrived at?  Or was it just plucked out of the air?


> The responsible user is stuck; use polite software and lose some
> connections OR use software which is not 100% GNKSA compliant but which is
> suitable for them and their NSP.

Define 'responsible'.  Or is the definition of responsible here to mean
'adheres to the GNKSA'?


> Having said all that anyone wanting that many connections is probably
> sucking huge quantities of binaries, thus using weird software, most of
> which is not GNKSA at all.

I fail to see the advantage of being compliant with GNKSA just for the sake
of it.  If modern NNTP servers can handle multiple connects per IP in excess
of 4 (GigaNews allows 10 per host for instance), then who is to say that
this is wrong or somehow incorrect / impolite??

This sounds a lot more like some guy's pet ego project than something
viable.

Re: GNKSA, server limits and commercial servers
#67016
Author: Andrew - Supernews
Date: Thu, 30 Oct 2003 14:44
10 lines
1531 bytes
In article <bnpvvf$63d$2@puck.litech.org>, Jeffrey M. Vinocur wrote:
> It's a pretty straightforward extension (the NNTP spec should be
> published pretty soon, so we'll be able to write real
> extensions), and pretty simple to implement on the servers --

um, no, it's not.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: GNKSA, server limits and commercial servers
#67018
Author: Andrew - Supernews
Date: Thu, 30 Oct 2003 15:21
49 lines
3673 bytes
In article <75q0qvsjkh52hquu1tr9qlfhl6fkscfhd4@4ax.com>, DevilsPGD wrote:
> In message <<KVUnb.3313$2o2.17916@amstwist00>> Zak <Zak@spam.invalid>
> did ramble:
>>Also, I do not know why you would need more than 4 connections.
> 
> Reality.  
> 
>>1 for a 
>>batch download, one for interactive browsing, one for background 
>>maintenance like keeping unread article counts updated.. leaves you with 
>>one spare and is more sophisticated than lots of readers are.
> 
> There is normally some latency between when you request an article and
> when that article begins to transmit.  Having another session
> downloading while you wait for the server increases your overall average
> transfer rate.

Clients should pipeline commands rather than use multiple sessions for this
purpose; it's a lot more efficient overall.

As for number of connections: it's very important that clients not _rely_
on being able to open multiple connections. If I were writing a spec I
would say that clients SHOULD be able to operate on only one connection
and MUST be able to operate on no more than two. Anything beyond that, if
permitted by the server, should be used only on an "on-demand" basis, closed
when not actually needed, and with pipelining used for article fetches. i.e.
clients should aim to use the minimum number of connections needed to achieve
the desired result, rather than simply using brute force.

> Additionally, it often takes 2-3 TCP sessions to saturate your typical
> higher end broadband connection,

One session should be enough if properly tuned, provided the server is able
to deliver data fast enough - and if the limiting factor is the server, then
using more connections is just grabbing a larger proportion of the available
resource. If you're having to use more than two in order to fill a reasonable-
size pipe, then something is probably wrong somewhere.

In our case, our servers can deliver (to an individual subscriber or someone
on an unlimited-speed deal) at least several megabits/sec of article data on
a single session, so we don't encourage users to multiple sessions
unnecessarily (for individual subscribers we limit them to 4). However, we
do have quite a lot of cases where broadband providers purchase speed-limited
service from us, and obviously their users then try and use as many sessions
as they are allowed in order to maximise download throughput.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: GNKSA, server limits and commercial servers
#67020
Author: Graham Drabble
Date: Thu, 30 Oct 2003 16:52
34 lines
2842 bytes
On 30 Oct 2003 planB@newsreaders.com (J.B. Moreno) wrote in
news:1g3n67n.5dfjus13lwawdN%planB@newsreaders.com: 

> John de Hoog <dehoog@dehoog.org> wrote:
> 
>> Graham Drabble wrote...
>> 
>> > [Max 4 connection limit]
>> > > It seems to me that the GNKSA could be revised on this point,
>> > > what does everyone else think?
>> >
>> > Such a thing shouldn't be put into a newsreader. Let the user
>> > set the max number of connections up to the limit specified by
>> > his server. if he breaks that limit the server won't accept the
>> > connection. 
>> 
>> This is just so common-sensical, I don't understand why anyone
>> would want to argue otherwise.
> 
> Because the server may not *have* any such limit to break, and so
> the client may instead break the server.

I would have hoped that any server admin who offered his server to 
the world would have a limit either through the AUP and/or enforced 
through software. Having a default maximum of no more than 4 seems OK 
but beyond that you have to leave it to the user to act responsibily 
and the admin to protect the server through enforcing what limits are 
there.

-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.
Re: GNKSA, server limits and commercial servers
#67019
Author: Jeffrey M. Vinocur
Date: Thu, 30 Oct 2003 17:02
18 lines
1867 bytes
In article <slrnbq28v4.1rkq.andrew+nonews@trinity.supernews.net>,
Andrew - Supernews  <andrew@supernews.com> wrote:
>In article <bnpvvf$63d$2@puck.litech.org>, Jeffrey M. Vinocur wrote:
>> It's a pretty straightforward extension (the NNTP spec should be
>> published pretty soon, so we'll be able to write real
>> extensions), and pretty simple to implement on the servers --
>
>um, no, it's not.

Sorry, more detail?

(Wasn't the original request for a way to the client to query the
server for maximum number of connections permitted?)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: GNKSA, server limits and commercial servers
#67021
Author: J.B. Moreno
Date: Thu, 30 Oct 2003 17:27
27 lines
2222 bytes
John de Hoog <dehoog@dehoog.org> wrote:

> Graham Drabble wrote...
> 
> > [Max 4 connection limit]
> > > It seems to me that the GNKSA could be revised on this point, what
> > > does everyone else think?
> >
> > Such a thing shouldn't be put into a newsreader. Let the user set the
> > max number of connections up to the limit specified by his server. if
> > he breaks that limit the server won't accept the connection.
> 
> This is just so common-sensical, I don't understand why anyone would want to
> argue otherwise.

Because the server may not *have* any such limit to break, and so the
client may instead break the server.

> If the GNKSA wants any credibility, the people who promote it should face
> up to this reality. The Internet today is far different from what it was
> when the original GNKSA was written up.

And what do you think the purpose of this thread is?

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67022
Author: Andrew - Supernews
Date: Thu, 30 Oct 2003 17:49
24 lines
2275 bytes
In article <bnrg6k$4c9$1@puck.litech.org>, Jeffrey M. Vinocur wrote:
> In article <slrnbq28v4.1rkq.andrew+nonews@trinity.supernews.net>,
> Andrew - Supernews  <andrew@supernews.com> wrote:
>>In article <bnpvvf$63d$2@puck.litech.org>, Jeffrey M. Vinocur wrote:
>>> It's a pretty straightforward extension (the NNTP spec should be
>>> published pretty soon, so we'll be able to write real
>>> extensions), and pretty simple to implement on the servers --
>>
>>um, no, it's not.
> 
> Sorry, more detail?
> 
> (Wasn't the original request for a way to the client to query the
> server for maximum number of connections permitted?)

Yes. What makes you think that the server knows that? Any server that is
doing any sort of nontrivial authentication will be talking to external
authentication modules or processes to decide whether to allow users access
or not.  Putting the authentication mechanics into the server directly is
strictly a small-site solution.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: GNKSA, server limits and commercial servers
#67025
Author: Graham Drabble
Date: Thu, 30 Oct 2003 19:08
59 lines
4096 bytes
On 30 Oct 2003 Andrew - Supernews <andrew+nonews@supernews.com>
wrote in news:slrnbq2joq.1rkq.andrew+nonews@trinity.supernews.net: 

> In article <bnrg6k$4c9$1@puck.litech.org>, Jeffrey M. Vinocur

>> (Wasn't the original request for a way to the client to query the
>> server for maximum number of connections permitted?)
> 
> Yes. What makes you think that the server knows that? Any server
> that is doing any sort of nontrivial authentication will be
> talking to external authentication modules or processes to decide
> whether to allow users access or not.  Putting the authentication
> mechanics into the server directly is strictly a small-site
> solution. 

There must be something I'm missing here. Presumably this data is 
stored somewhere so that you can return '502 too many connections' 
when the limit is broken. Why can the command simply return the 
number that is coded into that?

>From your description I see IP based access working something like:

Client --- opens connection to ----->  Front end server
                                         /            |
                                        /             |
                                       /              |
                                  sends       sends IP address
                               response       of client to
                                /                     |
                               /                      |
                              /                       |
                     checks if no of  ------ Authentication
                    connections exceeds          server
                     maximum limit


Therefore why can't you do

Client --- sends command to    ----->  Front end server
 ^                                                   |
 |                                                   |
 |                                                   |
 |                                                   |
 |                                                   |
 Respons to client                            sends IP address
 |                                            of cliet to
 |                                                   |
 |                                                   |
 |                                                   |
 Front end server <------- Sends limit to <------Authentication
                                                  server



-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.
Re: GNKSA, server limits and commercial servers
#67023
Author: J.B. Moreno
Date: Thu, 30 Oct 2003 19:19
37 lines
2900 bytes
Graham Drabble <graham.drabble@lineone.net> wrote:

> (J.B. Moreno) wrote in
> 
> > John de Hoog <dehoog@dehoog.org> wrote:
-snip connections limits shouldn't be in newsreader-
> >> This is just so common-sensical, I don't understand why anyone would
> >> want to argue otherwise.
> > 
> > Because the server may not *have* any such limit to break, and so
> > the client may instead break the server.
> 
> I would have hoped that any server admin who offered his server to 
> the world would have a limit either through the AUP and/or enforced 
> through software.

Nobody does connection limits via AUP -- that's just not practical, most
people doesn't even know what AUP stands for, let alone pay any
attention to what it actually says.

Enforced through software -- someone needs to do so, but there's a
question of who.  Do you just say that if the admin doesn't use software
that allows him to set connection limits, or doesn't bother to set them
if he can, deserves to get whatever he gets?  I've seen clients try to
open hundreds of useless connections, and servers brought to their knees
because of it -- do you just tell all of the other users "tough"?  OTOH,
the admin is best able to judge just what *is* excessive.

This conflict between the two is why my 2nd thought was to have the user
say what the limit is, test that, if it's right then fine, if not use
the default.  Of course this is a lot of work (my 3rd thought, having
the server respond t some extension to NNTP may not be practical, and in
any case isn't going to be ready immediately).

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67024
Author: J.B. Moreno
Date: Thu, 30 Oct 2003 19:19
15 lines
1684 bytes
Petit Alexi <petitalexi@caths.co.uk.invalid> wrote:

> Having said all that anyone wanting that many connections is probably
> sucking huge quantities of binaries, thus using weird software, most of
> which is not GNKSA at all.

There are a number of GNKSA compliant clients that do both text and
binaries -- Xnews, Gravity, Pan, MTNW, Thoth.

I see no reason to tell people that if they want binaries they have to
use a program that doesn't give any consideration to others needs.

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67026
Author: Graham Drabble
Date: Thu, 30 Oct 2003 21:28
47 lines
3245 bytes
On 30 Oct 2003 planB@newsreaders.com (J.B. Moreno) wrote in
news:1g3napk.qadrz56tt7meN%planB@newsreaders.com: 

> Graham Drabble <graham.drabble@lineone.net> wrote:
> 
>> (J.B. Moreno) wrote in
>> 
>> > John de Hoog <dehoog@dehoog.org> wrote:
> -snip connections limits shouldn't be in newsreader-
>> >> This is just so common-sensical, I don't understand why anyone
>> >> would want to argue otherwise.
>> > 
>> > Because the server may not *have* any such limit to break, and
>> > so the client may instead break the server.
>> 
>> I would have hoped that any server admin who offered his server
>> to the world would have a limit either through the AUP and/or
>> enforced through software.
> 
> Nobody does connection limits via AUP -- that's just not
> practical, most people doesn't even know what AUP stands for, let
> alone pay any attention to what it actually says.

Having it there does allow you to monitor it and remove people who 
abuse the limits.

> Enforced through software -- someone needs to do so, but there's a
> question of who.  Do you just say that if the admin doesn't use
> software that allows him to set connection limits, or doesn't
> bother to set them if he can, deserves to get whatever he gets? 

Yes. His server, his responsibility to protect it. He can do that by 
making sure he has users who read and abide by AUPs however he's 
probably better off using software that does it for him.

> I've seen clients try to open hundreds of useless connections, and
> servers brought to their knees because of it -- do you just tell
> all of the other users "tough"? 

No. You say we have a user who is a fuckwit. He's been removed and 
changes will be made to stop others doing the same.

-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.
Re: GNKSA, server limits and commercial servers
#67028
Author: Russ Allbery
Date: Thu, 30 Oct 2003 21:54
19 lines
2154 bytes
In news.software.nntp, J B Moreno <planB@newsreaders.com> writes:

> Nobody does connection limits via AUP

Stanford does.

> Enforced through software -- someone needs to do so, but there's a
> question of who.

Not all software has that capability easily available.  INN doesn't, for
example, in a default installation; you would need to use something like
xinetd to run nnrpd that understands how to do connection limits by IP
address, or build the connection limit into the authentication mechanism.

-- 
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.
Re: GNKSA, server limits and commercial servers
#67027
Author: Russ Allbery
Date: Thu, 30 Oct 2003 21:56
20 lines
2392 bytes
In news.software.nntp, Graham Drabble <graham.drabble@lineone.net> writes:

> There must be something I'm missing here. Presumably this data is stored
> somewhere so that you can return '502 too many connections' when the
> limit is broken. Why can the command simply return the number that is
> coded into that?

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.

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

-- 
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.
Re: GNKSA, server limits and commercial servers
#67029
Author: Zak
Date: Thu, 30 Oct 2003 23:17
24 lines
2209 bytes
Some Guy wrote:

> I fail to see the advantage of being compliant with GNKSA just for the sake
> of it.  If modern NNTP servers can handle multiple connects per IP in excess
> of 4 (GigaNews allows 10 per host for instance), then who is to say that
> this is wrong or somehow incorrect / impolite??

Well, that would be very useful if you are sharing a connection through 
some kind of gateway and you have 2 or 3 people reading news at the same 
time.

> This sounds a lot more like some guy's pet ego project than something
> viable.

You are talking shared resources here. The bandwidth and the server 
capacity. You can try to get more by pulling more, but if everyone does 
that the overall result is slower. Yes, even in the case where everyone 
has a gap between the command and the output.

At least when they are on something better than a 33k6 dialup.


Thomas
Re: GNKSA, server limits and commercial servers
#67030
Author: J.B. Moreno
Date: Fri, 31 Oct 2003 01:12
18 lines
1954 bytes
Russ Allbery <rra@stanford.edu> wrote:

> J B Moreno <planB@newsreaders.com> writes:
>
> > Enforced through software -- someone needs to do so, but there's a
> > question of who.
> 
> Not all software has that capability easily available.  INN doesn't, for
> example, in a default installation; you would need to use something like
> xinetd to run nnrpd that understands how to do connection limits by IP
> address, or build the connection limit into the authentication mechanism.

Yes, that's part of my point -- and with well behaved clients, it's not
necessary. 

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67031
Author: Russ Allbery
Date: Fri, 31 Oct 2003 01:22
16 lines
2203 bytes
In news.software.nntp, J B Moreno <planB@newsreaders.com> writes:

> Yes, that's part of my point -- and with well behaved clients, it's not
> necessary.

Right, I think the majority of news sites function on the honor system and
don't actually impose limits.  The majority of news *outsourcers* I'm sure
impose limits, but most sites are still internal ones for particular
organizations where we rely on people and their software to not do stupid
things.

-- 
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.
Re: GNKSA, server limits and commercial servers
#67033
Author: Jeffrey M. Vinocur
Date: Fri, 31 Oct 2003 04:04
31 lines
2668 bytes
In article <87vfq6fkym.fsf@windlord.stanford.edu>,
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.

Is anybody actually using an opaque authentication system where
the news server queries for password validity, and then notifies
the authentication server when that connection terminates?

I mean, it's possible, but it's hard to imagine a real-world
scenario where the authentication server is going to want to be
maintaining that kind of state instead of letting the news server
take care of it.  At least, hard for me to imagine...?


And the purpose of the proposed extension is to provide a
guideline for clients.  So if you've got a system where you
really can't figure out the maximum number of connections for a
given client when it asks, then return a fixed upper bound (if
you have one) or some sort of "undefined" value (there could be
one in the extension spec), and the client will just have to try
opening however many it needs and seeing when they get rejected.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: GNKSA, server limits and commercial servers
#67035
Author: Andrew - Supernews
Date: Fri, 31 Oct 2003 04:14
19 lines
2016 bytes
In article <bnsn11$psl$1@puck.litech.org>, Jeffrey M. Vinocur wrote:
> Is anybody actually using an opaque authentication system where
> the news server queries for password validity, and then notifies
> the authentication server when that connection terminates?

yes

> I mean, it's possible, but it's hard to imagine a real-world
> scenario where the authentication server is going to want to be
> maintaining that kind of state instead of letting the news server
> take care of it.  At least, hard for me to imagine...?

The key point you're missing is that with more than one server on the front
end, this sort of thing has to be tracked in the authentication server as
it's the only central place available.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: GNKSA, server limits and commercial servers
#67037
Author: Jeffrey M. Vinocur
Date: Fri, 31 Oct 2003 04:26
20 lines
2085 bytes
In article <slrnbq3ocg.1rkq.andrew+nonews@trinity.supernews.net>,
Andrew - Supernews  <andrew@supernews.com> wrote:
>
>The key point you're missing is that with more than one server on the front
>end, this sort of thing has to be tracked in the authentication server as
>it's the only central place available.

Ooo of course.  I should have seen that :-/

I think we've drifted from the point, though.  Even though you
don't have the exact connection count available, presumably
there's some behavior you'd like your clients to have with regard
to opening multiple connections.  The essence of what JBM wants
is a mechanism by which you'd be able to convey this information
(whatever it is) when the clients ask.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: GNKSA, server limits and commercial servers
#67036
Author: Klaas
Date: Fri, 31 Oct 2003 07:21
32 lines
3144 bytes
After careful consideration, J.B. Moreno muttered:


> Enforced through software -- someone needs to do so, but there's a
> question of who.  Do you just say that if the admin doesn't use
> software that allows him to set connection limits, or doesn't bother
> to set them if he can, deserves to get whatever he gets?  I've seen
> clients try to open hundreds of useless connections, and servers
> brought to their knees because of it -- do you just tell all of the
> other users "tough"?  OTOH, the admin is best able to judge just what
> *is* excessive. 

Clients that open hundreds of useless connections are simply broken.  Of 
course there is no way to prevent user idiocy through client software 
enforcement; at best, users will open multiple instances of clients to 
get the connections they want.

The main issue from my perspective is that the "courtesy" enforced by a 
client need not be the same for commercial servers as it is for free 
servers (by "free" I include academic and ISP servers).  If you are 
paying $X/mo for a speed-capped account, say, and you can't achieve that 
speed without using five connections, I don't see any reason to limit 
yourself to four because that's what GNKSA says is "polite".  The nsp has 
in that case shouldn't expect a user (or a client) to limit itself.

There comes a point where client software cannot be powerful while 
protecting the net against the idiocy of the user.  Instead of "MUST"ing 
a (seemingly) arbitrary limit, why not "SHOULD" it?  Something like the 
GNKSA should never preclude acitivity which could fall into acceptible 
usage patterns.

-Mike
Re: GNKSA, server limits and commercial servers
#67038
Author: DevilsPGD
Date: Fri, 31 Oct 2003 16:31
24 lines
2522 bytes
In message <<slrnbq2joq.1rkq.andrew+nonews@trinity.supernews.net>>
Andrew - Supernews <andrew+nonews@supernews.com> did ramble:

>Yes. What makes you think that the server knows that? Any server that is
>doing any sort of nontrivial authentication will be talking to external
>authentication modules or processes to decide whether to allow users access
>or not.  Putting the authentication mechanics into the server directly is
>strictly a small-site solution.

The server needs to query the auth server at some point in the user's
session, preferably after the AUTHINFO USER and AUTHINFO PASS.  Couldn't
the auth server pass back a "x/y" response, where "x" is the number of
sessions in use, and "y" is the current number available for the class?

In either case, a zero would mean unknown/unavailable/no-limit or just
plain not-supported.

Maybe I'm missing something, but if the auth server can decide whether
or not to auth another connection, it has to have some sort of rule set
on which to base that decision, so couldn't it return more information
to the frontend NNTP servers?

-- 
Having a smoking section in a restaurant is like having a peeing section in a swimming pool.
Re: GNKSA, server limits and commercial servers
#67039
Author: J.B. Moreno
Date: Sun, 02 Nov 2003 05:22
24 lines
2451 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:

> Andrew - Supernews  <andrew@supernews.com> wrote:
> >
> >The key point you're missing is that with more than one server
> >on the front end, this sort of thing has to be tracked in the
> >authentication server as it's the only central place available.
> 
> Ooo of course.  I should have seen that :-/
> 
> I think we've drifted from the point, though.  Even though you
> don't have the exact connection count available, presumably
> there's some behavior you'd like your clients to have with regard
> to opening multiple connections.  The essence of what JBM wants
> is a mechanism by which you'd be able to convey this information
> (whatever it is) when the clients ask.

Yes.  I'm not clear on why the answer coming from the authentication
server would be a problem (not that this means much, I'm not hip on
server internals). 

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67041
Author: J.B. Moreno
Date: Sun, 02 Nov 2003 05:22
32 lines
2784 bytes
Russ Allbery <rra@stanford.edu> wrote:

> In news.software.nntp, Graham Drabble <graham.drabble@lineone.net> writes:
> 
> > There must be something I'm missing here. Presumably this data is stored
> > somewhere so that you can return '502 too many connections' when the
> > limit is broken. Why can the command simply return the number that is
> > coded into that?
> 
> 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 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.

(If the above are stupid questions, put it down to ignorance and not
obstinacy).

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67040
Author: 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.
Re: GNKSA, server limits and commercial servers
#67042
Author: J.B. Moreno
Date: Sun, 02 Nov 2003 06:55
50 lines
3720 bytes
Russ Allbery <rra@stanford.edu> wrote:

> 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?  [..]
> 
> It's just more complexity and it's not clear to me that the complexity is
> worth the gain.

I'd say that depends upon how difficult it is to do, and how likely
doing it wrong is likely to cause a problem for other usage.  But I
can't answer either question...I don't know how complex the
authentication system is to begin with.

> >> 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
-snip- 
> How would you represent that in this sort of query?  (Note that "we
> wouldn't" may well be a perfectly legitimate answer.)

Call the command something like connection-limits and return mime-style
parameters, with "max-connections" being required and everything else
optional (per-minute and speed-cap being two likely examples that the
server might want to supply).

I thought of speed-cap before (I don't recall seeing number of
connections per minute before), but didn't want to make things too
complicated.

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67043
Author: Dirk Nimmich
Date: Sun, 02 Nov 2003 08:59
28 lines
2474 bytes
J.B. Moreno wrote:
> Jeffrey M. Vinocur <jeff@litech.org> wrote:
>> J.B. Moreno <planB@newsreaders.com> wrote:
>> >Ideally, there'd be an extension so that the client can just
>> >query the server to find out how many connections it supports
>> >(which is why I crossposted this to nsn, in the hopes that
>> >someone would write up and implement just such an extension).
>> 
>> It's a pretty straightforward extension (the NNTP spec should be
>> published pretty soon, so we'll be able to write real
>> extensions), and pretty simple to implement on the servers -- the
>> real question is what client authors have to say.  And I don't
>> think many of them are reading n.s.n, but I'd certainly be happy
>> to hear any of their opinions...
> 
> This thread is crossposted to nsr, and at least one author is
> reading it

I think there are some more, though I'm not sure they are reading
this thread.

> (but Tin probably doesn't open up that many connection in the first
> place).

Tin is one of these old-fashioned readers that think it would be
enough to use exactly one connection. It simply doesn't need such an
extension.
Re: GNKSA, server limits and commercial servers
#67045
Author: Dirk Nimmich
Date: Sun, 02 Nov 2003 09:10
11 lines
2126 bytes
J.B. Moreno wrote:
> I'm not clear on why the answer coming from the authentication
> server would be a problem (not that this means much, I'm not hip on
> server internals). 

So am I, but most authentication protocols I know of can only return
a yes/no value. Everything else is usually encapsulated on the
authentication server, so I imagine that if you need more
information that would not only be an extension for the front end
but also for the back end and maybe the protocol itself.
Re: GNKSA, server limits and commercial servers
#67046
Author: Russ Allbery
Date: Sun, 02 Nov 2003 10:52
16 lines
2377 bytes
In news.software.nntp, Dirk Nimmich <nimmich@muenster.de> writes:

> So am I, but most authentication protocols I know of can only return a
> yes/no value. Everything else is usually encapsulated on the
> authentication server, so I imagine that if you need more information
> that would not only be an extension for the front end but also for the
> back end and maybe the protocol itself.

Yup.  I expect most of these sites use RADIUS or something like it to talk
to the authentication servers.

-- 
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.
Re: GNKSA, server limits and commercial servers
#67270
Author: Sagittaria
Date: Thu, 27 Nov 2003 06:41
25 lines
2321 bytes
"Some Guy" <some@guy.com> wrote in
news:8tidnWhIUY_dijyiRVn-vw@giganews.com: 

> 
> "Petit Alexi" <petitalexi@caths.co.uk.invalid> wrote in message
> news:Xns94245CCBF2F82petitalexicathscouk@news-60.giganews.com...

>> The admins are creating their own settings.  Some NSPs allow
>> users to create more connections than others.  The GNKSA has a
>> requirement that you MUST not use more than four connections. 
>> Why should a user limit themselves to four connections if their
>> NSP allows them eight? 
> 
> Where did this arbitrary number 4 come from anyway?  Who
> determined this number, and how was it arrived at?  Or was it just
> plucked out of the air? 

That's what I would like to know. What authority does the GNKSA have? 
Did they decide on 4, or did that number come from an earlier RFC? 
Thanks.

-- 
---->Sagittaria<----

I am in a maze of twisty little passages, all different.
Re: GNKSA, server limits and commercial servers
#67274
Author: J.B. Moreno
Date: Fri, 28 Nov 2003 20:05
44 lines
2954 bytes
Sagittaria <sagittaria@softhome.net> wrote:

> "Some Guy" <some@guy.com> wrote in
> > 
-snip-
> > Where did this arbitrary number 4 come from anyway?  Who
> > determined this number, and how was it arrived at?  Or was it just
> > plucked out of the air? 
> 
> That's what I would like to know. What authority does the GNKSA have?

It's authority comes from being right, and having the newsreader authors
recccognize that it *is* right.

> Did they decide on 4, or did that number come from an earlier RFC? 

It's been some time, but I believe the conclusion was based upon:

1 connection for: post
1 connection for: head/body/article
1 connection for: xover
1 connection for: misc

Extra connections are really only beneficial to the end user when the
server is capping the bandwidth, which wasn't common when the GNKSA was
written, but is now (hence this thread).

There are basically 3 types of servers: ISP, NSP, Corporate/Private.

With the first and the last, the newsreader limiting the number of
connections still makes sense.  But NSP's are a different story --
bandwidth caps with them is so common as to be the norm.  And with
bandwidth capping, extra connections *do* benefit the user, and the NSP
can obviously decide for itself what is and is not approprate, if it
wants 4 connections at 160, 8 at 80 or 64 at 10, that's it's business
(literally).

The question is can there be a reasonable compromise between the two
camps? I think there can be, but it'll require some work on someone's
part.

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: GNKSA, server limits and commercial servers
#67280
Author: Graham Drabble
Date: Sat, 29 Nov 2003 19:09
23 lines
2462 bytes
On 28 Nov 2003 planB@newsreaders.com (J.B. Moreno) wrote in
news:1g552mm.jmmwocz5r2mkN%planB@newsreaders.com: 

> There are basically 3 types of servers: ISP, NSP,
> Corporate/Private. 
> 
> With the first and the last, the newsreader limiting the number of
> connections still makes sense. 

Not it doesn't, especially private servers. As a private server you tell 
people what the limits are and if they won't follow them you boot them 
off. Why should I be limited to four connection when connecting to my own 
server?

Placing limits on users is best done by servers putting in limits per 
username / IP address. Only the server admin can know for sure what he 
wants.

-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.
Re: GNKSA, server limits and commercial servers
#67281
Author: J.B. Moreno
Date: Sat, 29 Nov 2003 20:38
45 lines
3448 bytes
Graham Drabble <graham.drabble@lineone.net> wrote:

> On 28 Nov 2003 planB@newsreaders.com (J.B. Moreno) wrote in
> 
> > There are basically 3 types of servers: ISP, NSP,
> > Corporate/Private. 
> > 
> > With the first and the last, the newsreader limiting the number of
> > connections still makes sense. 
> 
> Not it doesn't, especially private servers. As a private server you
> tell people what the limits are and if they won't follow them you
> boot them off. Why should I be limited to four connection when
> connecting to my own server?
> 
> Placing limits on users is best done by servers putting in limits per
> username / IP address. Only the server admin can know for sure what
> he wants.

And the server admin is possibly, even probably, not running software
that allows him to place such limits -- booting them off after the fact
is fine, but it doesn't help the people that were locked out before it
came to your attention.

Also please note that these servers will almost certainly *not* have a
bandwidth cap, in which case extra connections don't really help.  You
ask why you should you be limited to four connection to your own server
-- if it's your own server, then you should be able to saturate your
bandwidth with just *one* connection, using 789 connections won't help
you any.

And ultimately, that's what it comes down to -- either a new connection
for every command, or some type of queueing system and a limit on the
number of connections.  If you're doing the latter then it's simply a
matter of how many.  If you're doing the former then it's going to end
up being abuse somewhere.

(PS -- you may not have noticed this, but I am advocating that *if* the
server has limits and the program confirms them, *then* those limits
are what should be used, it's only when the server has *not* placed
such limits that I think it's good-netkeeping to use self-imposed
limits).

-- 
J.B. Moreno
Re: GNKSA, server limits and commercial servers
#67282
Author: Jeroen Scheerder
Date: Sat, 29 Nov 2003 21:36
10 lines
1840 bytes
J.B. Moreno <planB@newsreaders.com>:

> It's been some time, but I believe the conclusion was based upon:
> 
> 1 connection for: post
> 1 connection for: head/body/article
> 1 connection for: xover
> 1 connection for: misc

Yes.  That was more or less the gist of the discussion, back then.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads