🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89644

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

#89644
From: Adam H. Kerman
Date: Fri, 23 Sep 2022 04:53
49 lines
2889 bytes
Russ Allbery <eagle@eyrie.org> wrote:
>Julien <iulius@nom-de-mon-site.com.invalid> writes:

>>Digging in the archives, I found out this message:

>>https://lists.isc.org/mailman/htdig/inn-workers/1999-September/000423.html

>>"""
>>Suppose you've got a news farm of twenty-odd
>>machines hiding behind news.example.com.  You probably want just
>>news.example.com in e-mail addresses, but if you use that for message ID
>>generation as well, doesn't that then run a non-trivial risk of duplicate
>>message IDs?

>>The reason to use the FQDN is so that you can be fairly sure no other
>>system is generating message IDs in the same namespace....
>>"""

>Ah, hm.  Yes, INN's mesage ID generation algorithm is not great and we
>could indeed get duplicates if multiple hosts are using the same
>right-hand side.

Can I ask a dumb question here?

Let's assume the issue applies to hosts on different News sites. Either
the News administrator or user decides there's a legitimate privacy reason
that it's not desireable to use the working domain of the News server or
the user's own host. With better random number generators available these
days, is it possible to ensure uniqueness considering the left part of the
Message-ID only if multiple News sites or users start to use domains in
the right half that they don't uniquely control but are harmless to use,
like literally example.com?

As long as you are thinking about this, can you give some consideration
to appending a check digit to the left part?

A certain user I shall not name (but many of you know exactly whom I
am talking about) has been forging other users, copying their Injection
headers for preloading into the proto forged article which is injected
through the News site that he uses. He typically adds crossposted
newsgroups that the actual author did not crosspost to.

The original Message-ID is preloaded as well, but he gets around
clashing Message-IDs by prepending a character.

A check digit might prevent that. Of course, he'll find all new ways to
commit abuse.

>>>. . . 
Technical Details
Message-ID: <tgje47$2eubv$4@dont-email.me>
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> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <tgje47$2eubv$4@dont-email.me>
Subject: Re: How to permit user to set the right part of message-id
Date: Fri, 23 Sep 2022 04:53:27 +0000
From: "Adam H. Kerman" <ahk@chinet.com>
References: <632790d3$0$22052$426a74cc@news.free.fr> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.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: A noiseless patient Spider
Lines: 49
Injection-Date: Fri, 23 Sep 2022 04:53:27 -0000 (UTC)
Cancel-Lock: sha1:eYxLDvHl0ZG6adCguI/8tlsWm1c=
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)