πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80554

Re: Encrypt NNTP-Posting-Host?

#80554
From: Curt Welch
Date: Sat, 11 Apr 2009 18:14
68 lines
4633 bytes
"John F. Morse" <xanadu.bbs@example.invalid> wrote:
> Julien Γ‰LIE wrote:
> > Hi D. Stussy,
> >
> >> As a privacy issue, I don't see the purpose of encrypting it vs.
> >> omitting
> >> it to begin with?
> >>
> >> The originating server will know where the post came from via its
> >> logs.
> >
> > If the post dates back to two years ago, it is possible that you do not
> > have the corresponding logs.  However, you might still be able to
> > decrypt the content of the NNTP-Posting-Host: header.
> >
> > (That's a reason I see -- there might be better ones!)
> >
>
> That is the same idea I had, Julien. But in my case, any log older than
> three days is gone.
>
> Encrypting with a local key would allow the news administrator to
> decrypt the information with his key.
>
> This NNTP-Posting-Host could be something useful for proof whether
> someone's claim that they didn't post a certain message was truthful or
> not.
>
> The way things are going, it won't be long before the politicians
> require us to keep logs for their inspection. Not too bad if they are
> going to reimburse us for the work and storage costs associated with
> spying on Usenet. ;-)

The point is that if you put the data in the article, you don't have to
keep logs.  Your news spool becomes the log - as well as all the news
spools and archives of the internet the article may make it's way into. And
at the same time, you never have to worry about how long you have saved the
logs.  When the data is in the article, the "log" expires at the same time
the article does. :)

The only reason you typically look at the log data (in this case) is when
someone is complaining about a post from your server.  With encrypted data
in the article, it's fairly easy to verify that the article in question did
in fact come from your server (even after it's expired from your spools),
and you can easily identify which account was used to post it, without
having to search logs because the log data you need, is right there in the
abuse complaint.

However, when used like that, there's an important security issue that
Diablo gets wrong.  You can forge a post simply by copying the encrypted
header from a real message, to a fake one, and it becomes difficult to
detect when that's happened if you don't have posting server logs to back
it up.  The date is often in the encrypted data, so that must match (or be
close to) the Date: header, but that's easy to forge as well.  To reduce
this problem, a hash of the message id needs to be put into encrypted data.
Standard Diablo at least doesn't do that and it should.  With that, you
have some guarantee that the message-id of the complaint matches what was
really posted.  And by knowing the real message-id, you can search other
long retention servers or archives for a third-party verification of the
content of the "real" message.

The downside to the encrypted header approach of course, is that if your
encryption algorithm/key becomes exposed to the public, you risk having all
your logs exposed to the public.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20090411141113.432$lQ@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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!198.186.190.251.MISMATCH!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
References: <gron3g$imm$1@optima7.xanadu-bbs.net> <grorb1$2nf$1@aux.snarked.org> <grpj27$g2t$1@news.trigofacile.com> <grq5ns$ui1$1@optima7.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <20090411141113.432$lQ@newsreader.com>
Subject: Re: Encrypt NNTP-Posting-Host?
Date: Sat, 11 Apr 2009 18:14:01 +0000
From: curt@kcwc.com (Curt Welch)
References: <gron3g$imm$1@optima7.xanadu-bbs.net> <grorb1$2nf$1@aux.snarked.org> <grpj27$g2t$1@news.trigofacile.com> <grq5ns$ui1$1@optima7.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!198.186.190.251.MISMATCH!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com adHJx7yaH3jgCH_f, 0fK43cBQh79Zp4pNQ6Ylpfw8/8RqSTowO
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: 68
NNTP-Posting-Host: 0562ca86.nr5-q1.newsreader.com
X-Trace: DXC=827^<agI; `NB4AkSBQjmbGbgZaH`e<A[IZ?:i9<JJBSN;
 3U:Pfeb16K5^Ah^J`E7[JMLW`65I_<UB0`EG_\ZAmLI
X-Complaints-To: abuse@newsreader.com