🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38542

Re: User generated headers (was Re: What good, Altopia?)

#38542
From: Joe Greco
Date: Fri, 09 Jul 1999 00:00
43 lines
3353 bytes
In news.software.nntp article <yl673td26d.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote:
:In news.software.nntp, Joe Greco <jgreco@ns.sol.net> writes:
:> While it'd be nice in a perfect world to not rewrite Message-ID's, some
:> of us out here in the real world need to do things like prevent (or at
:> least severely limit) things like HipCrime-style attacks.  I rewrite all
:> my Message-ID's to a consistent tail, and then only allow a Cancel or
:> Supersedes if the target contains that tail.
:
:The majority of your users aren't going to supply their own message IDs or
:will provide message IDs that are close enough to your standard tail that
:you can still detect them.  For the rest of them, you could just store a
:database of message IDs in your Perl filter and then check it.  Expire it
:periodically a la Cleanfeed, and then you don't have to be intrusive.  A
:bit more work, but it's a cleaner solution, IMO.

I'm well aware what the "majority" of my users are and aren't going to
do.  I'm not concerned with them, despite the fact that the Message-ID's
that they provide certainly do not resemble what you suggest in the least,
even accounting for the dozen different names the news server goes by.
I'm concerned with the remainder of the users in any case.

As for the rest of your suggestion, it is useless in the context of a
multi-server system where you need to be able to perform consistent
checks across all of the systems in question; you propose requiring a
centralized check which means that the article would be rejected after
the article was accepted by a reader and then forwarded.  That isn't
acceptable.  And the words "Perl filter" do not exist around here, in
my extensively modified inn1.4u4...  which is not going to be upgraded
just so I can run a perl filter so that I can implement a poorer, less
optimal solution just to preserve Message-ID's.

Especially since I'm serving over a quarter of a million users, and I've
had great success doing precisely what I'm doing for almost half a decade.

I'm not saying it is for everyone.  There are certainly things to be
careful of...  including implementing some consistency checks to make
sure that you aren't posting articles that originated someplace else.
I could also do a history lookup on the user-supplied article and dump
it if that was successful, but quite frankly I haven't run into problems.

... JG

Technical Details
Message-ID: <37865eea$0$374@news.execpc.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: <01bec37e$f31cd040$4600a8c0@gargoyle> <bill-0907991335250001@192.168.1.1> <3786470b$0$374@news.execpc.com> <yl673td26d.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <37865eea$0$374@news.execpc.com>
Subject: Re: User generated headers (was Re: What good, Altopia?)
Date: Fri, 09 Jul 1999 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <01bec37e$f31cd040$4600a8c0@gargoyle> <bill-0907991335250001@192.168.1.1> <3786470b$0$374@news.execpc.com> <yl673td26d.fsf@windlord.stanford.edu>
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: 499232107
Sender: jgreco@earth.execpc.com
X-Trace: nreader1.newsops.execpc.com 931553002 374 jgreco@169.207.16.1
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.admin.net-abuse.usenet,news.software.nntp
X-Complaints-To: abuse@execpc.com