🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #145437

Re: XNews: Basic filtering query...

#145437
From: Murray Peterson
Date: Sun, 28 Mar 2004 23:26
46 lines
2963 bytes
MChan <mchan@not.valid.email> wrote in
news:ea2dafe33726982927c1515f08cd8805@news.teranews.com: 

Just adding a bit to >Q<'s responses...

> (2.) What is the maximum length of "text-filter" allowed in each line
> (without tab/spacing indent)? And how big is "score.ini" can be loaded
> by Xnews without loosing it's performance? (please tell your
> O/S,Processor & RAM) 

I can't give you exact numbers, since the performance also depends on the 
type of filter expressions used.  You can certainly get up to some very 
large score files without seeing any noticeable change in performance.

> (5.) If I'm only using "plain" Xnews (without Hamster/NFilter/other
> news-proxy), is it possible to "hard kill" sporge posts which have
> such scrambling characters in subject-field like below, and what kind
> regex can filtered them? 
>   (a)  O X X U Cwmgc HqzpeTs QzTO O Cn Qhs Sczcoa Akfv Ler JwzrpkB X c
>    (b)  Re: XsdaArtpbylp Cl Nbqk Jx Clk YjE AUq Qoq PXoYp Bm f
>   (c)  Attn: abwi0: KludxM TugoRf Wddiy X Tai V Jrymu Ugtmqydjoalvby
>   Fcl ZOv FdHmcepr (d)    Re: QndsDtMl Vc Q Jbavll Peup M WeRqwoj C
>   Mao Cg AbieUheAeq Vxv 

Not easily, but if you are willing to put in enough score entries, then 
it's possible to kill most of them.  Filter on letter sequences that never 
(or very rarely) appear in the english language.  For example:

Score:: -9999
    	Subject: q[^u]|kx|kf|fv
and so on (many more entries needed).

To save a lot of effort, it would probably be best to find an existing 
table of letter-pair probabilties and use those to program a score file 
generator.

All your work will be for naught if the sporger starts using a higher order  
generator, since the subject strings will then contain valid letter 
probabilities.  Even worse is a sporger that uses word generators instead 
of letter generators. 

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID: <Xns94BAA76E033B9farkle@24.71.223.159>
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!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!pd7tw2no.POSTED!53ab2750!not-for-mail
References: <ea2dafe33726982927c1515f08cd8805@news.teranews.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns94BAA76E033B9farkle@24.71.223.159>
Subject: Re: XNews: Basic filtering query...
Date: Sun, 28 Mar 2004 23:26:27 GMT
From: Murray Peterson <mwp@home.com.invalid>
References: <ea2dafe33726982927c1515f08cd8805@news.teranews.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!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!pd7tw2no.POSTED!53ab2750!not-for-mail
X-Trace-PostClient-IP: 68.145.154.18
Newsgroups: news.software.readers
Organization: None
User-Agent: Xnews/06.02.16
Lines: 45
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse@shaw.ca
X-Trace: pd7tw2no 1080516387 24.71.223.147 (Sun, 28 Mar 2004 16:26:27 MST)
NNTP-Posting-Date: Sun, 28 Mar 2004 16:26:27 MST