Article View: news.software.nntp
Article #89651Re: How to permit user to set the right part of message-id
From: Russ Allbery
Date: Sat, 24 Sep 2022 15:35
Date: Sat, 24 Sep 2022 15:35
28 lines
2519 bytes
2519 bytes
Thomas Hochstein <thh@thh.name> writes:
> Russ Allbery schrieb:
>> 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.
> I'm not sure that's the right way to go. The probability of duplicates
> on correctly configured systems would increase, and this is a poor
> tradeoff for a decreased probability of duplicates on suboptimally
> configured systems.
The math implies that the chance of duplicates should actually go down
because it's more likely that you'll have two systems with the same FQDN
through some error or reuse an nnrpd PID within a second or have some
other very low-probability event occur than that you'll have an accidental
collision within a second in eight random bytes.
But it's very not intuitive and I have a hard time making myself believe
that.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87bkr4kcox.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-mailReferences:
<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> <nsn.20220924170459.1281@scatha.ancalagon.de>Show Full Headers
Complete Article Headers
Message-ID: <87bkr4kcox.fsf@hope.eyrie.org> Subject: Re: How to permit user to set the right part of message-id Date: Sat, 24 Sep 2022 08:35:26 -0700 From: Russ Allbery <eagle@eyrie.org> 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> <nsn.20220924170459.1281@scatha.ancalagon.de> 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: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="9027"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:+c7eHQ4nfGe/FMUMznJpVOuz1Bo=