๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89795

Re: Spitfire News Server

#89795
From: Franck
Date: Fri, 09 Dec 2022 19:32
79 lines
4266 bytes
Hello Julien,

> The maximum negotiated article number should apply to the high water 
> mark, the low water mark and the estimated article count.ย  I've not 
> checked how Spitfire behaves but all of these 3 numbers must not exceed 
> the limit.

Currently, work is finished for low & high. Count will be available very 
soon as I didn't find the time to code everything in half a day :)

> If a newsgroup has 2^40 articles, the estimated article count is 2^31-1. 
>  ย The articles below 2^31-1 are available, and those above return "401 
> MAXARTNUM" if the MAXARTNUM has not been used.ย  And if MAXARTNUM has 
> already been used with 2^31-1, I think the easiest thing is to go on 
> sending 401.

It's coded like that execpt 401 is "401 maximum article number reached".

As it is often dispayed to user, we can set it something more explicit 
like : 401 maximum article number reached, use MAXARTNUM for next article.

?


Once used, MAXARTNUM never change during all the session and 202 with 
the same value is sent.

So it might be interesting to stop advertising MAXARTNUM in CAPABILITIES?


> The estimated article count sums all the articles (below and above the 
> limit).

Of course.

>  ย  NEWNEWS news.software.nntp yyyymmdd hhmmss
> 
> should return all the Message-IDs since their last connection, and a 
> bunch of ARTICLE <mid> should return them!

Coded like that except for the number not set to 0 (Like you said in a 
previous message) because I don't find time today.

> So old legacy news clients could be parametered to use NEWNEWS (if of 
> course they offer that level of setting) on news servers with large 
> article numbers.

Of course. in SNS, NEWNEWS is accessgroup based and can also be limited 
by admin to XXX days in the past.


> And not ^50 for instance?

Since 2PM, it accept ^31->^63 :)

> I am unsure that notation should be kept, but anyway it could if you 
> think it is easier to read.ย  (It adds more hassle to the developer in 
> order to parse and check that syntax.)

Nope, it's coded like that :

C: MAXARTNUM ^50
S: 202 1125899906842623 is our mutual maximum article number.

:-)

> It should be a syntax error (501) if < ^31 and recognized after ^31.

Coded like that. And also syntax error if > ^63.

> We could also define MAXARTNUM without any argument to say that the 
> server or client complies with the specification and has no limit in the 
> maximum number it handles.

Good idea, but for the moment, SNS can only handle up to ^63.

Franck

Technical Details
Message-ID: <BDAxMVcy+i4@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: <AMTKjekiCz4@news.spitfire-nntp.fr> <tmofb3$2f7n5$1@news.trigofacile.com> <Ab0C6Nre0M8@news.spitfire-nntp.fr> <1670435596.bystand@zzo38computer.org> <87sfhrf58x.fsf@hope.eyrie.org> <tmr1r3$2h0ef$1@news.trigofacile.com> <C4Eojh6GRws@news.spitfire-nntp.fr> <CYplN4VH1DY@news.spitfire-nntp.fr> <tmte11$2io74$2@news.trigofacile.com> <DTbamtyLGKY@news.spitfire-nntp.fr> <tmvro2$2kffq$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <BDAxMVcy+i4@news.spitfire-nntp.fr>
Subject: Re: Spitfire News Server
Date: Fri, 9 Dec 2022 20:32:48 +0100
From: Franck <franck@email.invalid>
References: <AMTKjekiCz4@news.spitfire-nntp.fr> <tmofb3$2f7n5$1@news.trigofacile.com> <Ab0C6Nre0M8@news.spitfire-nntp.fr> <1670435596.bystand@zzo38computer.org> <87sfhrf58x.fsf@hope.eyrie.org> <tmr1r3$2h0ef$1@news.trigofacile.com> <C4Eojh6GRws@news.spitfire-nntp.fr> <CYplN4VH1DY@news.spitfire-nntp.fr> <tmte11$2io74$2@news.trigofacile.com> <DTbamtyLGKY@news.spitfire-nntp.fr> <tmvro2$2kffq$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 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1
Newsgroups: news.software.nntp
Content-Language: fr
In-Reply-To: <tmvro2$2kffq$1@news.trigofacile.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 9 Dec 2022 19:32:49 +0000 (UTC)
Injection-Info: news.spitfire-nntp.fr; posting-host="fbFdNyVevslCMJoxM3XDfywgpNjNqdPu30pvB2ry9mOfh8tRxt2OzGVcBgD73wx6"; posting-account="yUB51f8LN08vBPFapWmwNj3B7QF_cG1m2BMBPrEoLPc="; logging-data="C63938d61428b86c1"; mail-complaints-to="abuse@spitfire-nntp.fr"
Cancel-Lock: sha1:mEpJhw+YoMuUTIZVg6HU2iYvxac= sha256:ouF4Fe4ARscto76UZxximEZ4FSNlzqUbeqQIxbMuKC0= sha1:RR80GJQ8eEAhtXCYpsdm2fhU8wo= sha256:r5EOxKbplhGDw7P7AWVjGCaX6buEh8bgSpvX1Ana7fg=
Organization: Home of Spitfire News Server, Montpellier (France).
Lines: 79