🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Paul Walton Sun, 23 May 2004 09:21
[Dialog] Scoring rules
#148729
Author: Paul Walton
Date: Sun, 23 May 2004 09:21
15 lines
1243 bytes
Is it possible to construct scoring rules of the form

=-1 Bytes %<Lines % * 10

or 

=-1 Bytes %<500 - Lines % * 10

I don't get a syntax error on entering them but they doesn't seem to work
:(

Regards,
-- 
Paul Walton
West Midlands, UK
Re: [Dialog] Scoring rules
#148988
Author: daRkSidE
Date: Fri, 28 May 2004 16:55
13 lines
1950 bytes
*Paul Walton*, 23.05.04 11:21, news.software.readers:

> =-1 Bytes %<500 - Lines % * 10
> I don't get a syntax error on entering them but they doesn't seem to work
> :(

Could you explain what your purpose is?

-- 
28.05.2004 18:54:55, daRkSidE
Foobar: Artisti Vari - The Remains - Don't Look Back
Su it.news.votazioni è in corso la votazione per it.sport.rugby:
Message-ID: <MK.it.sport.rugby.0.1@id.news.nic.it>
Re: [Dialog] Scoring rules
#148989
Author: Paul Walton
Date: Fri, 28 May 2004 17:35
22 lines
1851 bytes
On Fri, 28 May 2004 18:55:56 +0200, daRkSidE wrote:

> *Paul Walton*, 23.05.04 11:21, news.software.readers:
> 
>> =-1 Bytes %<500 - Lines % * 10
>> I don't get a syntax error on entering them but they doesn't seem to work
>> :(
> 
> Could you explain what your purpose is?

One of the groups I subscribe to is being flooded with messages from a
malicious user. The user changes his headers to avoid easy
identification/ignoring of the postings.

Each posting has a large number of lines but only a single character in
each line. My aim is to identify messages with an low average character
count per line and thus be able to delete/ignore the messages.

Regards,
-- 
Paul Walton
West Midlands, UK
Re: [Dialog] Scoring rules
#148990
Author: Enrico Bauer
Date: Fri, 28 May 2004 18:38
24 lines
1684 bytes
28.05.2004 19:35:24, *Paul Walton*:

> My aim is to identify messages with an low average character
> count per line and thus be able to delete/ignore the messages.

Dangerous.

Try
=-1 Lines %>XXXX +@Bytes:%<XXXX

or

=-1 Lines %>XXXX -@Bytes:%<XXXX


Not tested.

+@ means "and", -@ means "and not".

HTH
Enrico B.
-- 
No fear. No distractions. The ability to let that
which does not matter truly slide.
Re: [Dialog] Scoring rules
#148992
Author: MLC
Date: Fri, 28 May 2004 19:28
41 lines
2612 bytes
venerdì 28/mag/2004 _Paul Walton_ ha scritto:

> On Fri, 28 May 2004 18:55:56 +0200, daRkSidE wrote:
> 
>> *Paul Walton*, 23.05.04 11:21, news.software.readers:
>> 
>>> =-1 Bytes %<500 - Lines % * 10
>>> I don't get a syntax error on entering them but they doesn't seem to work
>>> :(
>> 
>> Could you explain what your purpose is?
> 
> One of the groups I subscribe to is being flooded with messages from a
> malicious user. The user changes his headers to avoid easy
> identification/ignoring of the postings.
> 
> Each posting has a large number of lines but only a single character in
> each line. My aim is to identify messages with an low average character
> count per line and thus be able to delete/ignore the messages.
> 

If you download only the headers you can use a script in OnXover event to
give this kind of messages a negative score (then in scoring and actions you
can write a rule to ignore the messages with a negative score):

var
  nbytes, nlines: integer;
  
begin
  nbytes:=XoverData.Bytecount;
  nlines:=XoverData.Linecount;
  if nbytes < nlines*50 then
    XoverData.Score:=-1;
end;

I said headers only, because if you download the body this negative score
doesn't survive.

-- 
Maria Luisa C - 28/05/04 21.28.00, here.
http://fido.altervista.org/index.php
Re: [Dialog] Scoring rules
#149004
Author: Paul Walton
Date: Sat, 29 May 2004 09:59
46 lines
2638 bytes
On Fri, 28 May 2004 21:28:28 +0200, MLC wrote:

> venerdì 28/mag/2004 _Paul Walton_ ha scritto:
> 
>> On Fri, 28 May 2004 18:55:56 +0200, daRkSidE wrote:
>> 
>>> *Paul Walton*, 23.05.04 11:21, news.software.readers:
>>> 
>>>> =-1 Bytes %<500 - Lines % * 10
>>>> I don't get a syntax error on entering them but they doesn't seem to work
>>>> :(
>>> 
>>> Could you explain what your purpose is?
>> 
>> One of the groups I subscribe to is being flooded with messages from a
>> malicious user. The user changes his headers to avoid easy
>> identification/ignoring of the postings.
>> 
>> Each posting has a large number of lines but only a single character in
>> each line. My aim is to identify messages with an low average character
>> count per line and thus be able to delete/ignore the messages.
>> 
> 
> If you download only the headers you can use a script in OnXover event to
> give this kind of messages a negative score (then in scoring and actions you
> can write a rule to ignore the messages with a negative score):
> 
> var
>   nbytes, nlines: integer;
>   
> begin
>   nbytes:=XoverData.Bytecount;
>   nlines:=XoverData.Linecount;
>   if nbytes < nlines*50 then
>     XoverData.Score:=-1;
> end;
> 
> I said headers only, because if you download the body this negative score
> doesn't survive.

Thanks - this looks interesting. I'll have a play with OnXover.

Regards,
-- 
Paul Walton
West Midlands, UK
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads