🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #87955

Re: [Hamster] Filtering on NNTP Posting Host

#87955
From: Don Quixote
Date: Thu, 22 Nov 2001 06:28
48 lines
2722 bytes
Damaeus might have said:

>First, for reference, here's the set of filters I'm working with in
>Hamster to try to filter spammers in certain newsgroups:
>
>[newsgroup.name]
>
>-10 Organization "Epoch Internet"
>-10 X-Original-NNTP-Posting-Host: "212.46"
>-10 NNTP-Posting-Host: "nas.isv.dn.ua"
>-10 NNTP-Posting-Host: "62.42"
>-10 NNTP-Posting-Host: "24.226"
>-10 NNTP-Posting-Host: "24.129" "205.197"
>
>
>I haven't actually tested this yet because I'm just now setting it up, but
>basically I'm checking for spam in the newsgroup.  I'd rather filter known
>spammers and add new spammers as needed to the score file rather than try
>to anticipate what legitimate posters will put in their subject lines and
>whatnot.  So I decided to simply filter on NNTP posting host when it's
>available.  I have currently set up the method above to block all posts
>from 212.46, 62.42, 24.226, etc.... 
>
>Only problem is, take the following example...
>
>   -10 NNTP-Posting-Host: "24.129" "205.197"
>
>...if a legitimate poster has the NNTP-Posting-Host 179.221.205.197,
>wouldn't that filter kill it, too?  I figure it would.  Are there any wild
>cards I can enter, such as 205.197.***.*** ???
>
>Damaeus

I've not had to do dotted yet, but for domains the 
-500 message-id "wanadoo.fr" syntax works.  I don't 
think your examples will work though.  I can't recall
if Hamster does real reg ex's, but I don't think your
syntax will work.  I could be wrong.

I'd appreciate seeing an example of a kill or plus
based on ip that works in Hammy, personally.



Good luck.


Technical Details
Message-ID: <tf6pvtg1b21jpg9jnr2soongifsr59emsf@news.fishead.meowkitty.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.cidera.com!Cidera!news.netcarrier.net!not-for-mail
References: <v42ovt4v81q60a1h68ga9iug0e5da5fk1v@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <tf6pvtg1b21jpg9jnr2soongifsr59emsf@news.fishead.meowkitty.com>
Subject: Re: [Hamster] Filtering on NNTP Posting Host
Date: Thu, 22 Nov 2001 01:28:52 -0500
From: Don Quixote <spambait@whitehouse.gov>
References: <v42ovt4v81q60a1h68ga9iug0e5da5fk1v@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.cidera.com!Cidera!news.netcarrier.net!not-for-mail
Newsgroups: news.software.readers
Reply-To: donq@eclipse.net
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 47
NNTP-Posting-Host: 207.207.250.34
X-Complaints-To: news@netcarrier.com
X-Trace: news.netcarrier.net 1006411434 207.207.250.34 (Thu, 22 Nov 2001 01:43:54 EST)
NNTP-Posting-Date: Thu, 22 Nov 2001 01:43:54 EST
Organization: NetCarrier Internet Services