Article View: news.software.nntp
Article #69707Re: Rejecting bad Message-IDs
From: Curt Welch
Date: Wed, 11 Aug 2004 20:01
Date: Wed, 11 Aug 2004 20:01
99 lines
6702 bytes
6702 bytes
Bill Cole <bill@scconsult.com> wrote: > In article <06047.b84200@liebchen.winews.net>, > archiver+nsn@i3w.com (Juergen Helbing) wrote: > [...] > > I believe that a 'common consense' among Usenet software writers > > is necessary on the MsgId. And its smallest possible consense > > would be to accept anything which has less than 250 chars and is > > enclosed into <> is a valid MsgId. > > That is a positively absurd approach. MID's must be globally unique for > news to function properly, and that makes it necessary to have sort of > localization in MID's. That's just not true at all. There is no requirement that they be unique for Usenet to function properly. You have a mis-guided definition of "proper function" for Usenet. Usenet is not, never has been, and never will be, error free. There is always noise, and errors, and lost articles, and duplicate messages and duplicate message-ids. For Usenet (or any machine) to work, the only requirement is that problems like those be kept low enough to allow Usenet to still be useful. There will always be hardware malfunctions that corrupt articles from time to time, somewhere in the net. There will always be software bugs that will corrupt and disrupt Usenet from time to time. There will always be operator error causing errors, and problems. It's physically impossible to prevent this in the universe. What we do instead is create machines and systems which minimize the impact of these errors. Duplicate message-ids (on different articles), is one of these many problems. And, if we could create globally unique for all time message-ids, we would not have any collisions. That would of course be good. So that's a fine engineering goal to try and reach. But, it's impossible to achieve. Mistakes will be made (either by accident, or by design), and dups will be created. In my attempt to do message-id's "correctly", and reject articles with invalid Message-Ids, I've actually created more problems (thousands of lost articles which my users never got to see but which were available on all the other large sites). So, the question really is, what's the best system we can use to generate message-ids to minimize problems, including the one being talked about here, which caused me to drop thousands of articles this week. The dream of global uniqueness of course is a very simple engineering solution and one which, if achieved, clearly satisfies the goal of keeping collisions well below all the other problems that cause articles to be lost. But, global uniqueness requires central management of message-ids. And central management is not something that fits well on Usenet since there is no central management in control of all Usenet sites and posters. And it's something which currently isn't working for Message-IDs. The old design, which Usenet has grown from, is the idea that Message-Id generators would use a system to guarantee global uniqueness of their message-ids in their local part (the LFS before the @), and that the RHS would play off the centrally managed domain name system so that every message-id generator would be assigned a unique RHS. If every message-id generator creating Usenet Message-IDs followed this convention, and every admin and user correctly set up and configured the software, we would have no dups. But newsreaders commonly want/need to make up their own message-ids. And the author of the newsreader has no option available to guarantee that every copy of his software is correctly configued to use a unique domain name. A very common, and completely invalid (based on the above design) approach is to take the domain name of the mail address the user enters. And that's pointless. The requirement for the RHS is not to use "valid" domain names. The requirement is to use unique domain names for every Message-ID generator domain. And if you have 1000 different and independent copies of some newsreader software all generating ids for some common domain like aol.com, or earthlink.com, then the system is already broken. The dream of global uniqueness through this two level distributed system is lost. Yet, Usenet still functions fine, because even though the original design for generating global unique IDs has failed, it is still trivial using hash systems to generate message IDS with a low enough probability of collision that other factors (like spam, hardware problems, and software bugs) cause problems at a rate which is still many orders of magnitude higher than the problems we see due to Message-ID collisions. I suspect that the best approach at this point is to just totally drop the dream (myth) of globally unique message-ids, and instead just understand that Usenet is not centralized and any attempt at global uniqueness was mis-guided from the start. And instead, just replace it with the far simpler concept of low probability of collision IDs (which many are already using as it is). That is, just use a good random number source and generate an N bit random number as the message ID. For Usenet message-id syntax, moving forward, this just means we need to accept just about anything between <>. But for backward compatiblity, it would be wise to only generate IDs which correctly met all the previous standards. The Mail RFCs and the son-of-1036 seem to be the most restrictive. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Technical Details
Message-ID:
<20040811160137.822$iC@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.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<20040809200002.772$KV@newsreader.com> <06047.b84200@liebchen.winews.net> <bill-B4CBB1.10463511082004@fireproof.scconsult.com>Show Full Headers
Complete Article Headers
Message-ID: <20040811160137.822$iC@newsreader.com>
Subject: Re: Rejecting bad Message-IDs
Date: Wed, 11 Aug 2004 20:01:37 +0000
From: curt@kcwc.com (Curt Welch)
References: <20040809200002.772$KV@newsreader.com> <06047.b84200@liebchen.winews.net> <bill-B4CBB1.10463511082004@fireproof.scconsult.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com z4Kp,ak8_t.aFJGRRApurBFmdB18U@ff+fcfRAlWqVCh-B1
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: 99