🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31084

Re: Sample CleanFeed.Conf files?

#31084
From: Dougal Campbell
Date: Tue, 01 Sep 1998 00:00
58 lines
3293 bytes
Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:
> 
> 	Anyone willing to share their CleanFeed.Conf files? I'd like to get
> some ideas on what others are doing. I'm also not to sure on the syntax of
> the config_append section.
> 
> You can email them to me if you like. uce_mike@yahoo.com

I'm using the following in my cleanfeed.local:

###
sub local_filter_newrmgroup {
        ($hdr{'Path'} =~ /($config{'bad_cancel_paths'})/o) &&
                return "Bad new/rmgrouper - $1";

        (($hdr{'Newsgroups'} =~ /^alt\./) &&
          ($hdr{'From'} =~ /group-admin\@isc\.org/)) &&
                return "Bad new/rmgroup from group-admin - alt";
}
###

In other words, I apply "bad_cancel_paths" entries to newgroup and
rmgroup messages, not just cancels, and any newgroup or rm group which
claims to be from group-admin@isc.org but is for an alt group is
obviously bogus. The "Bad new/rmgrouper" filter has rejected several
messages over the past couple of days. I just added the other rule
ealier today, and it hadn't yet caught anything last time I checked
(maybe because of a typo that I just corrected a minute ago).

I could make this more generic by making a var to hold only the names
of the hierarchies that group-admin sends out controls for, but I'm
lazy. I might have to go ahead and add something like that....

  'isc-groups' => '^(comp\.|news\.|rec\.)', ... (you get the idea)

I see that there have been some bogus newgroups issued for the 'nyc'
and 'dc' hierarchies recently.

Another idea might be to keep a list of well-known pgp-verify issuers,
and reject new/rmgroups with X-PGP-Sig and X-Info headers which don't
come from an approved issuer. I haven't seen the hax0rs randomizing
their "From:" headers on the controls, but I figure when enough news
admins have clamped down on group-admin newgroups well enough, they'll
switch to something else. This would at least force them to limit these
types of attacks to a smaller set of known patterns.

-- 
Dougal Campbell, Systems Manager, ADViCOM        dougal@advicom.net
http://www.advicom.net/                 http://advicom.net/~dougal/
           See my homepage for anti-spam information!
       Public PGP key available at http://pgp5.ai.mit.edu/
          or http://advicom.net/~dougal/dougal-pgp.txt
QUOTE OF THE MOMENT:
Coward, n.:
	One who in a perilous emergency thinks with his legs.
		-- Ambrose Bierce, "The Devil's Dictionary"

Technical Details
Message-ID: <6si04m$f5f$1@polo.advicom.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
References: <6sep95$2ag$1@valkyrie.OnRamp.Net>

Show Full Headers
Complete Article Headers
Message-ID: <6si04m$f5f$1@polo.advicom.net>
Subject: Re: Sample CleanFeed.Conf files?
Date: Tue, 01 Sep 1998 00:00:00 +0000
From: Dougal Campbell <dougal@vespucci.advicom.net>
References: <6sep95$2ag$1@valkyrie.OnRamp.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: 386954331
X-Complaints-To: abuse@advicom.net
X-Trace: polo.advicom.net 904692694 15535 199.170.120.42 (1 Sep 1998 23:31:34 GMT)
Organization: ADViCOM / Huntsville, AL http://www.advicom.net/
User-Agent: tin/pre-1.4-980202 (UNIX) (FreeBSD/2.2.7-STABLE (i386))
NNTP-Posting-Date: 1 Sep 1998 23:31:34 GMT
Newsgroups: news.software.nntp