🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57647

Re: Using Message-ID to store binary file information

#57647
From: Joe Newsreader
Date: Tue, 26 Mar 2002 01:48
28 lines
3032 bytes
On Mon, 25 Mar 2002 22:27:15 GMT, lordsnow@home.nl (=-lordsnow-=) wrote:

>> Each Par file is as big as the biggest file in the set, plus some
>> small overhead (hundreds of bytes).  There is also a very small
>> "master" Par file that doesn't help you recover, but which includes
>> the CRC information needed to allow checking of downloaded files.
>
>This sounds correct.. I think I was wrong when I said parts need
>to be EXACTLY the same.

I believe that the shorter files are extended (by assuming the missing
bytes are nulls (0x00)) when the Reed-Soloman codes are generated.
You need to know the lengths when reconstructing, because the basic
logic always yeilds reconstructed data of the maximum length, which
then must be trimmed down to the original length of the file being
reconstructed.

I believe the file lengths are in the small master .PAR file, and also in
each of the par files that can be used for correction.

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.

Joe

[1] Before encoding, if the encoded length depends on content (like yenc).
Technical Details
Message-ID: <t8kv9uspdu8blkhohkk8cdnj6lbftm9kja@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!newsfeeds.belnet.be!news.belnet.be!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin8.nnrp.aus1.giganews.com.POSTED!not-for-mail
References: <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <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>

Show Full Headers
Complete Article Headers
Message-ID: <t8kv9uspdu8blkhohkk8cdnj6lbftm9kja@4ax.com>
Subject: Re: Using Message-ID to store binary file information
Date: Tue, 26 Mar 2002 01:48:12 GMT
From: Joe Newsreader <not@this.address>
References: <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <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>
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!newsfeeds.belnet.be!news.belnet.be!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin8.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: 27
NNTP-Posting-Date: Mon, 25 Mar 2002 19:48:12 CST
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-nyuT+517+PCJvRbnWRZ8ZFw1NBC7Cj2flzqavytI0Eu47/xRpZkcW1uO00nCbAbnqS8Yspwr4A/M0aF!SWseRnY9AyY8cN84MVq7LPAXHzz7wWGGk+58c8KfXsIqPLX+n9Zm/i5NVlSiR3nbY5o=
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