🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Sven Paulus Fri, 19 Dec 1997 00:00
X-Trace patch for 1.7.2 available
#24493
Author: Sven Paulus
Date: Fri, 19 Dec 1997 00:00
38 lines
2130 bytes
I just made a little patch available on ftp.tin.org as
/pub/news/servers/inn/unofficial-patches/patch-1.7.2-1.1-xtrace.gz

This patch contains two different functionalities

1) adding X-Trace and X-Complaints-To headers to local postings like
   INN-1.6b3's nnrpd does. The RFC1413-lookup portion is based on Luke
   Mewburn <lm@rmit.edu.au>'s old NNTP-Posting-User patch. 
   X-Complaints-To defaults to "newsmaster@<site>" and can be changed
   with the complaints-statement in inn.conf.  
   
   For those who don't know X-Trace: This header provides additional
   information about the server, onto which the article was posted, the
   exact time, when it was posted, the user's UNIX loginname if
   available and the clients IP address. If X-Trace headers are widely
   used on newsservers, life will be more difficult for spammers to
   hide their real identity.

2) if you have a local policy, which forbids the usage of falsified
   From addresses (.NO-SPAM etc.), a little DNS lookup is done and
   postings containing illegal From headers will be refused.

Both part can be enabled/disabled seperatly using two new
config.data-DO/DONTs.

The patch is relative to INN-1.7.2 insync 1.1a, if you plan to use it
with a plain INN-1.7.2, you have do edit 2 lines in nnrpd/Makefile
manually.

Sven
-- 
--Sven-Paulus----------28-48-32--3-----ub6v@rz.uni-karlsruhe.de------
--Karlstr.-55----------30--2-50-29-----sven@oops.sub.de--------------
--D-76133-Karlsruhe----44-49-10--8-----T#-49-721-9375094---------irc-
--PGP-ID-3C9A6091-------9-12-19-71-----F#-49-721-9375095-----svennie-

Re: X-Trace patch for 1.7.2 available
#24483
Author: J. Porter Clark
Date: Fri, 19 Dec 1997 00:00
19 lines
1392 bytes
Marc Slemko <marcs@znep.com> writes:

>I'm not thrilled with having X-Complaints-To defaulting to _anything_.
>Half the posts I see with the above header use an address that doesn't
>accept mail.  That makes the address useless for people sending
>complaints.  If you default to someone having to set it to make
>it appear, then when you do have an address it is a lot more likely
>to be valid.

I agree completely.  Most of the X-Complaints-To's I've seen, other
than the ones from my own server, are bogus.  Some of them have stuff
other than an email address!

-- 
J. Porter Clark    jpc@drum.msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch

Re: X-Trace patch for 1.7.2 available
#24487
Author: Marc Slemko
Date: Fri, 19 Dec 1997 00:00
23 lines
1529 bytes
In <67e5o6$fgj$1@imperator.oops.sub.de> Sven Paulus <sven@oops.sub.de> writes:

>I just made a little patch available on ftp.tin.org as
>/pub/news/servers/inn/unofficial-patches/patch-1.7.2-1.1-xtrace.gz

>This patch contains two different functionalities

>1) adding X-Trace and X-Complaints-To headers to local postings like
>   INN-1.6b3's nnrpd does. The RFC1413-lookup portion is based on Luke
>   Mewburn <lm@rmit.edu.au>'s old NNTP-Posting-User patch. 
>   X-Complaints-To defaults to "newsmaster@<site>" and can be changed
>   with the complaints-statement in inn.conf.  
>   

I'm not thrilled with having X-Complaints-To defaulting to _anything_.
Half the posts I see with the above header use an address that doesn't
accept mail.  That makes the address useless for people sending
complaints.  If you default to someone having to set it to make
it appear, then when you do have an address it is a lot more likely
to be valid.

Re: X-Trace patch for 1.7.2 available
#24508
Author: bill davidsen
Date: Fri, 19 Dec 1997 00:00
44 lines
2577 bytes
In article <67eema$5og$1@scanner.worldgate.com>,
Marc Slemko  <marcs@znep.com> wrote:
| In <67e5o6$fgj$1@imperator.oops.sub.de> Sven Paulus <sven@oops.sub.de> writes:
| 
| >I just made a little patch available on ftp.tin.org as
| >/pub/news/servers/inn/unofficial-patches/patch-1.7.2-1.1-xtrace.gz
| 
| >This patch contains two different functionalities
| 
| >1) adding X-Trace and X-Complaints-To headers to local postings like
| >   INN-1.6b3's nnrpd does. The RFC1413-lookup portion is based on Luke
| >   Mewburn <lm@rmit.edu.au>'s old NNTP-Posting-User patch. 
| >   X-Complaints-To defaults to "newsmaster@<site>" and can be changed
| >   with the complaints-statement in inn.conf.  
| >   

Adding X-complaints-To is reasonably easy (I'll put it in Monday),
as is any fixed content header. I added the X-post-time header to
posts out of Prodigy to reduce the time required to lookup who
really did a post. I'd love to add the real name, but the volume of
mail spam makes that unacceptable to users.

In January there will be another header line which gives a single
number identifying the poster, but not usable as a mail address. All
part of a new SPAM control package.

| I'm not thrilled with having X-Complaints-To defaulting to _anything_.
| Half the posts I see with the above header use an address that doesn't
| accept mail.  That makes the address useless for people sending
| complaints.  If you default to someone having to set it to make
| it appear, then when you do have an address it is a lot more likely
| to be valid.

I totally agree, an address which doesn't work is useless.

-- 
bill davidsen (davidsen@prodigy.com)
  Prodigy System Technical Services (914-448-1241)
  Project Leader, usenet news and RealAudio
What do you mean I shouldn't do things like that at my age? At my age if
you don't do things like that you might die of natural causes!

Re: X-Trace patch for 1.7.2 available
#24594
Author: Alex Bligh
Date: Wed, 24 Dec 1997 00:00
26 lines
1536 bytes
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. Don't
let anyone have it. Give the public key to whoever
deals with abuse in your organization. Add an
X-PGP-Encryped-Poster: line. That way all the
necessary information is there, and your abuse
team can read it if necessary.

Sometime I'll actually get round to writing the
code to do this and will post a patch.

Out of interest, assuming Prodigy is using
dynamic IP, is there a generally available
API for decoding a currently assigned IP address
into a username? Nothing we use in this area
is non-proprietary.

Alex Bligh
GX Networks (fomerly Xara Networks)

Re: X-Trace patch for 1.7.2 available
#24631
Author: Mike O'Connor
Date: Sat, 27 Dec 1997 00:00
12 lines
1099 bytes
Out of curiosity, has anyone implemented this sort of header munging
as a patch to innd -- art.c probably -- instead of at the nnrpd level?
Unfortunately, at least a few of "local" postings I want to do this
with are generated by folks who innxmit to the local server.
 
--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481


Re: X-Trace patch for 1.7.2 available
#25265
Author: Ron Echeverri
Date: Thu, 15 Jan 1998 00:00
20 lines
1425 bytes
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.

rone
-- 
Ron Echeverri	<rone+sig@best.net>	| "Happiness is free, and love is
Systems/Usenet Administration		|  relatively cheap, but HATE costs
Best Internet Communications, Inc.	|  more than you have in your wallet."
<URL:http://www.ennui.org/~rone/>	|  - Tjames Madison <tjames@pigdog.org>

Re: X-Trace patch for 1.7.2 available
#25292
Author: 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.


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