🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7890

Re: Authenticated cancels and moderated newsgroups

#7890
From: Dr. Dimitri Vulis
Date: Wed, 22 May 1996 00:00
123 lines
6373 bytes
In article <drs24f.e2h@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de> writes:
>Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>
>[in short: use a strong hash H; every article contains a header giving
>a number of X(n):=H(H(m+p(n))+mid) for the message m cat'd with a
>private key p(n) for several n; cancellation requires supplying
>Y(n):=H(m+p(n)) so that the news system can compute H(Y(n)+mid) and
>check for X=Y(n). I don't see the need for the additional inclusion of
>mid here, btw.]

Suppose you computed M1=H(article+secrey passphrase) and just M2=H(M1)
(no message-id). Then it would be possible for attackers to pre-compute
a (huge) look-up table with many pairs of M1's and M2's. Here the
addition of message-id forces a brute-force attacker to search through
all possible M1's every time to match a given M2 and message-id.

...
>This is not a general authentication mechanism. In particular, it
>doesn't work for authenticating moderator approvals. The reason is
>that the private-key scheme described here approves messages against
>_messages_, not anything against fixed entities (like persons).
>Using a constant x would defeat the purpose.

You're right - this scheme is not being proposed to authenticate
"Approved:" headers. See below for another scheme for that purpose.

>So this scheme is elegant, but I'm afraid it's not powerful enough for
>solving all the problems associated with an authenticated news system.

Nor is it intended to. This scheme is for authenticating "Control:
cancel" and "Supersedes:" headers. I believe it can do that well.

>Anyone know a workable scheme for moderator approvals? :-)

Why yes. Consider the PGPMoose system already used by the growing number
of moderated newsgroups.

Initially, the moderators let their public keys known to the maintainer
of PGPmoose(s) of their choices. Note that we needn't assume that
there's a centralized PGPmoose deamon, nor that all PGPMoose maintainers
agree on the same list of moderators.

Whenever the moderators approve and post an article, they put a
specially formatted PGP signature as one of its headers. (See, for
example, misc.legal.moderated.)

The PGPmoose deamon scans the moderated newsgroups on its list. Whenever
it sees a new article, it checks if it includes the special header with
a PGP signature that it can verify. If it can't find and verify the
header, then the deamon issues a cancel for the article. (Of course, if
we switch to NoCeM's, then the deamon will issue a NoCeM rather than a
cancel.)

This scheme does not require the newsgroup moderator to watch vigilantly
for unauthorized postings and to issue cancels by hand. It's just stupid
for other newsgroup moderators not to use this scheme now.

This does not require every site to keep track of moderator's public
keys. Only the PGPMoose deamon operators need to keep track of that.
Sites (or users) need only keep track of PGPMooses and despammers whose
NoCeMs they choose to honor.

The only thing that needs to be changed under the authenticated cancels
proposal is to have the PGPMoose deamon issue NoCeM's in addition to or
instead of cancels. If enough people honor the PGPMooses' NoCeM's, the
"unauthorized" articles won't be seen.

>What to do with unsigned messages coming in from a neighbour running
>older news software? You could
>- refuse it: Not an option; it isn't possible to upgrade the whole
>world at once.

Right, this wouldn't work.

>- sign it yourself: Would weaken the purpose.

Right, this would be inappropriate under most circumstances.

This would be appropriate for an NNTP server (such as INN) that receives
an article via POST from a news reader. If there's no user Cancel-Lock,
it might add the site Cancel-Lock anyway.

>- let it through unchanged, then what to do with cancels?

Letting it through unchanged (except for Path:) sounds like the
easiest thing to do. That's what most sites do now.

If it's a cancel, don't propagate it unless it has a Cancel-Key.

>  - Making unsigned messages cancelproof is obviously wrong.

This is not obvious to me. That's what I would do. Please explain.

>Another rogue-site problem could be that someone adds signatures that
>allow him to cancel the article to every article passing through his
>system. This works because of the above-mentioned authentication
>against "messages not persons": you don't know whom to trust in the
>end.

I can imagine situations where this is appropriate - e.g. a one-person
site acting as a leaf node behind a bigger site. The bigger site would
then be a "local news administrator" in the meaning of RFC 1036.

>Such abuses _will_ happen, you can easily imagine a system in a
>backbone position that goes by the "we reserve to cancel everything
>that we consider illegal" philosophy...

Suppose a major backbone like MCI or Sprint tries that. Everyone
who feeds off of that backbone will drop it like a hot potato and
get their feeds elsewhere.

Given that the backbones don't honor tale's rmgroups anymore,
I find this highly unlikely.

The opposite problem would be for a site to strip Cancel-Lock: headers
from the article that pass through it, rendering them uncancellable.
I guess the only solution is not to accept feeds from such a site.

[Would you accept a feed from a site that adds a "Comment: buy our
product" header to every article that passes through it?]

Technical Details
Message-ID: <o8acoD28w165w@bwalk.dm.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!not-for-mail
References: <4na631$if3@villa.fc.net> <4nd3ar$nk4@jik.israel.net> <drndfi.gv2@bigred.inka.de> <B617ND43w165w@bwalk.dm.com> <drs24f.e2h@bigred.inka.de>

Show Full Headers
Complete Article Headers
Message-ID: <o8acoD28w165w@bwalk.dm.com>
Subject: Re: Authenticated cancels and moderated newsgroups
Date: Wed, 22 May 1996 00:00:00 +0000
From: dlv@bwalk.dm.com (Dr. Dimitri Vulis)
References: <4na631$if3@villa.fc.net> <4nd3ar$nk4@jik.israel.net> <drndfi.gv2@bigred.inka.de> <B617ND43w165w@bwalk.dm.com> <drs24f.e2h@bigred.inka.de>
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!not-for-mail
X-Deja-AN: 156184887
Organization: Brighton Beach Boardwalk BBS, Forest Hills, N.Y.
Newsgroups: news.admin.misc,news.admin.net-abuse.misc,news.software.b,news.software.nntp,news.software.readers,sci.crypt