🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89653

Re: How to permit user to set the right part of message-id

#89653
From: Julien ÉLIE
Date: Sat, 24 Sep 2022 17:47
72 lines
4929 bytes
Hi Russ,

> In theory, tossing the counter and the PID and replacing both with eight
> random bytes is better, since it doesn't rely as heavily on the uniqueness
> of the right-hand side.  In practice, it feels weird because we're giving
> up designed uniqueness for probability!  But it's probably still the right
> thing to do.

Besides, on two different servers, OpenSSL will compute different seeds 
at startup (or better say the chance that the seeds are identical is 
negligible).


> I think this is the only use of the Radix32() function in INN as well,
> which doesn't assume that message IDs are case-sensitive.

Radix32() only generates lower-case chars in the left-hand side.  I 
don't understand the remark that it "doesn't assume that message IDs are 
case-sensitive": is it because it could also have used upper-case 
letters and therefore generating even smaller message IDs?


> I see that we
> were worried about case-insensitive matching on message IDs when we wrote
> 5536.  That's unfortunate, since if you assume case-sensitivity, like I
> did in my other message, you could make the message ID a lot shorter.

Indeed, though RFC 5536 only worries about case-insensitive matching on 
the right-hand side:

    Some software will try to match the <id-right> of a <msg-id> in a
    case-insensitive fashion; some will match it in a case-sensitive
    fashion.  Implementations MUST NOT generate a Message-ID where the
    only difference from another Message-ID is the case of characters in
    the <id-right> part.


>> Yes, servername looks like an appropriate name.  It will be a useful
>> improvement for the next major release.  I propose to also have a
>> servername parameter in inn.conf as inews generates Message-IDs (and
>> currently uses the value of the domain parameter in inn.conf).  And the
>> value of servername can be overriden in readers.conf.
> 
> Ah, yes, I forgot about inews.
> 
> One interesting wrinkle here: if serverhost and pathhost are set to
> different things, it's unclear what should go into Injection-Info.  It
> looks like we never said.  The ABNF grammar says it's a path-identity,
> which sort of implies it should be pathhost, but the grammar of course is
> identical for both elements.
> 
> I suspect the right way to think of it is that serverhost is the identity
> of nnrpd and pathhost is the identity of innd, so it should be serverhost.
> (This is probably most interesting in the unusual configuration where you
> have a farm of nnrpd servers on different hosts all feeding into a central
> innd.)

Yes, that's an wise view, and we can consider servername for the 
identity of nnrpd and pathhost for the identity of innd.
Maybe your point is that the name of the parameter should be serverhost 
instead of the previously proposed servername?

-- 
Julien ÉLIE

« – Tu crois qu'ils auront du sanglier, dis ?
   – Faut pas te faire d'idées ; plus les armées sont puissantes, plus la
     nourriture est mauvaise. Ça maintient les guerriers de mauvaise
     humeur.
   – …
   – Je ne pensais pas que l'armée romaine était aussi puissante ! »
     (Astérix)
Technical Details
Message-ID: <tgnfr6$3llg$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: <632790d3$0$22052$426a74cc@news.free.fr> <argle-bargle@argle.bargle.xyz> <63279bd2$0$22055$426a74cc@news.free.fr> <87h7148aq4.fsf@hope.eyrie.org> <6328a840$0$2976$426a74cc@news.free.fr> <tgaje6$6pa5$1@news.trigofacile.com> <6328dcc9$0$5132$426a74cc@news.free.fr> <tganq1$6pa5$2@news.trigofacile.com> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgfttk$2enqk$1@news.trigofacile.com> <878rmaf75b.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <tgnfr6$3llg$1@news.trigofacile.com>
Subject: Re: How to permit user to set the right part of message-id
Date: Sat, 24 Sep 2022 19:47:18 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <632790d3$0$22052$426a74cc@news.free.fr> <argle-bargle@argle.bargle.xyz> <63279bd2$0$22055$426a74cc@news.free.fr> <87h7148aq4.fsf@hope.eyrie.org> <6328a840$0$2976$426a74cc@news.free.fr> <tgaje6$6pa5$1@news.trigofacile.com> <6328dcc9$0$5132$426a74cc@news.free.fr> <tganq1$6pa5$2@news.trigofacile.com> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgfttk$2enqk$1@news.trigofacile.com> <878rmaf75b.fsf@hope.eyrie.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, 24 Sep 2022 17:47:18 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="120496"; 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.3.0
Cancel-Lock: sha1:DHmd8EP1Tx9L+rmUq5viYTVty2U= sha256:G96T9k2+GlvIVCcFFFYZdEokngMmMthlso8emtTS0d8= sha1:3oRmJKn1QSx2c7lHGzLrHlTLikA= sha256:852e/BkkOqAztRUh2O4UILqo5AOfbvuU7O0B2AgNR6A=
In-Reply-To: <878rmaf75b.fsf@hope.eyrie.org>