🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60875

Re: [FNTP] 'in-completeness'

#60875
From: Curt Welch
Date: Tue, 01 Oct 2002 13:39
85 lines
5326 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> Andrew - Supernews <andrew+nonews@supernews.com> wrote:
>
> >> Now I am really curious how you want to prevent such "attacks"
> >> by using a hash and/or offset/size.    ;-))
> >
> >you can't. The only way to avoid the attack is to use unpredictable IDs.
> >Each message-id that you generate should have enough random data in it
> >(16 or so bits of entropy is enough) to make the attack impractical.
> >
> >That means, unfortunately, that it is never possible to construct a safe
> >scheme where you can deduce the message-ids of following parts given the
> >first part.
>
> And what would be the conclusion ?

He stated the conlusion above.  You simply can't use a Message-ID format
where you can deduce the other Message-IDs given the first one.  You have
to add randomness to it to make it safe.

> Is it worth to care about it ?

Why would you ignore it?  Why, when every possible door open for abuse on
Usenet has been used, would you open a new one when it's not needed?

> Would it be an argument to stop multipart identification ?

No.  I don't think you see Andrew's point.  You suggested (4 messages
back):

    My example was perhaps misunderstandable.
    Here an example for a three part message:

    <p1o3s4.abcdefghijklmno@server.com.bin>
    <p2o3s4.abcdefghijklmno@server.com.bin>
    <p3o3s4.abcdefghijklmno@server.com.bin>

    The msgid is _identical_ for all parts - execpt of
    the part-counter. This way we dont need any hash.

With that format, the second part 1 shows up, someone looking to cause
trouble could post short text messages to alt.test with the IDs of all the
remaning parts (this would be done automatcially with software, not
manually).  The text messages would move though most of Usenet in a few
seconds.  Because they have the same Message-ID as the multipart message,
and because they move much faster through Usenet, most servers would end up
with copies of the text messages and would refuse the real messages if they
were ever offered.

The fake messages wouldn't even be in the same group, so someone scaning
the group would think that the missing parts were just caused by "Normal
Usenet crap".  You would have to fetch the messages by ID to understant
what happened.

To fix this, all you have to do is add randomness to your Message-ID:

    <p1o3s4.n538gbue.abcdefghijklmno@server.com.bin>
    <p2o3s4.ojbn76en.abcdefghijklmno@server.com.bin>

            ^^^^^^^^  extra random stuff that changes with each ID.

This makes it much harder to block messages by ID because you would have
to post hundreds of thousands of fake messages for every one article you
wanted to block.

You can still use your IDs to correctly identify parts, you just have to
make sure that some part of the ID is random and that there is at least 16
bits or so of randomness there.

This means that given one ID, you can not predict what the others will be.
Any scheme that allows the "good guy" to predict Message-IDs is unworkable
on Usenet because of this abuse problem.

And don't confuse this abuse problem with the one where people post fake
messages like they can do today.  If I post a multipart message now, anyone
can post messages to the same group, with the same Subject, and the same
From: line etc.  That form of potential abuse is already here.  But, when
you do that, it doesn't block or cancel the orginal post, it just adds more
noise that could confuse the users and the download tools.  The orginal
articles will still be there.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021001093905.267$sh@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!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.wirehub.nl!newshosting.com!news-xfer1.atl.newshosting.com!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>

Show Full Headers
Complete Article Headers
Message-ID: <20021001093905.267$sh@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Tue, 01 Oct 2002 13:39:05 +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>
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!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.wirehub.nl!newshosting.com!news-xfer1.atl.newshosting.com!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 lnIGTN3@Wvx8c6q6a-k3-xsDloBYo2@dz7WYgD.TXQROxMI5t
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: 84