Article View: news.software.nntp
Article #89661Re: How to permit user to set the right part of message-id
From: Franck
Date: Mon, 26 Sep 2022 05:36
Date: Mon, 26 Sep 2022 05:36
32 lines
2621 bytes
2621 bytes
Hello Julien, >> 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. > > Do you think we should improve the generation of Message-IDs? > They're currently based on the date, PID and a counter incrementing at > each call. A quick improvement could be to also add for instance 6 > bytes from RAND_bytes() if OpenSSL support is available (which is most > often the case I believe). Although Spitfire News Server does not support virtual hosts, it uses this form of Message-Id: <session.timestamp_arrival_gmt@fqdn> The "Session" is a complex calculation based on information like "Date" and "PID" but also on other information from the hardware (Processor AND interface that accepts the client socket), which makes it unique to the "machine/interface" pair. The session is generated when a client connects and remains bound to its socket for its lifetime. If articles arrive from different sockets, the "session" makes a difference. If articles arrive from the same socket, the "timestamp" makes the difference. The PID and hardware information does the rest of the work to make the Message-ID (almost) unique in all cases. Franck
Technical Details
Message-ID:
<tgrdor$ddp$1@gioia.aioe.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>Show Full Headers
Complete Article Headers
Message-ID: <tgrdor$ddp$1@gioia.aioe.org> Subject: Re: How to permit user to set the right part of message-id Date: Mon, 26 Sep 2022 07:36:27 +0200 From: Franck <franck@email.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> 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: Aioe.org NNTP Server Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="13753"; posting-host="6B13n5ayDkVyU6eXK7V/Yg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: fr