Article View: news.software.readers
Article #170496Re: Filtering AFN mk3 [Xnews]
From: Maxx Pollare
Date: Sat, 06 Aug 2005 08:37
Date: Sat, 06 Aug 2005 08:37
127 lines
6100 bytes
6100 bytes
Reality folded in on itself, and somewhere the following words from
"Mike Dee" apeared in history:
>> Or even better:
>> Score: -9999
>> Xref: (.*:)+
>> ~Xref: comparison|\.newswservers|\.readers
<snip>
>
> That's better, but I can't see any advantage over the original I
> posted. In fact I believe it will be even slower.
No... Any direct score is always faster then a wildcard entry, since
Xnews (and most Regex tests) will try every possible sequential
iteration until it finds a match or runs out of characters to test.
Take for example... "Xref: alt\.usen.*comparison"
After finding the string "alt.usen" it will then look for:
alt.usencomparison
alt.usen*comparison
alt.usen**comparison
alt.usen***comparison
alt.usen****comparison
alt.usen*****comparison
And ect... (where * is any character)
Until it finds a match, or runs out of characters to test.
Where as "Xref: comparison" will catch what you want as soon as the
string is found. Yes you can't always accurately "pin" your filters
with a simple entry, but one step is always faster then many. }:8P
>> And duplicating what the Xref header is already doing may not be
>> nesssary. If your server can't do XHDRs, or already has affected
>> & cross-posted then you should leave this part out.
<snip>
> However of the free ones I'm using, they do, so this definitely
> *must* stay. It is absolutely essential that it stays in and a
> newsserver allows XHDRs otherwise you're pissing against the wind
> to prevent these crap posts from getting through.
In what way? Both "Xref: :.*:" and "Xref: (.*:)+" become true for any
cross-posts, so as long as one of the cross-posted groups is available
on the server those entry will work. Any "Newsgroup" filters are just
complimentary, and may not even work for everyone.
<snip>
>> Dito for that "path" header...
>> And your still "encasing" unnnessary things...
>
> Nope, they are not unnessary, it catches that odd post where
> someone posts from with-in the NG and wants to tell the world
> what he thinks about these xposts but only to the NG (it's not
> xposted).
Which should be covered by the anon MID entries and as such becomes
unnecessary. It's also not supported by all newsservers, and some
servers I've run across don't even return it as an XHDR request.
> Also it doesn't trip-up over "robbery" or "debacle" etc.
Not that I've seen those two words used in either group, but if it
bothers you use "robb\b" instead...
>> [^alt\.free\.newsservers$]
>> Score: =-9999
>> Xref: (.*:)+
>> ~Xref: comparison|\.newswservers|\.readers
>>
>> Score:: -9999
>> Message-ID: @(ann?on|diz|mail\.cyp|mixm|paran|pun)
>> Subject: carol|\bde\b|fred|rec\.|robb
>> %If your newserver supports XHDRs...
>> % Path: nym\.a|fe0
>> % Newsgroups: ,
>
> Aproximately right, but I disagree over Subject and Newsgroups
Then pull a good sized sample (headers) from one of your free servers
and "test" each of those Subject entries in the QuickSearch box. How do
you think I came up with these, random guesses? }:8P
<snip>
> Thanks Maxx, It gives me food for thought. I don't have time to look
> too closely at it, I'm in the middle of moving house and unpacking,
> setting up stuff etc.
A few quick notes...
Hamster filters all "?" entries after the article is downloaded, so
it's easier on bandwidth to catch as much as you can with the Overview
first. So filtering on say the "subject" can be more easy on your
bandwidth even if it is less efficient.
Also, per group filters are applied on the Xref within Hamster, not
from any given group it's pulled from. So a filter setup for
["newsservers"] will also "potentially" score any article that's
cross-posted to that group as well.
That's why I use a different approach when filtering these groups:
[*]
# xTroll filter...
=-5002 xref "alien" "kooks" "politics" "religion" "spacebastards" "warez"
?-5003 newsgroups "alien" "gossip" "politics" "pro-wrestling" "religion" "warez"
# Anony filter...
=-9002 from {\balias} "author" {cr[iy]pto} "remailer" "supplied"
?-9003 path "!anonymous" "!nym2news" "!mail2news" "!there.is.no.cabal" "!usenet-gateway"
["newsservers" "ponds"]
=-1000 subject "FAQ" "Carol" "Cracklin" "Fred" "Horwathie" "Jabriol" "Maxx"
=-1500 xpost %>1
# =-1700 xref +"ponds" +"newsservers"
# Jabbers vs Carol...
=-7002 from {Ja[bv]riol} "@mailinator"
=-7015 references "@news.sisna.com"
And yes, I did spend some time optimizing it to work the way I wanted
it to. These are "complimented" by my Xnews filters for those who do
have something to add to the groups, but still choose to troll.
--
Maxwell "What's That Score" Pollare...
* Score-File Dump: http://www.dragonfur.ca/nowhere *
Technical Details
Message-ID:
<Xns96AA1AA8986E4AlphaTwo@news.dragonfur.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!208.45.169.225.MISMATCH!teal.octanews.net!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mailReferences:
<Xns96A7D5F48691Femteedee@130.225.247.90> <Xns96A77B048B647AlphaTwo@news.dragonfur.ca> <Xns96AA8A1B7C969emteedee@130.225.247.90>Show Full Headers
Complete Article Headers
Message-ID: <Xns96AA1AA8986E4AlphaTwo@news.dragonfur.ca> Subject: Re: Filtering AFN mk3 [Xnews] Date: Sat, 06 Aug 2005 02:37:14 -0600 From: Maxx Pollare <usenospam@dragonfur.ca> References: <Xns96A7D5F48691Femteedee@130.225.247.90> <Xns96A77B048B647AlphaTwo@news.dragonfur.ca> <Xns96AA8A1B7C969emteedee@130.225.247.90> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!208.45.169.225.MISMATCH!teal.octanews.net!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail Newsgroups: alt.free.newsservers,news.software.readers Followup-To: news.software.readers User-Agent: Xnews/05.08.12 X-No-Archive: yes Lines: 127 Organization: Read Free News NNTP-Posting-Date: 06 Aug 2005 03:37:15 CDT NNTP-Posting-Host: adb721ec.authen.white.readfreenews.net X-Trace: DXC=>9HCglSoMRcBCCi5oVNVglb_[jUcf=dBgPH=X44`; MPiRSMTalKS:Qb33bXH1>NiBjH_mbN1U<k3l0JY145a79<hcG\WPZdUaBg X-Complaints-To: abuse@readfreenews.net