Article View: news.software.nntp
Article #63120Re: Is this a valid Message-ID?
From: Russ Allbery
Date: Tue, 14 Jan 2003 19:09
Date: Tue, 14 Jan 2003 19:09
43 lines
3350 bytes
3350 bytes
Curt Welch <curt@kcwc.com> writes:
> A far better approach to Message-ID generation would be to drop the RHS
> completly beause it's only a poor use of unique bits and instead specify
> a format like this: <date.random> where "date" is a well defined way of
> specifying the time the Message-ID was generated and "random" is a well
> defined amount of randomness. The RFC should then set a standard for
> how much randomness is requied for Usenet based on the resolution and
> accuracty of the date used. People would be free to add more
> randomness, but they would fail to meet the requiment of the RFC if they
> added less.
I think you're putting way too much faith in random numbers. The average
programmer has no idea how to generate a random number with more than
about 32 bits of randomness, and that's only if they're lucky, don't botch
it up, and their operating system provides decent random number generation
functions (which is more common than it used to, but still isn't all that
common). And because of the birthday paradox, you need more randomness
than people expect.
I still think a better way to tackle this problem is to provide the user a
standardized way of requesting a message ID from the server in those cases
where the news reader actually cares about what message ID is used.
> The RHS is currently only serving to add a few bits of randomness to
> each Message-ID
It seems to me that it's doing more than that. You're analysis seems to
assume a completely hostile network where everyone is using everyone
else's domain names at random, which isn't actually the case. When
properly used, the RHS guarantees that you're not competing with anyone
else in the world for message ID space, which makes uniqueness far easier
to approach. If other pepole use your RHS without your permission, that's
already considered a cancellable offense, and obviously these sorts of
guarantees are going to be compromised in the face of people intentionally
attempting to violate the standard.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<yld6mz8s6f.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <yld6mz8s6f.fsf@windlord.stanford.edu> Subject: Re: Is this a valid Message-ID? Date: Tue, 14 Jan 2003 11:09:12 -0800 From: Russ Allbery <rra@stanford.edu> References: <4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 42 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1042571352 217 171.64.13.23 (14 Jan 2003 19:09:12 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:JFrxlfaroZzd207odAdY5SCmGKg=