Thread View: news.software.readers
7 messages
7 total messages
Started by bz
Mon, 06 Dec 2004 15:20
[xnews] NNTP-Posting-Host scoring
Author: bz
Date: Mon, 06 Dec 2004 15:20
Date: Mon, 06 Dec 2004 15:20
22 lines
1664 bytes
1664 bytes
For some 'odd' reason, NNTP-Posting-Host scoring seems to WORK intermittently
in XNEWS, despite documentation that would indicate that the field can not be
used to filter. I am using Xnews 6.08.25
It seems to work much more reliably IF the newly added 'to be filtered on'
line is the FIRST after the
% in all groups
[.]
%kill idiots posts
Score:: -9999
NNTP-Posting-Host: idiots.ip.address
Does anyone have any idea WHY it works sometimes and not others?
--
bz
please pardon my infinite ignorance, the set-of-things-I-do-not-know is an
infinite set.
bz+nsr@ch100-5.chem.lsu.edu
Re: [xnews] NNTP-Posting-Host scoring
Author: PiotrekR
Date: Mon, 06 Dec 2004 17:36
Date: Mon, 06 Dec 2004 17:36
10 lines
1605 bytes
1605 bytes
bz pisze tak:
> Does anyone have any idea WHY it works sometimes and not others?
http://tinyurl.com/725zo
--
Piotrek
http://www.xnews.prv.pl/ogonki.html
Re: [xnews] NNTP-Posting-Host scoring
Author: Mike Yetto
Date: Mon, 06 Dec 2004 23:33
Date: Mon, 06 Dec 2004 23:33
18 lines
1638 bytes
1638 bytes
While talking to the fat hobbitses bz said...
> For some 'odd' reason, NNTP-Posting-Host scoring seems to WORK
> intermittently in XNEWS, despite documentation that would
> indicate that the field can not be used to filter. I am using
> Xnews 6.08.25
>
> Does anyone have any idea WHY it works sometimes and not others?
>
Sometimes that header isn't there.
Mike "it's somewhere else" Yetto
--
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
- John Adams
Re: [xnews] NNTP-Posting-Host scoring
Author: »Q«
Date: Tue, 07 Dec 2004 01:01
Date: Tue, 07 Dec 2004 01:01
32 lines
2405 bytes
2405 bytes
bz <bz+nsr@ch100-5.chem.lsu.edu> wrote in
<news:Xns95B75F1E2E4D5WQAHBGMXSZHVspammote@130.39.198.139>:
> For some 'odd' reason, NNTP-Posting-Host scoring seems to WORK
> intermittently in XNEWS, despite documentation that would indicate
> that the field can not be used to filter. I am using Xnews 6.08.25
Older versions of Xnews cannot use it for filtering; the change
documented somewhere in the changelog.
> It seems to work much more reliably IF the newly added 'to be
> filtered on' line is the FIRST after the
>
> % in all groups
> [.]
> %kill idiots posts
> Score:: -9999
> NNTP-Posting-Host: idiots.ip.address
>
> Does anyone have any idea WHY it works sometimes and not others?
Some servers create NNTP-Posting-Host headers and others do not; if
idiot posts through different servers, some of the posts may not have
that header to score on.
Also, filtering on NNTP-Posting-Host only works if the server you are
pulling from will return that header in response to an XHDR command.
Are you pulling from multiple servers?
--
»Q«
<http://www.cotse.net/users/putty/help.htm>
Re: [xnews] NNTP-Posting-Host scoring
Author: bz
Date: Tue, 07 Dec 2004 12:49
Date: Tue, 07 Dec 2004 12:49
59 lines
3311 bytes
3311 bytes
»Q« <boxcars@gmx.net> wrote in news:MrQ95B7C196AA948itsmeitsQ@QsFQDN.dyndns.org: > bz <bz+nsr@ch100-5.chem.lsu.edu> wrote in > <news:Xns95B75F1E2E4D5WQAHBGMXSZHVspammote@130.39.198.139>: > >> For some 'odd' reason, NNTP-Posting-Host scoring seems to WORK >> intermittently in XNEWS, despite documentation that would indicate >> that the field can not be used to filter. I am using Xnews 6.08.25 > > Older versions of Xnews cannot use it for filtering; the change > documented somewhere in the changelog. > >> It seems to work much more reliably IF the newly added 'to be >> filtered on' line is the FIRST after the >> >> % in all groups >> [.] >> %kill idiots posts >> Score:: -9999 >> NNTP-Posting-Host: idiots.ip.address >> >> Does anyone have any idea WHY it works sometimes and not others? > > Some servers create NNTP-Posting-Host headers and others do not; if > idiot posts through different servers, some of the posts may not have > that header to score on. When it 'doesn't work', it is _NOT_ because the NNTP-Posting-Host header is not present. Another newsgroup that I read has been getting flooded with garbage. The sporgeries have everything in the header forged EXCEPT the NNTP-Posting- Host and Path. The attacker usually attacks from 4 or 5 different hijacked proxies. When the filtering is working properly, it is easy to kill the 15,000 or so posts. When it fails to work.... well it is a real mess trying to read. Since I have started putting the IP I want to filter out FIRST, it seems to be working every time. I just have to make several filter passes through the junk and it is gone from my eyes. > > Also, filtering on NNTP-Posting-Host only works if the server you are > pulling from will return that header in response to an XHDR command. > Are you pulling from multiple servers? No. All from the same server. Local to our campus. -- bz please pardon my infinite ignorance, the set-of-things-I-do-not-know is an infinite set. bz+nsr@ch100-5.chem.lsu.edu
Re: [xnews] NNTP-Posting-Host scoring
Author: John Wunderlich
Date: Tue, 07 Dec 2004 20:26
Date: Tue, 07 Dec 2004 20:26
33 lines
2194 bytes
2194 bytes
bz <bz+nsr@ch100-5.chem.lsu.edu> wrote in news:Xns95B8456EFC60BWQAHBGMXSZHVspammote@130.39.198.139: > When the filtering is working properly, it is easy to kill the > 15,000 or so posts. When it fails to work.... well it is a real > mess trying to read. > > Since I have started putting the IP I want to filter out FIRST, it > seems to be working every time. I just have to make several filter > passes through the junk and it is gone from my eyes. > > Does your scorefile contain any entries forcing an absolute score (with equal signs) such as: Score: =500 If so, and one of these conditions is matched, then the rest of the score file is ignored and the assigned score is used. By placing your critical condition first, you have avoided this pitfall. >From the scoring.txt file: ------------------------------ For example Score: =500 From: joey means "if an article was posted by joey, then assign it a score of 500 and don't bother looking at any other rule." ------------------------------ HTH, John
Re: [xnews] NNTP-Posting-Host scoring
Author: bz
Date: Wed, 08 Dec 2004 15:00
Date: Wed, 08 Dec 2004 15:00
87 lines
3500 bytes
3500 bytes
John Wunderlich <jwunderlich@lycos.com> wrote in
news:Xns95B87E9F786FBwunderpsdrscraytheon@138.126.254.210:
> bz <bz+nsr@ch100-5.chem.lsu.edu> wrote in
> news:Xns95B8456EFC60BWQAHBGMXSZHVspammote@130.39.198.139:
>
>> When the filtering is working properly, it is easy to kill the
>> 15,000 or so posts. When it fails to work.... well it is a real
>> mess trying to read.
>>
>> Since I have started putting the IP I want to filter out FIRST, it
>> seems to be working every time. I just have to make several filter
>> passes through the junk and it is gone from my eyes.
>>
>>
>
> Does your scorefile contain any entries forcing an absolute score (with
> equal signs) such as:
> Score: =500
None such found. I am using Score:: [or construction] rather than Score:
[and construction].
% in all groups
[.]
%Kill idiots posts
Score:: -9999
NNTP-Posting-Host: nn.nn.nn.nn %address hidden to protect the stupid
NNTP-Posting-Host: mm.mm.mm.mm
NNTP-Posting-Host: oo.oo.oo.oo
%... etc.
% kill money spam
Score:: -9999
Subject: \$\$\$+
% kill if subject doesn't contain at least 1 lower case letter
% i.e., kill all caps subject
% Score:: -9999
% ~Subject= [a-z]
% seems to mark any message with ANY all caps word in it.
% kill followup to all caps subject while we're at it.
%Score:: -9999
%Subject= ^[Rr][Ee]: [^a-z]*$
%Subject= ^[Rr][Ee]: .*[A-Z]
% MARK FOLLOWUPS
Score: 9999
XRef: [my address]
% unless in alt or binaries group
[~alt|binaries]
% kill stuff crossposted to binaries
Score: -9999
XRef: binaries
% in midi groups
[midi]
% kill anything with less than 80 lines
Score: -9999
~Lines: 80
% investment tracking
[invest]
Score: 9999
Subject: dell|compaq|cpq|intel|intc
> If so, and one of these conditions is matched, then the rest of the
> score file is ignored and the assigned score is used. By placing your
> critical condition first, you have avoided this pitfall.
Each time the idiot posts, I add his new IP to the TOP of the list and
rescore. That seems to work.
Have not yet isolated when it doesn't work.
--
bz
please pardon my infinite ignorance, the set-of-things-I-do-not-know is an
infinite set.
bz+nanae@ch100-5.chem.lsu.edu
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