Article View: news.software.nntp
Article #64025Re: xBin Message-ID convention
From: Kjetil Torgrim Homme
Date: Thu, 13 Feb 2003 03:26
Date: Thu, 13 Feb 2003 03:26
86 lines
4562 bytes
4562 bytes
[Rene]: > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > the file which uniquely identifies its contents. the chance of two > > files having the same hash but different content is infinitesimal: if > > every person on Earth each owns 150 million million files which are > > different from everyone else's files, there is a 50% chance of two > > files, worldwide, having the same hash. this 160-bit identifying hash > > is called the root hash. > > I did not check that this number is correct, but I ask anyway? Did > you include the birthday paradoxon in that calculation? yes. > And is it based on 160bit or on the 72bits we're using in the > header? 160 bits. it's not so impressing with 72 bits, we can only have eight unique files each :-) but an xBin reader MUST be prepared for collisions of root hashes restricted to 72 bits. including the file size as part of the xBin-ID helps a bit, I think it is realistic to figure at least 16 bits of randomness from the size, and then we can keep more than a thousand unique files each :-) > > these are MIME headers, but the article should not declare > > "MIME-Version: 1.0" unless it is a well formed MIME document. > > Why not change the should not in a MUST NOT here? If it isn't > MIME, it shouldn't be labelled as such. ok. > > overhead (40% for uuencode, 25% for BASE64, 3% for yEnc). > > Isn't it about 33% + a tiny fraction for the line breaks in case > of Base64? I mean, you expand 3 chars to 4, so it becomes 4/3 -> > 1/3 overhead. (Your 25% is 3/4?) you are right. I did think BASE64 was suspiciously good compared to uuencode :-) > > the filename MUST be specified using Content-Disposition in the first > > part. Content-Disposition MAY be included in other parts as well. > > This somewhat contradicts the following part from the headers section: > " > xBin posters should put all meta-data about the files in suitable > headers. > > filename (mandatory): > Content-Disposition: attachment; filename="somefile.mp3" > " > > From the headers-section I'd put the filename in any xBin article > while this part now says I only need to do it in the first > article. Is it smart to do so ? If the first article expires then > I don't know the filename until someone reposts it. If I get a par > instead... well though luck. good point about using a PAR file to replace the first part. I'll change the MAY to a SHOULD. > > the filename SHOULD be the same as the filename specified in the > > uuencode "begin" line. > > How about adding that a filename may *never* include path > information. The definition of "filename" may be not too binding. there is a bit of prose about how filename from Content-Disposition should be treated in RFC 2183, but I added "the filename SHOULD NOT contain directory path information." > That's about it. Well that and maybe adding some more rationale > why we're using the Message-ID? hmm, yes. there's only this: | xBin uses the root hash as an identifier which is put in the | Message-ID, a header which is efficiently available for the reader | from any news server. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Technical Details
Message-ID:
<1rfzqs97yw.fsf@vingodur.ifi.uio.no>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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!nntp.uio.no!ifi.uio.no!not-for-mailReferences:
<1rvg0ehvar.fsf@vingodur.ifi.uio.no> <1rlm0vo71a.fsf@vingodur.ifi.uio.no> <20030206192654.560$AA@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <1rfzqs97yw.fsf@vingodur.ifi.uio.no> Subject: Re: xBin Message-ID convention Date: Thu, 13 Feb 2003 03:26:31 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <1rlm0vo71a.fsf@vingodur.ifi.uio.no> <20030206192654.560$AA@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail Newsgroups: news.software.nntp Organization: Dept. of Informatics, Univ. of Oslo, Norway Lines: 85 NNTP-Posting-Host: vingodur.ifi.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1045106792 17841 129.240.68.200 (13 Feb 2003 03:26:32 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 13 Feb 2003 03:26:32 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7