🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90012

Re: Proposal specifications for MAXARTNUM

#90012
From: Julien ÉLIE
Date: Sat, 07 Jan 2023 10:33
66 lines
3975 bytes
Hi Michael,

>> We may have instead of a 501 syntax error, not giving useful information:
>> [C] ENABLE MAXARTNUM=badnumber UTF8=NONE MAXRESPLINES=2048
>> [S] 506 MAXARTNUM UTF8
>> (new error code to indicate syntax error in recognized commands, listed
>> after 506, and MAXRESPLINES is not enabled)
>> Or we can just use 501 without that complexity.
>>
>> A bit of work...
> 
> Because adoption of new features is already so slow for Usenet, I think
> we should look for a simpler solution.

Agreed.


> For your server I already have 8 commands even with implicit TLS and
> without MODE-READER:
> 
>      CAPABILITIES
>      AUTHINFO USER
>      AUTHINFO PASS
>      CAPABILITIES
>      COMPRESS DEFLATE
>      CAPABILITIES
>      LIST OVERVIEW.FMT
>      LIST DISTRIB.PATS
> 
> Would be 9 commands with MAXARTNUM.

Oh yes, I had forgotten about these useful generic LIST requests.
When and if flnews supports automatic display of the message of the day 
(when changed from a previous session), it will also be another LIST 
MOTD command to send...
You may also have generic LIST SUBSCRIPTIONS (only on 1st connection on 
a news server probably) so it does not really count, and LIST HEADERS if 
you use HDR commands.

Also wondering whether a news reader couldn't periodically check for new 
newsgroups and propose them to the user?  (with an option like "check 
and advertise new newsgroups every XX days", which would refresh the 
list and propose new newsgroups from NEWGROUPS or LIST ACTIVE.TIMES 
commands, or maybe direct check in LIST ACTIVE because a news server may 
not maintain the information)


> The capability refresh after COMPRESS may be required because flnews
> supports immediate and 480-triggered authentication (the order listed
> above is not guaranteed).
>
> | [...], a server MUST either list the AUTHINFO capability with
> | no arguments or not advertise it at all, in response to a
> | CAPABILITIES command received from an unauthenticated client after a
> | successful use of the COMPRESS command, [...]

OK, then it would be 9 commands if COMPRESS is sent before AUTHINFO. 
Otherwise, only 8 commands because sending CAPABILITIES after COMPRESS 
when the user is already authenticated is normally not useful, is it?

-- 
Julien ÉLIE

« – Ben où est l'eau ?
   – Elle est sortie quand tu es entré Obélix. Il n'y a pas de place pour
     vous deux là dedans ! » (Astérix)
Technical Details
Message-ID: <tpbhpq$cd9b$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
References: <tnqm14$35bas$1@news.trigofacile.com> <tou5si$1na9g$1@dont-email.me> <tp53et$7clk$1@news.trigofacile.com> <AABjtplGZckAAAqY.A3.flnews@WStation7.micha.freeshell.org> <tp76sd$90fs$2@news.trigofacile.com> <AABjuUUYqSEAAAnM.A3.flnews@Server4.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <tpbhpq$cd9b$1@news.trigofacile.com>
Subject: Re: Proposal specifications for MAXARTNUM
Date: Sat, 7 Jan 2023 11:33:30 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <tnqm14$35bas$1@news.trigofacile.com> <tou5si$1na9g$1@dont-email.me> <tp53et$7clk$1@news.trigofacile.com> <AABjtplGZckAAAqY.A3.flnews@WStation7.micha.freeshell.org> <tp76sd$90fs$2@news.trigofacile.com> <AABjuUUYqSEAAAnM.A3.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!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 7 Jan 2023 10:33:30 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="406827"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1
Cancel-Lock: sha1:+djGT9JO1+gAm+v5syujUSglYlA= sha256:ErwknOHb9RrrYIspp6/m/9bGFWedsQ9qCE+DvwwQJz8= sha1:6Bclk43W3pcLl3uTcmGEkUTGjrg= sha256:jlY3R3Q3UOhZKM+dd5ZkI0Qd6F4CzewqdQevGMYFozI=
In-Reply-To: <AABjuUUYqSEAAAnM.A3.flnews@Server4.micha.freeshell.org>