🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57666

Re: Using Message-ID to store binary file information

#57666
From: Joe Newsreader
Date: Tue, 26 Mar 2002 15:38
33 lines
3580 bytes
On 26 Mar 2002 05:36:49 GMT, curt@kcwc.com (Curt Welch) wrote:

>> If you want to protect the parts of a multipart post, you either have to
>> make all the parts the same size[1], or else keep track of the sizes of
>> each of the parts and put that information into the par parts.
>
>No, not really.  We don't want the par files to have anything to do with
>the sizes of the posted articles.  We want the par files to calculate
>checksums for well defined bytes in the file which will be easy to specify
>in a short header on the Par file itself.  The download tool simply keeps
>track of what byte ranges are still missing from the file, and needs to be
>able to look at that par header and figure out if the par file will be
>helpful to fill in any of the missing bytes.  Current par files aren't
>based on the original large file, they are based on the split version.  But
>nothing about how the big file was split gets stored in the par file
>description.

Oh, that's clever.  Don't actually break up the file, just treat it as an array
of parts of some size that is convenient.  I like it.

If you do that, you don't even have to keep track of the byte ranges you
have retrieved.  Missing bytes are no different than bad (corrupt) bytes -
both need to be repaired.  If you have an MD5 checksum for each part,
it will detect missing parts just as well as bad ones.  OK, so it's more
expensive in terms of computation, but it would avoid the hassle of
keeping track of posted part sizes and might be more reliable as a
result.  It also allows PAR's to be posted after the fact, as long as
the poster still has the original file and knows the PAR segment
size.

Joe

Technical Details
Message-ID: <6951auo795r9foaor8fp4hd4g86uhvrpds@4ax.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!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin6.nnrp.aus1.giganews.com.POSTED!not-for-mail
References: <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@newsreader.com> <a7gok1$l864t$1@ID-26705.news.dfncis.de> <3c9e2b4c.46050296@news> <20020323233641.229$84@newsreader.com> <ktir9u8jf9jo2iukb02r1irgdksa00nru6@4ax.com> <3ca3a405.59245312@news> <t8kv9uspdu8blkhohkk8cdnj6lbftm9kja@4ax.com> <20020326003649.177$76@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <6951auo795r9foaor8fp4hd4g86uhvrpds@4ax.com>
Subject: Re: Using Message-ID to store binary file information
Date: Tue, 26 Mar 2002 15:38:54 GMT
From: Joe Newsreader <not@this.address>
References: <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@newsreader.com> <a7gok1$l864t$1@ID-26705.news.dfncis.de> <3c9e2b4c.46050296@news> <20020323233641.229$84@newsreader.com> <ktir9u8jf9jo2iukb02r1irgdksa00nru6@4ax.com> <3ca3a405.59245312@news> <t8kv9uspdu8blkhohkk8cdnj6lbftm9kja@4ax.com> <20020326003649.177$76@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!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin6.nnrp.aus1.giganews.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 32
NNTP-Posting-Date: Tue, 26 Mar 2002 09:38:54 CST
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-FOdmA+PeYA+iCqaKm4k5CT9GlQ8ERTdT6NuQs/qeTclRT1DXUBCwrtoub+jhK5HFQtodcywqV+CI7QF!RpQ2HvEt9yVKYLcHlNx6LEddMiHgp9d9xfGr+abu/G0gKh6FUytgl0kinF3cJ6Px6Q==
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly