🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88003

Re: LIST ACTIVE low & high water limits and wraparound

#88003
From: Michael Bäuerle
Date: Fri, 26 Jul 2019 08:46
39 lines
2982 bytes
news@zzo38computer.org.invalid wrote:
> Michael <michael.baeuerle@gmx.net> wrote:
> > 
> > To avoid a protocol VERSION 3, maybe as extension:
> > If a server advertises something to define like BIGNUM via CAPABILITIES,
> > a client that can handle large article numbers can negotiate the limit
> > with a corresponding command BIGNUM (client limit as parameter).
> > The server will then clamp to this limit, or its own limit, whichever is
> > smaller.
> 
> My own opinion is that is more complicated than it needs to be. My own
> opinion is, even though it does not strictly follow the specification, to
> just allow 63-bit numbers, but to not use numbers larger than 31-bits
> until it is necessary to do so. (If you never reach the 31-bit limit, then
> there is no need to do anything.)

Formally there ist no room for interpretation in the requirement [1][2]:
| 
| Article numbers MUST lie between 1 and 2,147,483,647, inclusive.

Using numbers outside this range is not an option for implementations
aiming for RFC 3977 conformance.

> My solution may cause problems with existing clients, but so will your
> solution or any other possibility, anyways, if there are more articles
> than there are expected to be.

The extension proposed above at least avoids that any existing client
will see an article number beyond 2,147,483,647 (and the potential
corresponding misbehaviour).

If an existing client e.g. crashes with invalid article numbers, this
ensures that at least the articles with valid numbers stay usable.

____________
[1] <https://tools.ietf.org/html/rfc3977#section-6>
[2] <https://tools.ietf.org/html/rfc2119#section-1>

Technical Details
Message-ID: <AABdOr3iYxwAAAeX.A1.flnews@WStation5.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <5cd011d5$0$15174$426a74cc@news.free.fr> <1563663361.bystand@zzo38computer.org> <qh20hr$b5u$1@dont-email.me> <AABdNI5LKHAAAAtv.A1.flnews@Server4.micha.freeshell.org> <qh5vd1$1pv$1@dont-email.me> <AABdN3TTtmIAAAnN.A1.flnews@Server4.micha.freeshell.org> <1564102436.bystand@zzo38computer.org>

Show Full Headers
Complete Article Headers
Message-ID: <AABdOr3iYxwAAAeX.A1.flnews@WStation5.stz-e.de>
Subject: Re: LIST ACTIVE low & high water limits and wraparound
Date: Fri, 26 Jul 2019 08:46:26 +0000
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <5cd011d5$0$15174$426a74cc@news.free.fr> <1563663361.bystand@zzo38computer.org> <qh20hr$b5u$1@dont-email.me> <AABdNI5LKHAAAAtv.A1.flnews@Server4.micha.freeshell.org> <qh5vd1$1pv$1@dont-email.me> <AABdN3TTtmIAAAnN.A1.flnews@Server4.micha.freeshell.org> <1564102436.bystand@zzo38computer.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Lines: 37
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net WLzKzCOt37gmldkfQ4pa2gYD/ggKvBaz8FsmLP45NrttM/VMQa
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:5JXvQ1a6S1Gdjr/hH9Clehd98Wk= sha256:vx0SQithm/kfmqzCpfTOpDcJEpTDiZOcAGwudYZQBIc= sha1:ui2uQeIBPw5mxgaAuiTdBUeh1UY=
Injection-Date: Fri, 26 Jul 2019 08:46:26 -0000
User-Agent: flnews/0.17pre14 (for NetBSD)
X-Received-Bytes: 2880
X-Received-Body-CRC: 1435039707