Article View: news.software.nntp
Article #63285Re: Is this a valid Message-ID?
From: David Magda
Date: Sat, 18 Jan 2003 16:00
Date: Sat, 18 Jan 2003 16:00
77 lines
4696 bytes
4696 bytes
curt@kcwc.com (Curt Welch) writes:
> Yes. But the that's not the important factor there. The thing that makes
[...]
Whatever. :> It's been too long since my probability-statistics
courses to remember all this, and even when I was taking it I wasn't
too enthusiastic about it. Looking it up would also be too much
work. :>
> Yes, that's true. My point is just that it's impossible to create
> guaranteed uniquess so even though we can use algorithms that are 100%
> guranteed to be unique, that does not make the odds of a collision 0. We
[...]
A probability of 0 would be perfect: which is nice if you're God, or
are willing to wait around for 4 billion years for evolution to find
a solution. Unfortunately none of us here are God, and we would like
a solution before 4 billion years from now. :>
[...]
> more algortihms you have at work, the higher chance that one or
> more is fundimentally broken, but the less impact it is likely to
> have if it is???
It sounds like an interesting topic for a USENIX papaer. :>
> If you hash, then you have moved the uniqueness problem from the realm of
> "uniquness" into "randomness". And once you do that, you want to make sure
[...]
I don't believe hashing is a "chaotic"(?, I'm thinking of a
particular word, but it's not coming to me) function. Given fixed
initial conditions, there will be a fixed output. The hashing is
simply a suggestion. The MID could simply be of the form
"<date><time><pid><posting>". Example, for "Sat Jan 18 10:38:52 EST
2003", pid = 359, this is my third posting:
<date><time><pid><post><FQDN>>
200301181038520035900003@number6.magda.ca
(Watch now, I'll get spam addressed to that string. <g> ) I've made
the <pid> and <posting> strings five characters long, but that was an
arbitrary choice for the sake of this example.
I mentioned hashing because of my suggestiong of perhaps some bits
from the body of the posting. This though would probably increase the
chance of a collision because it adds "randomness" which may end up
"mapping" the hash onto a value that was already used.
Probably not a good idea now that I think about it. A deterministic
(that's the word!) way of getting the values is probably what is
desired.
> The nice thing about using random bits is that incompetent
> configuration and administration can be mostly taken out of the
> equation leaving only incompetent coding problems.
"Randomness" is harder then most people think; just ask the people in
sci.crypt. :>
I would suggest that the new RFC should have a statement saying that
when the newsreader issues a POST command, the server sends back an
OK (if appropriate) with an MID, and that the client "SHOULD" [1] use
this MID. The only problem arises then of "webnews"
providers. Perhaps describe a reasonable alogirthm that "SHOULD" be
used if a server provided one isn't available/possible?
[1] From RFC 2119: "Key words for use in RFCs to Indicate
Requirements Levels".
--
David Magda <dmagda at ee.ryerson.ca>
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Technical Details
Message-ID:
<86u1g6zbvd.fsf@number6.magda.ca>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!snoopy.risq.qc.ca!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mailReferences:
<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> <b02cai.bg.1@Heiko.Studt.dialin.t-online.de> <20030114220738.208$sD@newsreader.com> <86wul6m26w.fsf@number6.magda.ca> <20030116171457.403$D6@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <86u1g6zbvd.fsf@number6.magda.ca> Subject: Re: Is this a valid Message-ID? Date: Sat, 18 Jan 2003 16:00:38 +0000 From: David Magda <dmagda+usenet@ee.ryerson.ca> 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> <b02cai.bg.1@Heiko.Studt.dialin.t-online.de> <20030114220738.208$sD@newsreader.com> <86wul6m26w.fsf@number6.magda.ca> <20030116171457.403$D6@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!logbridge.uoregon.edu!snoopy.risq.qc.ca!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Sender: dmagda@number6.magda.ca Newsgroups: news.software.nntp User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Lines: 76 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 64.229.227.247 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1042905637 64.229.227.247 (Sat, 18 Jan 2003 11:00:37 EST) NNTP-Posting-Date: Sat, 18 Jan 2003 11:00:37 EST Organization: Bell Sympatico