🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89877

Re: Proposal specifications for MAXARTNUM

#89877
From: Franck
Date: Thu, 22 Dec 2022 06:43
69 lines
4274 bytes
Hello Julien et Richard,

> And usually, after the use of commands like AUTHINFO, COMPRESS, STARTTLS 
> which change something in the connection, they are no longer advertised 
> in CAPABILITIES.

I agree with this part.

>> 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

It's not because no such server exist today, that it can't exist 
tomorow. We don't know.

But, to be more honest, I think that any implementation will always have 
a "limit" and that, in fact, it will announce it in CAPABILITIES.

So, I agree with Richard, 0 seems to be unuseless... At least today!

> So there is a problem for instance with "OVER N-M" where N and M are 
> compounded of 497 digits.
> And also in existing responses, as we may have a large article number 
> followed by a Message-ID up to 250 characters itself!
> And even in GROUP responses, there may be 3 large article numbers 
> followed by a newsgroup name.  (Is there an upper bound for the length 
> of a newsgroup name?  I do not manage to find it in RFC 3977 or 5536.)

For newsgroup name, when I look at my code, I see that there is a limit 
of 66 characters and that each component must not exceed 14 characters.

I don't know where I got these limits, but one thing is certain, I 
didn't impose them on my own. I have to find where I got them ^^

> When MODE-READER is advertised, we're in the case of a mode-switching 
> news server.  The same way AUTHINFO, COMPRESS, or STARTTLS forbid 
> advertizing MODE-READER after a successful use of the command, MAXARTNUM 
> also has to.  Negotiated states are not shared between transit and 
> reading facilities of mode-switching news servers.

Even if SNS is not a mode-switching server, I agree with this part.

>  From previous discussions, it seemed weird that a news client used 
> MAXARTNUM twice (or more) with a possible different article number 
> asked.  That's the reason of that paragraph.
> 
> I agree it is not mandatory; but without it, it would mean that news 
> servers have to cope with several changes in the mutual article number, 
> and possibly answer several times "401 MAXARTNUM", and then again a 
> re-negotiation of MAXARTNUM should occur.
> That seems complicated.  Whence that paragraph to forbid that.

I totaly agree with the fact that a client MUST NOT issue MAXARTNUM more 
than once in a session.

What is the interest for a client to say, in the same session :

- Hey server, I can cope with 2^64-1
- Ahaha, I was joking, I support 2^36-1
- I changed my mind, I prefer 2^50-1.

Deal is quite simple :

- Client knows the limitation of the server (CAPABILITIES),
- Client fix it's own limit,
- CLient enjoy large numbers,
- Done.

Have nice day,
Franck
Technical Details
Message-ID: <A7nmgtyj5sE@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>

Show Full Headers
Complete Article Headers
Message-ID: <A7nmgtyj5sE@news.spitfire-nntp.fr>
Subject: Re: Proposal specifications for MAXARTNUM
Date: Thu, 22 Dec 2022 07:43:43 +0100
From: Franck <Em@il.invalid>
References: <tnqm14$35bas$1@news.trigofacile.com> <wwvwn6lggvf.fsf@LkoBDZeT.terraraq.uk> <tnvor4$38u1h$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: <tnvor4$38u1h$1@news.trigofacile.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Dec 2022 06:43:45 +0000 (UTC)
Injection-Info: news.spitfire-nntp.fr; posting-host="8uOKfummuQKd0suvfY2JaJrZzKXQww8fl5uaz4E1NJJ0i_oxfxX7EwadqxDYPcOsPgy2sdiMna1yd_BMrXQZ-A=="; posting-account="yEk-_FZJNWOfaHPMCV1BBabGaIN1irWQWGaYL3pbZr4="; logging-data="C63a3fca02059df8f"; mail-complaints-to="abuse@spitfire-nntp.fr"
Cancel-Lock: sha1:s9gOA+d9DxW92Ir9ppOxq1EByy8= sha256:x/yJp0FZPQDYS71lzhbg5kBrXU/aUJLkpISRAh2A8w8= sha1:Lw4o95TV5lBmxPN2hOIdo/YJL+E= sha256:va011lyXy5KXWr31oe6ICZEUYSe83bsXkgMpJlMjlRQ=
Organization: Home of Spitfire News Server, Montpellier (France).