Article View: news.software.nntp
Article #56874Re: Servers and yEnc
From: Curt Welch
Date: Sun, 24 Feb 2002 18:35
Date: Sun, 24 Feb 2002 18:35
53 lines
3791 bytes
3791 bytes
Dirk Nimmich <nimmich@muenster.de> wrote: > Yume no Hikari wrote: > > Why no provisions for intelligent part detection without > > cluttering the subject line (two header fields would do it, say > > "X-yEnc-Filename: foo.bar" and "X-yEnc-Part: 3 of 32")? > > If you really want to have special headers for yenc, please use > only one header with MIME style parameters instead of a bunch of > headers. For example > > X-Yenc: 0x00000000; filename="foo.bar"; part=3; total=32 > > with the first parameter being the CRC of this part (the rest > should be obvious). Having one header is an advantage because you can get them with a single XHDR command as well (on the servers where XHDR works correctly at least). It would be really really nice if that header was required to also include the byte range (0 based) of the current part relative to the entire file (which also means the size of the part is known), and the size of the entire file. Also, it would be very usful to require a unique hash ID of some type for the entire file - like an MD5. Though it doesn't need to be as strong as an MD5 of the entire file. Maybe even a partial MD5 of only a handful of blocks from the file so it can be calculated very quickly even for every large files assuming you have seek and read the file? For example, you simply define a way of picking 10 1K blocks from the file (spread evenly over the entire file and including the first and last blocks). Then calculate an MD5 for only those blocks and use that (or even half of the MD5) as the hash ID of the file. The point of couse is to get a unique hash ID for the file so no mater who posted it and what file name they assigned to it, it would end up with the same hash ID every time. A CRC would probably be strong enough but a 64 bit hash seems like it would be better and not much hader. If you add that in the headers and not in the body then it would be possible to make a download tool very smart about finding and using partial reposts of the same file even when the repost was posted by a different user, and with a different part size and with a different file name. And likewise, severs could be smarter about filtering posts based on the total size of the file after all the parts are re-combined. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20020224133559.218$LO@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!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<Xns91B8168561D9DHPotterhogswarthcom@66.75.162.196> <200220020539430924%planb@newsreaders.com> <slrna7746e.1dfg.andrew+nonews@trinity.supernews.net> <200220021438285144%planb@newsreaders.com> <1014235814.538156@ok-corral.gunslinger.net> <36169.l22207@archiver.winews.net> <pan.2002.02.23.03.38.54.410120.15165@nevermind.where> <a5b8rd$9tq$05$1@news.t-online.com>Show Full Headers
Complete Article Headers
Message-ID: <20020224133559.218$LO@newsreader.com>
Subject: Re: Servers and yEnc
Date: Sun, 24 Feb 2002 18:35:59 +0000
From: curt@kcwc.com (Curt Welch)
References: <Xns91B8168561D9DHPotterhogswarthcom@66.75.162.196> <200220020539430924%planb@newsreaders.com> <slrna7746e.1dfg.andrew+nonews@trinity.supernews.net> <200220021438285144%planb@newsreaders.com> <1014235814.538156@ok-corral.gunslinger.net> <36169.l22207@archiver.winews.net> <pan.2002.02.23.03.38.54.410120.15165@nevermind.where> <a5b8rd$9tq$05$1@news.t-online.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!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com mBQU@zW/R2CACBn9h0Fl3@P05oBZCpCcHo-Ylpfw8_qXM6thfD
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: 52