🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89887

Re: Proposal specifications for MAXARTNUM

#89887
From: Franck
Date: Thu, 22 Dec 2022 21:00
55 lines
3648 bytes
Salut Julien,


For the moment :

> The MAXARTNUM limit is not supposed to change before and after the use 
> of AUTHINFO.  I should probably explicitly say it.

Implemented like that.

> The news server advertises the maximum article number it can handle.

MAXARTNUM is flagged "Need authentication" (In a way similar to CMDtable 
in nnrpd.c in INN), so if server require authentication to use the 
command, MAXARTNUM is not advertised in CAPABILITIES and a 480 is sent.

Once authenticated, MAXARTNUM is advertised in CAPABILITIES.
Once authenticated, if accessgroup doesn't grant access to MAXARTNUM 
command, client receive a "502 command MAXARTNUM disabled by administrator".

When mutual maximum is fixed by the client, MAXARTNUM is no more 
advertided as MAXARTNUM MUST NOT be used more than once in a session.

> The news client uses MAXARTNUM to inform the news server of the maximum 
> article number it could send.
> 
> Both these maximum are not expected to change during an NNTP session.
> Authentication MAY be needed before using MAXARTNUM if the news server 
> is configured to, but on no account should it advertise a different 
> maximum article number.

Implemented like that.

> The part in the specification about authentication is for a possible 
> *implicitly negotiated* different maximum article number, without using 
> MAXARTNUM.  For instance to say that Joe can see 2^64-1 articles because 
> he is using a news client I know is capable of handling them but 
> unfortunately does not implement MAXARTNUM to say it.

Not implemented.
This part is why I erroneous said MAXARTNUM is global in SNS.

MAXARTNUM is accessgroup based but accessgroups doesn't works in the 
same way as in INN (They are far less flexible).

So, for the moment, differents MAXARTNUM values can't be implicitly 
fixed, MAXARTNUM is just a global option : Users in accessgroup can or 
can't use MAXARTNUM.

> Does it sound good to you with these explanations?

I think but let me know if something seems weird in what is already 
implemented and need to be changed.

Franck
Technical Details
Message-ID: <BLhekYM1v8Q@news.spitfire-nntp.fr>
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: <tnqm14$35bas$1@news.trigofacile.com> <wwvwn6lggvf.fsf@LkoBDZeT.terraraq.uk> <tnvor4$38u1h$1@news.trigofacile.com> <A7nmgtyj5sE@news.spitfire-nntp.fr> <to1ddd$7k0$1@nntp.de> <to25tk$3alff$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <BLhekYM1v8Q@news.spitfire-nntp.fr>
Subject: Re: Proposal specifications for MAXARTNUM
Date: Thu, 22 Dec 2022 22:00:52 +0100
From: Franck <Em@il.invalid>
References: <tnqm14$35bas$1@news.trigofacile.com> <wwvwn6lggvf.fsf@LkoBDZeT.terraraq.uk> <tnvor4$38u1h$1@news.trigofacile.com> <A7nmgtyj5sE@news.spitfire-nntp.fr> <to1ddd$7k0$1@nntp.de> <to25tk$3alff$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
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0
Content-Language: fr
Newsgroups: news.software.nntp
In-Reply-To: <to25tk$3alff$1@news.trigofacile.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Dec 2022 21:00:52 +0000 (UTC)
Injection-Info: news.spitfire-nntp.fr; posting-host="-GoIv4SzmpyAth9M8lzAvwR3DQWGeVO_MeuQxrk84E6TX-hNmFMJZ-ahVeCryiwUTgVEXybz-usbu3V7takRZQ=="; posting-account="IJmLG0gW928hfDlezUoxzqq0LI5M5OupjO8iPn_poIM="; logging-data="C63a4c5830a419afa"; mail-complaints-to="abuse@spitfire-nntp.fr"
Cancel-Lock: sha1:Fhyf3R7FvnoUOcugNCbIhUKmk6c= sha256:e6Ny1Or2+6hmYVGVYBiMaxUTTXs5v8IZMNZyKm/+mBw= sha1:zJ3jQWQ/5IeaQMbwDrYnMK10IMM= sha256:iqYcSgoTAc7N9Uqz+kzXi1NlRnCExMDTfoI4fWOMobQ=
Organization: Home of Spitfire News Server, Montpellier (France).