🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87992

Re: LIST ACTIVE low & high water limits and wraparound

#87992
From: Michael Bäuerle
Date: Sun, 21 Jul 2019 16:09
42 lines
3013 bytes
Doc O'Leary wrote:
> news@zzo38computer.org.invalid wrote:
> > 
> > [...]
> > As far as I understand, the RFC requires that an article number is never
> > reused and that new articles have higher numbers than older articles
> > (according to the time the articles are first received on the server).
> > Section 6 requires 31-bit integers to be used for article numbers (and
> > zero is not a valid article number).
> 
> I don’t know what you people are reading, but the version of RFC3977 I 
> have says this in Section 6:
> 
>    Article numbers MUST lie between 1 and 2,147,483,647, inclusive.  The
>    client and server MAY use leading zeroes in specifying article
>    numbers but MUST NOT use more than 16 digits.  In some situations,
>    the value zero replaces an article number to show some special
>    situation.
> 
>    Note that it is likely that the article number limit of 2,147,483,647
>    will be increased by a future revision or extension to this
>    specification.  While servers MUST NOT send article numbers greater
>    than this current limit, client and server developers are advised to
>    use internal structures and datatypes capable of handling larger
>    values in anticipation of such a change.
> 
> No mention of bit lengths,

The above number 2,147,483,647 is the value of 2^31 - 1
(31-bit, or the positive range of a signed 32-bit integer).

> and explicit advice to implement a way that 
> handles numbers larger than the current spec supports.  Best practice 
> is probably to go with a 64-bit value and accept that any large 
> server/group might be operating out of spec.  Either an RFC update is 
> issued, or Usenet continues to fade away as an open standard.

But this is for future standards. If a NNTP server reports VERSION 2
protocol, a client is allowed to expect that it gets no larger numbers
(as defined above).

Technical Details
Message-ID: <AABdNI5LKHAAAAtv.A1.flnews@Server4.micha.freeshell.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
References: <5cd011d5$0$15174$426a74cc@news.free.fr> <1563663361.bystand@zzo38computer.org> <qh20hr$b5u$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <AABdNI5LKHAAAAtv.A1.flnews@Server4.micha.freeshell.org>
Subject: Re: LIST ACTIVE low & high water limits and wraparound
Date: Sun, 21 Jul 2019 16:09:47 -0000
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <5cd011d5$0$15174$426a74cc@news.free.fr> <1563663361.bystand@zzo38computer.org> <qh20hr$b5u$1@dont-email.me>
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: 40
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 16J3MwB2yNAEX+qkcJsf3wJO5MHIZZpRBKRzvwmWSiBAmT7jGX
X-Orig-Path: not-for-mail
Cancel-Lock: sha256:sh5Zoz33fMwu9edMyhCRysyS1aB3/VNnQURtyvpYkKM= sha1:8TJX3cTkgXMw3hgoyvvgcy/cIDU=
Injection-Date: Sun, 21 Jul 2019 16:09:47 -0000
User-Agent: flnews/0.16 (for HP-UX)
X-Received-Bytes: 2904
X-Received-Body-CRC: 2341657273