Article View: news.software.nntp
Article #63126Re: Is this a valid Message-ID?
From: Curt Welch
Date: Tue, 14 Jan 2003 22:54
Date: Tue, 14 Jan 2003 22:54
85 lines
5038 bytes
5038 bytes
Heiko.Studt@gmx.de wrote: > Curt Welch made me laugh on 14.01.2003 19:21:34: > > But even more in line with practice is that newsreaders like to pick up > > the domain name of the e-mail address used by the poster as the domain > > to use in the Message-ID. > > Which newsreaders? > I try to make a list of AFAIKs: > > OE (news) don't generate a MID I thought OE did that. Maybe they have changed it now. Maybe my memory (or knowledge) was just wrong. > OE (mail) generates by hostname > Gravity uses servername, can be set off Using the server name is the same problem as using e-mail. And maybe I was confused by programs using a server name when I just thought it was using the mail domain. The point is that you have a lot of independent message-id generators sharing the same RHS and having no tool other than randomness to prevent collisions. Using time data from the OS and a configured domain name from the OS are just data sources which have some limited expectation of uniqueness but which are are no better than just adding N more "true random" bits to the message-ID in place of the semi-unique data. > > 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. > > This wouldn't provide secure for same time generated MIDs. Message-IDs are _never_ 100% secure. They all rely on random numbers to make sure they don't collide. As I've thought more about this, the pure random number approach I think is the best way anynow and even using a time stamp is just a waste of bits (but it's good to use the time of day as part of the seed for the random number generator). > And it would > not be compatible to the standards nowaday. Yeah, you couldn't switch to that because of this. They would all still need to end with some @domain form of a RHS. > > 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. > > Random is very generally. Random can be same in different parts of the > world at the same time. Therefor it's random... ;-) Of course. But it's still how Usenet Message-ID generation works today. > How about this form: > <(random.time)@subdoma.in> > 'subdoma.in' have to be allowed for use on this computer, > it needn't to be the same as reverse-lookup. > There could be more than one 'subdoma.in' on one computer. > (eg. different clients) > 'time' can be 'hashed' by a special algorithmic (should be NON-variable) > 'random' is a 7-Bit-word, which MUST be unique on this subdoma.in > it MAY contain an algorithmic other than real random, as long as > it provides unique. I don't see a need to get that specific. You just need to help people understand what's really going on and give them some understaing of how much total randomness is needed, and how much is provided by the typical RHS, and the typical date stuff used in Message-IDs today. i.e., if you include a RHS that is never expected to be used in more than N% of all messages posted to Usenet, how many less random bits do you need to include in the LHS? And if you include a time stamp which goes down to the second, how many random bits does that allow you to remove? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20030114175400.606$8M@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!cyclone.bc.net!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com> <b01u6t.5o.1@Heiko.Studt.dialin.t-online.de>Show Full Headers
Complete Article Headers
Message-ID: <20030114175400.606$8M@newsreader.com>
Subject: Re: Is this a valid Message-ID?
Date: Tue, 14 Jan 2003 22:54:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com> <b01u6t.5o.1@Heiko.Studt.dialin.t-online.de>
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!cyclone.bc.net!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com zVouinul7joQ6Nu4+y6fB1/D9E=ma28RsY9Z9fM53O5Ol==
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 84