🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
17 messages
17 total messages Started by invalid Mon, 05 Oct 2009 10:12
[slrn] can I score on posting host?
#236346
Author: invalid
Date: Mon, 05 Oct 2009 10:12
5 lines
1093 bytes
Hi, this should be easy but I didn't find the answer.

Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr

Thanks.
Re: [slrn] can I score on posting host?
#236341
Author: houghi
Date: Mon, 05 Oct 2009 12:21
13 lines
1635 bytes
invalid@domain.invalid wrote:
> Hi, this should be easy but I didn't find the answer.
>
> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr

Yes, you can.

houghi
-- 



					This space left blank intentionaly
Re: [slrn] can I score on posting host?
#236340
Author: Troy Piggins
Date: Mon, 05 Oct 2009 13:21
19 lines
1658 bytes
* invalid@domain.invalid wrote :
> Hi, this should be easy but I didn't find the answer.
>
> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr

You can score on any header, but if you use headers other than
these it will be "expensive" scoring (ie much slower)

 Subject
 From
 Date
 Message-ID
 References
 Bytes
 Lines
 Xref:full

-- 
Troy Piggins
Re: [slrn] can I score on posting host?
#236342
Author: Adam Funk
Date: Mon, 05 Oct 2009 13:44
15 lines
1327 bytes
On 2009-10-05, invalid@domain.invalid wrote:

> Hi, this should be easy but I didn't find the answer.
>
> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr

Yes, but it's "expensive scoring" (it will a bit take longer for slrn
to display a group when you go into it).


-- 
Oh, I am just a student, sir, and I only want to learn
But it's hard to read through the rising smoke 
                    of the books that you want to burn
                                           [Phil Ochs]
Re: [slrn] can I score on posting host?
#236354
Author: notbob
Date: Mon, 05 Oct 2009 15:05
12 lines
1041 bytes
On 2009-10-05, invalid@domain.invalid <invalid@domain.invalid> wrote:
> Hi, this should be easy but I didn't find the answer.
>
> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr

Here:

http://twovoyagers.com/improve-usenet.org/

Follow the instructions for slrn.

nb
Re: [slrn] can I score on posting host?
#236373
Author: invalid
Date: Mon, 05 Oct 2009 19:56
13 lines
1201 bytes
On 2009-10-05, houghi <houghi@houghi.org.invalid> wrote:
> invalid@domain.invalid wrote:
>> Hi, this should be easy but I didn't find the answer.
>>
>> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr
>
> Yes, you can.
>
> houghi

Uh thanks but how?

I tried the example I posted and it didn't work for me.
Re: [slrn] can I score on posting host?
#236369
Author: invalid
Date: Mon, 05 Oct 2009 19:57
22 lines
1566 bytes
On 2009-10-05, Troy Piggins <usenet-0910@piggo.com> wrote:
> * invalid@domain.invalid wrote :
>> Hi, this should be easy but I didn't find the answer.
>>
>> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr
>
> You can score on any header, but if you use headers other than
> these it will be "expensive" scoring (ie much slower)
>
>  Subject
>  From
>  Date
>  Message-ID
>  References
>  Bytes
>  Lines
>  Xref:full
>
Thanks. I didn't find out how to create the rule. I tried NNTP-Posting-Host
and Posting-Host and neither worked.

I couldn't find the syntax in the score doc coming with slrn either.
Re: [slrn] can I score on posting host?
#236374
Author: invalid
Date: Mon, 05 Oct 2009 20:00
15 lines
1221 bytes
On 2009-10-05, notbob <notbob@nothome.com> wrote:
> On 2009-10-05, invalid@domain.invalid <invalid@domain.invalid> wrote:
>> Hi, this should be easy but I didn't find the answer.
>>
>> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr
>
> Here:
>
> http://twovoyagers.com/improve-usenet.org/
>
> Follow the instructions for slrn.
>
> nb

BTW I've been slaying google posts for many long years. How sweet it is!!!
Re: [slrn] can I score on posting host?
#236371
Author: Whiskers
Date: Mon, 05 Oct 2009 21:54
53 lines
3053 bytes
On 2009-10-05, <invalid@domain.invalid> wrote:
> On 2009-10-05, Troy Piggins <usenet-0910@piggo.com> wrote:
>> * invalid@domain.invalid wrote :
>>> Hi, this should be easy but I didn't find the answer.
>>>
>>> Can I score on posting host? like NNTP-Posting-Host: offending.ip.addr
>>
>> You can score on any header, but if you use headers other than
>> these it will be "expensive" scoring (ie much slower)
>>
>>  Subject
>>  From
>>  Date
>>  Message-ID
>>  References
>>  Bytes
>>  Lines
>>  Xref:full
>>
> Thanks. I didn't find out how to create the rule. I tried NNTP-Posting-Host
> and Posting-Host and neither worked.
>
> I couldn't find the syntax in the score doc coming with slrn either.

See <http://slrn.sourceforge.net/docs/score.txt>

This will plonk [at least some of] the articles you post via aioe.org in
this newsgroup:

#+v
%BOS

[news.software.readers]

Score:: -9999    %send "invalid" aioe posts to bozo bin
        NNTP-Posting-Host: bzw7ZoTxTqh/Y0dE7kRMCQ\.user\.aioe\.org
        NNTP-Posting-Host: lXS7pLtKpqLARcuDMRBqJA\.user\.aioe\.org

%EOS
#-v

Usually the NNTP-Posting-Host header contains only an IP number; aioe 
'encrypt' that information.  Many NSPs don't include the header at all 
these days.  Remember that users allocated 'dynamic' IP numbers, or who 
post from more than one internet account, won't always be caught by such a
score-file entry until you've built a list of all the IP numbers they use -
and then you'll also catch anyone else who happens to be allocated any of
those IP numbers.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] can I score on posting host?
#236375
Author: Troy Piggins
Date: Mon, 05 Oct 2009 22:24
34 lines
2476 bytes
* invalid@domain.invalid wrote :
> On 2009-10-05, Troy Piggins <usenet-0910@piggo.com> wrote:
> [---=| Quote block shrinked by t-prot: 12 lines snipped |=---]
>>  References
>>  Bytes
>>  Lines
>>  Xref:full
>>
> Thanks. I didn't find out how to create the rule. I tried NNTP-Posting-Host
> and Posting-Host and neither worked.
>
> I couldn't find the syntax in the score doc coming with slrn either.

Oh, I see.  Sorry.  Something like this:

[whatever.newsgroup]
Score: -100 % downscore from this server 
NNTP-Posting-Host: bad.host.go.away 

That's how simply it /should/ be.  But the trouble is that the
header you've chosen to score on does not exist in all posts.
Not all servers use it.  That's another reason on top of the
expensive scoring one that it's not a good idea to score on
headers other than XOVER ones I listed above.

That being said, if there's a particular poster or server that
you do want to score on, and they do carry that header, then it
should be fine.

The best slrn scoring document to read, or at least start with,
is /usr/local/share/doc/slrn/score.txt

-- 
Troy Piggins
Re: [slrn] can I score on posting host?
#236376
Author: Troy Piggins
Date: Mon, 05 Oct 2009 22:26
36 lines
2626 bytes
* Troy Piggins wrote :
> * invalid@domain.invalid wrote :
> [---=| Quote block shrinked by t-prot: 6 lines snipped |=---]
>>>
>> Thanks. I didn't find out how to create the rule. I tried NNTP-Posting-Host
>> and Posting-Host and neither worked.
>>
>> I couldn't find the syntax in the score doc coming with slrn either.
>
> Oh, I see.  Sorry.  Something like this:
>
> [whatever.newsgroup]
> Score: -100 % downscore from this server 
> NNTP-Posting-Host: bad.host.go.away 

I should have had escape slashes in front of those periods above,
as Whiskers' example showed, and probably clarified in the
score.txt doc linked below.

> That's how simply it /should/ be.  But the trouble is that the
> header you've chosen to score on does not exist in all posts.
> Not all servers use it.  That's another reason on top of the
> expensive scoring one that it's not a good idea to score on
> headers other than XOVER ones I listed above.
>
> That being said, if there's a particular poster or server that
> you do want to score on, and they do carry that header, then it
> should be fine.
>
> The best slrn scoring document to read, or at least start with,
> is /usr/local/share/doc/slrn/score.txt
>


-- 
Troy Piggins
Re: [slrn] can I score on posting host?
#236380
Author: invalid
Date: Tue, 06 Oct 2009 09:12
10 lines
1339 bytes
On 2009-10-05, Whiskers <catwheezel@operamail.com> wrote:
> See <http://slrn.sourceforge.net/docs/score.txt>
>

Thanks guys I forgot to escape the dot qualified in the spammer's
ipaddr. It's just one spamming bastard I'm trying avoid who is posting from
Verizon but over a month or so his ipaddr stayed the same so he probably has
a static ip.

I used NNTP-Posting-Host: 71\.188\.113\.235 and it works now.
Re: [slrn] can I score on posting host?
#236382
Author: Mike Yetto
Date: Tue, 06 Oct 2009 12:19
23 lines
2507 bytes
Bada bing invalid@domain.invalid <invalid@domain.invalid> bada bang:
> On 2009-10-05, Whiskers <catwheezel@operamail.com> wrote:
>> See <http://slrn.sourceforge.net/docs/score.txt>
>>
>
> Thanks guys I forgot to escape the dot qualified in the spammer's
> ipaddr. It's just one spamming bastard I'm trying avoid who is posting from
> Verizon but over a month or so his ipaddr stayed the same so he probably has
> a static ip.
>

Not necessarily.  If he leaves his router on it will maintain a
lease on the IP addresses indefinitely.

> I used NNTP-Posting-Host: 71\.188\.113\.235 and it works now.

It could change after a prolonged power-outage in his
neighborhood, or if his cat unplugs the router.

Mike "but until then..." Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: [slrn] can I score on posting host?
#236400
Author: W. Citoan
Date: Wed, 07 Oct 2009 01:43
78 lines
4277 bytes
Mike Yetto wrote:
>  Bada bing invalid@domain.invalid <invalid@domain.invalid> bada bang:
> > On 2009-10-05, Whiskers <catwheezel@operamail.com> wrote:
> >> See <http://slrn.sourceforge.net/docs/score.txt>
> >>
> >
> > Thanks guys I forgot to escape the dot qualified in the spammer's
> > ipaddr. It's just one spamming bastard I'm trying avoid who is
> > posting from Verizon but over a month or so his ipaddr stayed the
> > same so he probably has a static ip.

If he was coming via Verizon's Usenet server, he's not anymore.  Verizon
dropped Usenet last month. 

>  Not necessarily.  If he leaves his router on it will maintain a
>  lease on the IP addresses indefinitely.
> 
> > I used NNTP-Posting-Host: 71\.188\.113\.235 and it works now.
> 
>  It could change after a prolonged power-outage in his
>  neighborhood, or if his cat unplugs the router.

Here's a macro to automate adding such a rule.  I've used it before on
some persistent spammers though I find know that I've switched over to
eternal-september.org, I see a lot less spam.  They do a good job of
filtering it.

define kill_posting_host()
{
  variable status = is_article_visible();

  if ( status & 1) {
    
    variable postinghost = extract_article_header( "NNTP-Posting-Host");
    variable ph_exists   = strlen(postinghost);
  
    if ( ph_exists > 0) {

      (postinghost, ) = strreplace(postinghost, "\.", "\\\.", strlen (postinghost));

      variable expiry_date = localtime(_time() + (365 * 24 * 3600));
	    variable expiry = string(expiry_date.tm_mon+1)+"/"+
	                      string(expiry_date.tm_mday)+"/"+
	                      string(expiry_date.tm_year+1900);

      variable scorefile = make_home_filename( get_variable_value("scorefile") );

      variable newsgroup = current_newsgroup;

      variable fp = fopen(scorefile, "a");
        if (fp == NULL) {
          error ("Could not open scorefile");
        } else {
          () = fputs("\n%BOS\n%Score created by kill_posting_host\n\n", fp);
          () = fputs("[" + newsgroup + "]\nScore: =-500\nExpires: " + expiry + "\n", fp);
          () = fputs("  NNTP-Posting-Host: " + postinghost + "\n", fp);
          () = fputs("%EOS\n", fp);
          () = fclose(fp);
        }
    
    } else {
      error ("Article doesn't contain a NNTP-Posting-Host header");
    }

  } else {
     error ("Article not displayed");
  }

  call("hide_article");
  reload_scorefile(1);
}
definekey ("kill_posting_host", "\eh", "article");
  
- W. Citoan
-- 
Claiming that your operating system is the best in the world because more
people use it is like saying McDonalds makes the best food in the world.
-- Anonymous
Re: [slrn] can I score on posting host?
#236407
Author: invalid
Date: Wed, 07 Oct 2009 10:43
11 lines
1668 bytes
On 2009-10-07, W. Citoan <wcitoan@NOSPAM-yahoo.com> wrote:
> If he was coming via Verizon's Usenet server, he's not anymore.  Verizon
> dropped Usenet last month. 

Actually the sonofabitch is posting through IBM's server to IBM newsgroups.
It's really hard to filter because there's nothing else that identifies him
as a sonofabitch except his posts. For example no unique client, no message
id, etc. Aside from the content it's like all the other 100's of thousands
of posts.

Thanks for your macro.
Re: [slrn] can I score on posting host?
#236442
Author: andrew
Date: Wed, 07 Oct 2009 22:23
13 lines
1650 bytes
On 2009-10-07, W. Citoan <wcitoan@NOSPAM-yahoo.com> wrote:

> Here's a macro to automate adding such a rule.  I've used it before on
> some persistent spammers though I find know that I've switched over to
> eternal-september.org, I see a lot less spam.  They do a good job of
> filtering it.

Thanks for the macro which I have stored away for later use :). BTW it
is always good to see a fellow slrn + windows user!

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn] can I score on posting host?
#236476
Author: W. Citoan
Date: Thu, 08 Oct 2009 22:34
22 lines
2649 bytes
invalid@domain.invalid wrote:
>  On 2009-10-07, W. Citoan <wcitoan@NOSPAM-yahoo.com> wrote:
> > If he was coming via Verizon's Usenet server, he's not anymore.  Verizon
> > dropped Usenet last month. 
> 
>  Actually the sonofabitch is posting through IBM's server to IBM newsgroups.
>  It's really hard to filter because there's nothing else that identifies him
>  as a sonofabitch except his posts. For example no unique client, no message
>  id, etc. Aside from the content it's like all the other 100's of thousands
>  of posts.

If you get irritated enough, you can dig through the group archive (and
assuming Google Groups search cooperates) and find discussion on how to
use a local newfeed (via slrnpull, leafnode, etc.) combined with scripts
to auto-generate score entries based on message content.

- W. Citoan
-- 
...the bravest are surely those who have the clearest vision of what is
before them, glory and danger alike, and yet notwithstanding go out to meet
it.
-- Thucydides
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