Thread View: news.software.readers
7 messages
7 total messages
Started by Tom Newton
Mon, 07 Apr 2008 05:50
[Leafnode] Filters
Author: Tom Newton
Date: Mon, 07 Apr 2008 05:50
Date: Mon, 07 Apr 2008 05:50
39 lines
1372 bytes
1372 bytes
There someone whose posts I always want to see, but idiot troll keeps forging posts from them. Will this filter kill any posts with their From: header that lacks their IP? newsgroups = .* pattern = ... action = ... pattern = ... action = ... newsgroups = .* pattern = ^From: John Smith <js@nowhere\.net> action = 5 pattern = ^NNTP-Posting-Host: !555\.444\.333 action = -10 newsgroups = .* pattern = ... action = ... Any help apprecated, Tom -- The Truth will set you free: http://www.sethcenter.com
Re: [Leafnode] Filters
Author: Steve Ackman
Date: Mon, 07 Apr 2008 06:04
Date: Mon, 07 Apr 2008 06:04
11 lines
1383 bytes
1383 bytes
In <slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net>, on Mon, 7 Apr 2008 07:50:37 +0200 (CEST), Tom Newton, tom@server.invalid wrote: > There someone whose posts I always want to see, but > idiot troll keeps forging posts from them. > > Will this filter kill any posts with their From: header > that lacks their IP? Just filter on the IP... unless you actually *want* to see the troll's posts as other identities.
Re: [Leafnode] Filters
Author: Troy Piggins
Date: Mon, 07 Apr 2008 06:15
Date: Mon, 07 Apr 2008 06:15
27 lines
2288 bytes
2288 bytes
* Tom Newton wrote:
> There someone whose posts I always want to see, but
> idiot troll keeps forging posts from them.
>
> Will this filter kill any posts with their From: header
> that lacks their IP?
<snip />
> newsgroups = .*
>
> pattern = ^From: John Smith <js@nowhere\.net>
> action = 5
>
> pattern = ^NNTP-Posting-Host: !555\.444\.333
> action = -10
Suspect that should be:
pattern = !^NNTP-Posting-Host: 555\.444\.333
Everything after the "pattern = " is the pattern you are trying to match.
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
|___ | |/ |/ |
___| | | | |
Re: [Leafnode] Filters
Author: Tom Newton
Date: Mon, 07 Apr 2008 06:21
Date: Mon, 07 Apr 2008 06:21
37 lines
1751 bytes
1751 bytes
On 2008-04-07, in <20080407160414.618@usenet.piggo.com> Troy Piggins <usenet-0804@piggo.com> wrote: > * Tom Newton wrote: > >> There someone whose posts I always want to see, but idiot >> troll keeps forging posts from them. >> >> Will this filter kill any posts with their From: header that >> lacks their IP? > ><snip /> > >> newsgroups = .* >> >> pattern = ^From: John Smith <js@nowhere\.net> action = 5 >> >> pattern = ^NNTP-Posting-Host: !555\.444\.333 action = -10 > > Suspect that should be: > > pattern = !^NNTP-Posting-Host: 555\.444\.333 > > Everything after the "pattern = " is the pattern you are trying > to match. Thanks, Troy. Am I to gather that otherwise you think it will work? Or are you just focussing on that PCRE? Tom -- The Truth will set you free: http://www.sethcenter.com
Re: [Leafnode] Filters
Author: Troy Piggins
Date: Mon, 07 Apr 2008 06:26
Date: Mon, 07 Apr 2008 06:26
36 lines
2726 bytes
2726 bytes
* Troy Piggins wrote:
> * Tom Newton wrote:
>> There someone whose posts I always want to see, but
>> idiot troll keeps forging posts from them.
>>
>> Will this filter kill any posts with their From: header
>> that lacks their IP?
> <snip />
>
>> newsgroups = .*
>>
>> pattern = ^From: John Smith <js@nowhere\.net>
>> action = 5
>>
>> pattern = ^NNTP-Posting-Host: !555\.444\.333
>> action = -10
>
> Suspect that should be:
>
> pattern = !^NNTP-Posting-Host: 555\.444\.333
>
> Everything after the "pattern = " is the pattern you are trying to match.
Should mention that the above will kill /everyone/ who doesn't have
that IP, since poster Fred Jones will not match the first entry,
but if his IP isn't 555.444.333 he will be awarded -10 score and
hence be killfiled.
Why don't you give negative score to John Smiths, and give
positive score for his correct IP? Less false positives.
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
|___ | |/ |/ |
___| | | | |
Re: [Leafnode] Filters
Author: Troy Piggins
Date: Mon, 07 Apr 2008 06:29
Date: Mon, 07 Apr 2008 06:29
40 lines
2774 bytes
2774 bytes
* Tom Newton wrote:
> On 2008-04-07, in <20080407160414.618@usenet.piggo.com> Troy
> Piggins <usenet-0804@piggo.com> wrote:
>
>> * Tom Newton wrote:
>>
>>> There someone whose posts I always want to see, but idiot
>>> troll keeps forging posts from them.
>>>
>>> Will this filter kill any posts with their From: header that
>>> lacks their IP?
>>
>><snip />
>>
>>> newsgroups = .*
>>>
>>> pattern = ^From: John Smith <js@nowhere\.net> action = 5
>>>
>>> pattern = ^NNTP-Posting-Host: !555\.444\.333 action = -10
>>
>> Suspect that should be:
>>
>> pattern = !^NNTP-Posting-Host: 555\.444\.333
>>
>> Everything after the "pattern = " is the pattern you are trying
>> to match.
>
> Thanks, Troy. Am I to gather that otherwise you think it will work?
See my more recent F/U. It will give false positives.
> Or are you just focussing on that PCRE?
I was at first.
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
|___ | |/ |/ |
___| | | | |
Re: [Leafnode] Filters
Author: Tom Newton
Date: Mon, 07 Apr 2008 09:08
Date: Mon, 07 Apr 2008 09:08
45 lines
2136 bytes
2136 bytes
On 2008-04-07, in <20080407162105.677@usenet.piggo.com> Troy Piggins <usenet-0804@piggo.com> wrote: > * Troy Piggins wrote: >> * Tom Newton wrote: >>> There someone whose posts I always want to see, but >>> idiot troll keeps forging posts from them. >>> >>> Will this filter kill any posts with their From: header >>> that lacks their IP? >> <snip /> >> >>> newsgroups = .* >>> >>> pattern = ^From: John Smith <js@nowhere\.net> >>> action = 5 >>> >>> pattern = ^NNTP-Posting-Host: !555\.444\.333 >>> action = -10 >> >> Suspect that should be: >> >> pattern = !^NNTP-Posting-Host: 555\.444\.333 >> >> Everything after the "pattern = " is the pattern you are trying to match. > > Should mention that the above will kill /everyone/ who doesn't have > that IP, since poster Fred Jones will not match the first entry, > but if his IP isn't 555.444.333 he will be awarded -10 score and > hence be killfiled. > > Why don't you give negative score to John Smiths, and give > positive score for his correct IP? Less false positives. Thanks again, Troy. That helps. Tom -- The Truth will set you free: http://www.sethcenter.com
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