🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60987

Re: [FNTP] 'in-completeness'

#60987
From: Curt Welch
Date: Fri, 04 Oct 2002 02:36
45 lines
3981 bytes
"Brian Truitt" <btruitt@rcn.com> wrote:
> [snip convo of doubly linked list of parts]
> Maybe we should go about it a little differently.
> Have the first post contain the MD5 hash of all the msg-id's of the
> multipart.

 ...

> I'm betting I'm overlooking something here, so someone point out the
> flaws =)

Not sure about what weakness you may have left, but more important is
that you are crating a system where reposts by thrid parties can
not be taken advantage of.  This is one of the big points of using
a file-hash and segment offset/size values.  It allows the download
tool to take advantage of _any_ repost of the same file at a later
date to fill holes left by missing articles from the previous
post.  So if the same file is posted again, but in a different group, and
with a different file name, and with different part sizes, the download
tool would still be able to recognize it and grab articles as needed to
fill gaps.

What we need is a way to verify posts are valid without having all the
posts, no matter who makes the post.  So the "extra data" we include to
allow that has to be based on the file contents, not things like the
Message-ID of a given post.

Doing something like including a hash value for every segment, in every
post, would be closer.  So if the file is broken into 100 parts, each post
would include the full set of 100 hash values.  But that is only useful if
all reposts ended up breaking the file into the same size parts.  And it's
still complex to deal with a fake post which had a set of fake hash values
(or many of them "valid" but some of them faked).

Ah, but if the file hash was calulated not as the hash of the entire file,
but as a hash of the block hashes (i.e. combine the hash values from each
segment into a new file, then calculate a hash of that), then it would be
close to impossible to create a list of 100 fake segment hash values which,
when they are hased, produce the correct file-hash value.  Maybe something
along these lines could work.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021003223647.898$vm@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.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <1rofajcuom.fsf@vingodur.ifi.uio.no> <20020928124251.046$Da@newsreader.com> <39167.u92203@archiver.winews.net> <slrnapgpct.qiq.andrew+nonews@trinity.supernews.net> <3113g.u92200@archiver.winews.net> <slrnaph54l.qiq.andrew+nonews@trinity.supernews.net> <43236.1a2205@archiver.winews.net> <20021001093905.267$sh@newsreader.com> <30416.2a2200@archiver.winews.net> <20021002113832.345$xh@newsreader.com> <anf7os$me7$1@bob.news.rcn.net> <20021002223806.641$Bd@newsreader.com> <8Y9ochx3cDC@3247.org> <1rbs6behtt.fsf@atta.ifi.uio.no> <anhk53$867$1@bob.news.rcn.net>

Show Full Headers
Complete Article Headers
Message-ID: <20021003223647.898$vm@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Fri, 04 Oct 2002 02:36:47 +0000
From: curt@kcwc.com (Curt Welch)
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <1rofajcuom.fsf@vingodur.ifi.uio.no> <20020928124251.046$Da@newsreader.com> <39167.u92203@archiver.winews.net> <slrnapgpct.qiq.andrew+nonews@trinity.supernews.net> <3113g.u92200@archiver.winews.net> <slrnaph54l.qiq.andrew+nonews@trinity.supernews.net> <43236.1a2205@archiver.winews.net> <20021001093905.267$sh@newsreader.com> <30416.2a2200@archiver.winews.net> <20021002113832.345$xh@newsreader.com> <anf7os$me7$1@bob.news.rcn.net> <20021002223806.641$Bd@newsreader.com> <8Y9ochx3cDC@3247.org> <1rbs6behtt.fsf@atta.ifi.uio.no> <anhk53$867$1@bob.news.rcn.net>
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.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com MFpzqycgOo4FGl3xMwJdgtOWEMDtHm7WYgD.TXQRL0XKk2
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: 44