🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63718

Re: xBin and PARity files

#63718
From: Curt Welch
Date: Fri, 31 Jan 2003 02:48
44 lines
3584 bytes
Rene <invalid@email.addr> wrote:
> curt@kcwc.com (Curt Welch) wrote:
> > Rene <invalid@email.addr> wrote:
> > > Unless the hashes somehow include the PAR-data, the parity file
> > > cannot be trusted to be what it claims to be. This is the fundamental
> > > problem here if you want to know if you can trust a PAR-data file.
> >
> > Yeah. The only straight forward way we saw to figure out if the PAR
> > data was valid was to use it to reconstrut something.  What were were
> > talking about above is what do they we need to include to make sure
> > that once you have reconstructed some missing data, that you could tell
> > it was was valid.
> >
> > With no hash data, then you know that once the entire file is rebuilt,
> > you can recalcuate the file hash and see if it's correct.  But we were
>
> Yep. But when you use region-lockes PAR data, all you did is the known
> divide & conquer method. You divided the one problem into two (or
> several) smaller ones. Thus the solution also got "divided" :
>
> > looking at options of allowing the par tool to figure out the
> > reconstructed data was valid or bogus faster.  If you included the hash
> > of over leaf block, then one you had reconstructed any hash one hash
> > block, you would know if the par set you were using was valid or not.
> >
> > What we have not figured out is how much time is really saved by adding
> > all those extra hashs so it's hard to figure out if the hashes are
> > "worth it".
>
> Well why not simply define the regions such as they are power of two's
> blocks, so they are (in the full hash tree of the full file) covered
> somewhere by one single hash ? Then you'll only need to include that
> single hash.

Well, that's not bad.  But it makes it hard to do that and to also keep the
PAR file virtual regions aligned with the orginal articles you are trying
to repair.  So then you are forcing the PAR articles to be strange sizes
and you are forcing the user to download extra PAR data (because of the
alignment problems).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030130214837.046$fc@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!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <1r7kdr2id0.fsf@vingodur.ifi.uio.no> <20021231140408.995$iu@newsreader.com> <1rlm24a74r.fsf@thrir.ifi.uio.no> <20030101222332.694$bV@newsreader.com> <1rptrflqrl.fsf@ellifu.ifi.uio.no> <20030102152631.435$cR@newsreader.com> <20030104175550.818$mI@newsreader.com> <20030105223458.280$SO@newsreader.com> <20030106051307.259$0O@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030130214837.046$fc@newsreader.com>
Subject: Re: xBin and PARity files
Date: Fri, 31 Jan 2003 02:48:37 +0000
From: curt@kcwc.com (Curt Welch)
References: <20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <1r7kdr2id0.fsf@vingodur.ifi.uio.no> <20021231140408.995$iu@newsreader.com> <1rlm24a74r.fsf@thrir.ifi.uio.no> <20030101222332.694$bV@newsreader.com> <1rptrflqrl.fsf@ellifu.ifi.uio.no> <20030102152631.435$cR@newsreader.com> <20030104175550.818$mI@newsreader.com> <20030105223458.280$SO@newsreader.com> <20030106051307.259$0O@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!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Xmx7aEUE9LD83-FUdLB8i0sNW512lFZPXO5DCFC21roGq9
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: 43