🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Olaf Titz Wed, 22 May 1996 00:00
Re: Authenticated cancels and moderated newsgroups
#7885
Author: Olaf Titz
Date: Wed, 22 May 1996 00:00
71 lines
4327 bytes
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.]

In other words, each message is signed with one or several private
key(s) and cancels have to supply proof of knowledge of at least one
of these keys by being signed the same way. The match is computed in
much the same way as S/Key key sequences, i.e. you first supply
H(H(x)) and later prove you know x (which is a function of your
private key, not necessarily the key itself) by telling H(x).

Here x is also a function of the message itself. I see how this works
(and assume it works well) for the special case of cancels. Cancels
need no proof of "absolute" identity at all; all you need to
authenticate cancels is a proof that original and cancel come from the
same person (the extension to allow cancels by moderators, system
administrators etc is nice, but it just extends the notion of "come
from" a bit here).

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.

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.
Granted, cancels are the bulk of the authentication candidates, and
checkgroups etc. are rare enough to check them with an RSA scheme.
Anyone know a workable scheme for moderator approvals? :-)

One obvious disadvantage of any scheme that requires sender-side
signing of _every_ message is the need for backwards-compatibility.
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.
- sign it yourself: Would weaken the purpose.
- let it through unchanged, then what to do with cancels?
  - Making unsigned messages cancelproof is obviously wrong.
  - Letting everyone cancel them like before is probably the best
solution, it would become a "market force" on news systems/admins to
upgrade to the new "protect me against cancels system". BUT: this
opens up the possibility for rogue sites to delete the signature headers
and thus make the article cancellable at least to a part of the
network.

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.

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...

olaf
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Re: Authenticated cancels and moderated newsgroups
#7852
Author: Mary Conner
Date: Wed, 22 May 1996 00:00
88 lines
5399 bytes
In article <drs24f.e2h@bigred.inka.de>, Olaf Titz  <olaf@bigred.inka.de> wrote:
>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.

No, definitely not, but it does solve the problem of forged cancels,
and that's a big problem.

>Granted, cancels are the bulk of the authentication candidates, and
>checkgroups etc. are rare enough to check them with an RSA scheme.
>Anyone know a workable scheme for moderator approvals? :-)

If anybody has one, I'd love to hear it.  Right now, in the short term
the only solution I see is to continue as now, and make sure that
moderators have a way of cancelling messages out of their groups even
in the face of authenticated cancels.  In the long term, two things
may solve the problem.  One being that either computing power catches
up or a more efficient public key algorithm is discovered.  The second
is a hypothetical that we can't count on, and the first has the problem
that increasing computing power also increases the ability to crack keys,
making it necessary to make them more complex, which increases the
computing power necessary to verify them (at least this is how it's
been explained to me---I am not an encryption expert).

The second thing that may solve the problem is only partly technically
solvable.  We can write code that will make it possible for sites to
restrict the ability of posters to change their From: lines.  The 
problem is getting sites to pick it up and use it.  Users may see it
as a nuisance, unlike the authenticated cancels, which a fair number
of users may push their sites to get on board for.

>  - Letting everyone cancel them like before is probably the best
>solution, it would become a "market force" on news systems/admins to
>upgrade to the new "protect me against cancels system". BUT: this
>opens up the possibility for rogue sites to delete the signature headers
>and thus make the article cancellable at least to a part of the
>network.

I think this is the obvious best solution.  I prefer to leave the
functionality of the news system as unchanged as possible for those
who choose not to upgrade.  I can't know the reason why they might
choose not to upgrade, but if they've got their reasons, whatever
they are, they're entitled to them, and since the fact that they
haven't upgraded really only affects their own users, it's not something
the rest of Usenet sites should be concerned with.

As to the rogue site problem, that's generally easier to deal with
than individual rogue cancellers.  A site won't be able to affect
much news this way unless it is a major backbone-type site, and I
suspect that if it is at all possible for the downstream sites to
go to another feed because of this, they will.  

>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 don't think this will be much of a problem, and in fact, it may be
a good thing.  Major Usenet providers can sell feeds to sites, and
add their own signatures to the outgoing posts from that site during
a trial period, so that if their new customer abuses, they can easily
mop up the damage.  Spam cancellers would still be able to cancel spam,
in much the same way as moderators would, but if the upstream major
site can catch it in mid-spam, they can issue cancels that might be
only a few minutes behind the spam.  After all, if a site is abusing
and won't stop, many people advocate going to the next site in line
to try to get it stopped.  If we're going to hold upstream sites
pseudo-responsible for it, they need a way to actually do something
about the stuff that's already gone out.

>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...

Well, in most places, such a site would soon find itself no longer a
backbone site.  :)  In some places, such a backbone position may be
mandated by the government, or might be the only link into the country,
but in any event, the situation will be no worse than it is now.  Such
rogue "backbone" sites can now cancel anything that they consider
illegal *now*.


-- 
Mary Conner
trif@serv.net

Re: Authenticated cancels and moderated newsgroups
#7890
Author: 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?]

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads