🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89871

Re: Proposal specifications for MAXARTNUM

#89871
From: Richard Kettlewell
Date: Wed, 21 Dec 2022 11:01
57 lines
3871 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> It is RECOMMENDED that server implementations permit configuring the
> maximum article number implicitly set at the start of an NNTP session, 
> whose default MUST be 2,147,483,647 when version 2 of NNTP is
> advertised in CAPABILITIES (Section 3.3.2 of [RFC3977]).  The default
> value MAY be different in future versions of NNTP.  This implicit
> maximum article number MAY be global to the news server or
> configurable at a finer level.  For instance, the maximum article
> number could be implicitly set to 18,446,744,073,709,551,615 (2^64-1)
> for certain users either at the start of the NNTP session or after the
> use of a mechanism identifying them (e.g. authentication with
> AUTHINFO).  Configuring a value greater than this default value SHOULD
> be done only for users known to run a news client capable of handling
> article numbers up to that configured value.

This paragraph seems to add scope for incompatibility between servers
and clients without any clear benefit.

> A server supporting the MAXARTNUM command as defined in this document
> will advertise the "MAXARTNUM" capability label in response to the 
> CAPABILITIES command (Section 5.2 of [RFC3977]).  However, this
> capability MUST NOT be advertised once the MAXARTNUM command has 
> successfully been executed.

Why not? Seems like an entirely unnecessary restriction on the server.

> This number MUST NOT have leading zeroes, and MUST NOT be lower than
> 2,147,483,647 with the exception that a value of 0 (zero) is valid,
> which indicates that the server can handle article numbers of any
> size.

I don’t think the special case for is 0 is necessary since there is no
such server: the 497-octet limit provides an upper bound even for
servers that don’t limit their article numbers to (for example) a
uint64_t. They can send a value of 2^256-1 or something and be very
comfortable that the limit will never be reached in reality.

This applies to both the capabality and the command.

> Additionally, the client MUST NOT issue a MODE READER command after a
> successful negotiation of the mutual maximum article number with the 
> MAXARTNUM command, and a server MUST NOT advertise the MODE-READER
> capability.

The former I can see, but why forbid advertizing MODE-READER after
MAXARTNUM has been negotiated?

> A server MUST NOT return the MAXARTNUM capability label in response to
> a CAPABILITIES command received after a successful use of the
> MAXARTNUM command, and a server MUST reply with a 502 response code if
> a syntactically valid MAXARTNUM command is received after an already 
> successful use of this command.

Why?

-- 
https://www.greenend.org.uk/rjk/
Technical Details
Message-ID: <wwvwn6lggvf.fsf@LkoBDZeT.terraraq.uk>
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>

Show Full Headers
Complete Article Headers
Message-ID: <wwvwn6lggvf.fsf@LkoBDZeT.terraraq.uk>
Subject: Re: Proposal specifications for MAXARTNUM
Date: Wed, 21 Dec 2022 11:01:40 +0000
From: Richard Kettlewell <invalid@invalid.invalid>
References: <tnqm14$35bas$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
Newsgroups: news.software.nntp
Organization: terraraq NNTP server
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6"; logging-data="3389"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:7FRBoJE5P0TU06EPSQr+ghIRmV8=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^ F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha +r0NzP?vnz:e/knOY)PI-
X-Boydie: NO