🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63210

Re: Is this a valid Message-ID?

#63210
From: Bill Cole
Date: Fri, 17 Jan 2003 01:42
102 lines
6376 bytes
In article <yld6mzb7r0.fsf@windlord.stanford.edu>,
 Russ Allbery <rra@stanford.edu> wrote:

>Curt Welch <curt@kcwc.com> writes:
>
>> I think Usenet swtiched to that faith about 10 years ago with the relase
>> of C-News.  Is that when the old numbering system when out the door?
>> It's not just a faith anymore, it's what everyone uses.  It's the only
>> way it can practically be done.
>
>INN does not and never has used random numbers to generate message IDs.
>If INN is the only message ID generator running with a specific RHS, or if
>all other message ID generators running with that same RHS use a different
>algorithm (and this is the common case and frequently can be guaranteed),
>INN message IDs are guaranteed unique forever.

Unless the different algorithm is one that can create an identical LHS. 
Like a random number generator. 

>For example, the only message ID generators running on my news server are
>INN and qmail.  Since they use two different algorithms, both of which are
>guaranteed unique forever, all message IDs generated by the only system
>authorized to use that RHS are, in fact, guaranteed unique forever.

Assuming that the domain name remains yours forever and that the LHS 
generation algorithms remain the same or guarantee non-collision with 
the existing ones. 

I actually rather like the odds of those failure modes over the failure 
modes of random number generators building both sides of the MID. 


[...]
>> Many news clients which make up message IDs use either the NNTP server's
>> domain name or the users e-mail address domain name.  And they all end
>> up completing with each other on the LHS.  And all they have to work
>> with for the LHS is the date and random numbers.  Using domain names on
>> the RHS doesn't solve the problem, it only divides the problem space
>> into multiple smaller problems.
>
>Oh, I agree.
>
>I'm just pointing out that the RHS is doing a lot more than just adding a
>few bytes of randomness.  For small sites, it pretty much resolves the
>problem entirely; if you've got a timestamp in the message ID and the
>correct RHS and you're at a small site, you're probably okay.  This
>obviously isn't sufficient for large sites that have thousands and
>thousands of users generating message IDs, and for those sites they have
>to do something more comprehensive, but the RHS is a great start and
>solves the problem for 95% of the sites out there (but a lower percentage
>of the users).

Or put another way: the RHS as a domain name  slices the uniqueness 
problem into thousands of much smaller and approachable problems. The 
Agent solution is unappealing to me for practical reasons (i.e. no 
pattern to a user's MID's) but it is perfect for 4ax.com: no one ccan 
legitimately and innocently generate collisions with a 4ax.com RHS 
because only Agent should ever be generating those. That perfectly 
handles one RHS. I can perfectly handle the fireproof.scconsult.com RHS 
for as long as I hold the domain, simply by having a very restricted 
user population. There's another one. Slicing the problem up by domain 
name changes the scope for any one site from unmanageable to workable in 
practice. No, there's no mathematical surety of uniqueness and casnnot 
be, but the problems for legitimate (or colorably legitimate) users of 
any one RHS can be addressed to assure uniqueness in practice. 

The worst potential problems live in generators like the one I will use 
in a few seconds: MT-NewsWatcher takes the news server FQDN as a RHS.

The saving feature of such cases is the use of big LHS's. Mine encode 
about 75 bits of information in 26 characters, and that makes collision 
a wispy target: no random number generator for LHS's will waste time on 
130 bits (26 characters) and other similar generators of human-parsable 
LHS's are unlikely to use methods that have any risk of collision. 

I realize that I'm speaking heresy to the other participants in this 
thread, but I think that largish human-parsable LHS's are a good 
solution to getting de facto MID uniqueness, because in addition to 
addressing that, they improve usability. For example, it is trivial for 
me to filter for all the replies to my posts (or for others tol killfile 
everything I post and all the responses...) , because my MID's have 
invariants that are unique to me. That is pretty meaningless to someone 
focused on overview size and server efficiencies, but that sort of 
feature makes newsreading easier for users. 

[...]
>> Using unique domain names on the RHS of a Message-ID in no way
>> guarantees uniqueness.
>
>Absolutely.  I never argued that.  You have to also have some knowledge of
>what the message ID generators with that RHS are doing (which means that
>in practice it's not nearly as useful if people also have e-mail addresses
>in that domain, due to the behavior of many clients).

Or if people use certain newsreaders pointed at a server with that RHS.

-- 
The answer is that no one has a right to press even 'good' ideas on an 
unwilling recipient. -- Chief Justice Berger, SCotUS

Bill Cole                                           bill@scconsult.com
Technical Details
Message-ID: <bill-B6C081.20420016012003@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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.scconsult.com!bill
References: <4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com> <yld6mz8s6f.fsf@windlord.stanford.edu> <20030114171106.956$rG@newsreader.com> <yld6mzb7r0.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <bill-B6C081.20420016012003@fireproof.scconsult.com>
Subject: Re: Is this a valid Message-ID?
Date: Thu, 16 Jan 2003 20:42:00 -0500
From: Bill Cole <bill@scconsult.com>
References: <4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com> <yld6mz8s6f.fsf@windlord.stanford.edu> <20030114171106.956$rG@newsreader.com> <yld6mzb7r0.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!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.scconsult.com!bill
Newsgroups: news.software.nntp
Organization: scconsult.com is not organized
User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X)
NNTP-Posting-Host: 192.168.254.12
X-Posting-Server: RumorMill 1.3.4b6
X-Trace: news.scconsult.com 1042749720 unauthenticated 192.168.254.12 (16 Jan 2003 20:42:00 -0500)
Lines: 101