🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73656

Re: [leafnode] filter examples

#73656
From: Troy Piggins
Date: Fri, 19 May 2006 11:44
58 lines
3697 bytes
* Whiskers wrote:
> On 2006-05-17, Troy Piggins <usenet-0605@piggo.com> wrote:
>> Got my leafnode server up and running smooth.  Liking it so far.
>>
>> Just wondering if anyone has some sample filters to post or links?
>>
>> The 2 line sample filters provided with the package are pretty
>> simplified.  I'll come up with some of my own but no need to reinvent
>> the wheel I reckon.
>
> People may be reluctant to reveal their filter files, for fear that the 
> clowns they are successfully blocking will find clues to enable them to 
> by-pass the existing filters.  However, I'll risk it:

I thought about that after posting.  Thanks for taking the risk...

> .-----[ /etc/leafnode/filters ]
[snip]
>
> My filters are to block some particular cross-posting nuisances, and those 
> 'mail to news gateways' and 'anonymous posting services' or other servers 
> (real or fake) that seem to me to be used so heavily for negative purposes
> that I'll risk missing any 'legitimate' article that might be posted that
> way.  Other people will probably have quite different ideas about what to
> block.  
>
> I benefit from using upstream servers that have effective 'anti-spam' and
> 'anti-flood' filtering of their own, otherwise my filters file would have
> to be a lot bigger and more complex.
>
> Obviously, if you want to subscribe to a group that is plagued by 
> cross-posting trolls, your filters need to be a lot more subtle and 
> selective - and are probably best done using your usenet client rather 
> than leafnode.

Yes.  I have some extensive/selective scorefile entries in slrn.

> Note that using any element to filter on, that is not included in the 
> 'overview', is known as 'expensive' filtering as it requires that the 
> whole body be fetched before the filter can be applied - thus not saving 
> any bandwidth compared with not having the filter in place, and making the 
> fetch operation take longer.

Yeah I tweaked that on mine just recently.  I had some scores based on
Newsgroups header that were slowing things down.  Changed those and all
good now (in slrn I am talking about).

> You can see what the overview does contain by looking at leafnode's own 
> overview files, eg /var/spool/news/news/software/nntp/.overview - the 
> first entry on each line is the local article number, and the rest of the 
> line is each of the 'overview headers' (missing the name of the header, so 
> you have to do some interpretation to work out what's there).

THanks.  I'll peek at them to familiarise myself.

-- 
Troy Piggins                                RLU#415538 <http://counter.li.org>
My dogma just ran over my karma 
Technical Details
Message-ID: <20060519213938@usenet.piggo.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <20060518082558@usenet.piggo.com> <l44uj3-g3l.ln1@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <20060519213938@usenet.piggo.com>
Subject: Re: [leafnode] filter examples
Date: Fri, 19 May 2006 21:44:50 +1000
From: Troy Piggins <usenet-0605@piggo.com>
References: <20060518082558@usenet.piggo.com> <l44uj3-g3l.ln1@ID-107770.user.individual.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.nntp
Reply-To: usenet-0605@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 58
NNTP-Posting-Host: 203.206.74.180
X-Trace: 1148040002 per-qv1-newsreader-01.iinet.net.au 31518 203.206.74.180