🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25292

Re: X-Trace patch for 1.7.2 available

#25292
From: Ian Stirling
Date: Fri, 16 Jan 1998 00:00
45 lines
3125 bytes
Ron Echeverri <rone@bofh.noc.best.net> wrote:
: In article <34A190D4.4665655B@globalnet.co.uk>,
: Alex Bligh  <ab@globalnet.co.uk> wrote:
:>bill davidsen wrote:
:>> I'd love to add the real name, but the volume of
:>> mail spam makes that unacceptable to users.
:>There is an easy way out here. PGP encrypt the IP
:>address, time, and username with a private key.

: Oooh, run PGP every time a user posts an article?  I can see that
: being REAL popular with most admins out there.


Is there a better way?

If you can bear there being a secret per server, then all you need to do
is, at compile time, or whenever, generate a unique ID for the server/
group of servers.
This is probably at least 100 bits long, making computational guessing
attacks hard.
Then, when the user posts, take the date, subject, newsgroups, and unique
ID string and run MD5 over it, taking maybe a millisecond tops.
Then fold the MD5 sum to the correct length (20 hex digits?)
Now XOR the user-ID, with the generated string, and no Message-ID:
is supplied, use it as a message-ID. (does anything say that the
hostname part has to be in the clear? If not, then just use the 
generated string as is.)
If the user supplies a message-ID, then of course, you need to add a 
header.
Every little bandwidth saved helps.

Of course, if you now want to look back at the article, and see who posted 
it, you take your secret, the date, ...
Generate an MD5 hash, then out pops the user-ID

I don't see any downsides over PGP.

-- 
Ian Stirling.   Designing a linux PDA, see  http://www.mauve.demon.co.uk/
----- ******* If replying by email, check notices in header ******* -----
He who lives in a glass house should not invite he who is without sin.


Technical Details
Message-ID: <000034BF77CE.NO_UCE@mauve.demon.co.uk>
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: <67e5o6$fgj$1@imperator.oops.sub.de> <67eema$5og$1@scanner.worldgate.com> <67eibo$he4$1@newssvr03-int.news.prodigy.com> <34A190D4.4665655B@globalnet.co.uk> <69lsi8$l0s$1@bofh.noc.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <000034BF77CE.NO_UCE@mauve.demon.co.uk>
Subject: Re: X-Trace patch for 1.7.2 available
Date: Fri, 16 Jan 1998 00:00:00 +0000
From: Ian Stirling <000034BF77CE.NO_UCE@mauve.demon.co.uk>
References: <67e5o6$fgj$1@imperator.oops.sub.de> <67eema$5og$1@scanner.worldgate.com> <67eibo$he4$1@newssvr03-int.news.prodigy.com> <34A190D4.4665655B@globalnet.co.uk> <69lsi8$l0s$1@bofh.noc.best.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!not-for-mail
X-Deja-AN: 316541504
X-Mail2News-Path: post-20.mail.demon.net!post.mail.demon.net!mauve.demon.co.uk
X-Note: Anti-UCE in effect, replying should work if you are not UCE'ng
X-Mail2News-User: Send.NO_UCE@mauve.demon.co.uk
X-Warning0: For unsolicited commercial email, sent or causing to be sent to my email address
X-Warning1: on this message, I reserve the right to levy a charge for my time and expenses
X-Warning2: of up to 100 pounds sterling per message, plus legal, penalty or other costs.
X-Complaints-To: abuse@demon.net
X-Trace: mail2news.demon.co.uk 884963316 8200 Send.NO_UCE mauve.demon.co.uk
Organization: None.
User-Agent: tin/pre-1.4-971106 (UNIX) (Linux/2.0.30 (i486))
Newsgroups: news.software.nntp