🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60925

Re: [FNTP] 'in-completeness'

#60925
From: Brian Truitt
Date: Wed, 02 Oct 2002 16:51
47 lines
3513 bytes
"Curt Welch" <curt@kcwc.com> wrote in message
news:20021002113832.345$xh@newsreader.com...
> archiver@i3w.com (Juergen Helbing) wrote:
> > curt@kcwc.com (Curt Welch) wrote:
>
> So, you would need a way to list offset-size-hash values in the article -
> like at the end of the normal data.  This is easy when yEnc is used
because
> yEnc has an end-of-data marker even when multipart files are used.  You
> could just add the list of segment hash values at the end in some standard
> format and the current yEnc decoding tools would ignore it. MIME of course
> makes it simple as well.

If you have a beginning-of-data and end-of-data marker in each segment, the
posting program could do something like this:

For each segment, pick an 8 character random string.
crypt() that string, or other non-trivial to reverse function, and put the
crypt()ed value (or some fraction thereof, maybe first 8 charaters) in the
end-of-data tag.
Put the original 8-character string in the beginning-of-data tag in the next
part.

This way, the person trying to fake the posts would have to reverse-engineer
the crypt() value before you could get the next post out, which in all
likelyhood isn't gonna happen.

Of course, if the posters server is collecting all the posts before passing
them on to peers, it's be a slim to none chance that someone could get out a
fake post with the same msg-id, correct size, and matching cryptlinks before
the server could push all the parts to the next peer in line for it.

>
> BTW, dealing with the fake segments makes the idea of using a quick hash
> (of only the first X bytes of the file) unworkable.  You would need to
> calculate the hash on the entire file in order to prevent these forged
> parts from breaking things.
>
> --
> Curt Welch
http://CurtWelch.Com/
> curt@kcwc.com                          Webmaster for
http://NewsReader.Com/


Technical Details
Message-ID: <anf7os$me7$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!newshub.northeast.verio.net!verio!nntp.abs.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!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>

Show Full Headers
Complete Article Headers
Message-ID: <anf7os$me7$1@bob.news.rcn.net>
Subject: Re: [FNTP] 'in-completeness'
Date: Wed, 2 Oct 2002 12:51:40 -0400
From: "Brian Truitt" <btruitt@rcn.com>
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>
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!newshub.northeast.verio.net!verio!nntp.abs.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail
Newsgroups: news.software.nntp
Lines: 46
X-Trace: UmFuZG9tSVacrjF3PNO5Fn8W3c0UqSrtIE8touqOBO7A6HAH4T2MzCou5zUDYsXd
X-Complaints-To: abuse@rcn.com
NNTP-Posting-Date: 2 Oct 2002 16:44:12 GMT
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MSMail-Priority: Normal