Thread View: news.software.nntp
15 messages
15 total messages
Started by Paul Tomblin
Sat, 17 Sep 2005 18:36
Still getting leakages
Author: Paul Tomblin
Date: Sat, 17 Sep 2005 18:36
Date: Sat, 17 Sep 2005 18:36
34 lines
2578 bytes
2578 bytes
I know I've bothered this group about this before, and I've followed all
the advice (except for upgrading to inn 2.4), and I'm still getting leaks.
I'm trying to prevent outside posts to our ncf.* newsgroups. In
incoming.conf, I've got:
peer kjsl.com {
hostname: "stationair.kjsl.com,skylane.kjsl.com,news.kjsl.com,206.55.236.194"
patterns: "*,!alt.binaries.*,!alt.bainaries.*,!alt.sex.binaries.*,!japan.binaries.*,!ncf,!ncf.*"
}
But I just got a post that leaked in:
Path: ncf.ca!news.kjsl.com!news-out.nuthinbutnews.com!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!zen.net.uk!dedekind.zen.co.uk!nntp-peering.plus.net!ptn-nntp-feeder01.plus.net!ptn-nntp-spool02.plus.net!ptn-nntp-reader02.plus.net!not-for-mail
From: "violated" <violated@yahoo.com>
Subject: give us weapons or we kill your family
Newsgroups: ncf.test.unmoderated
Sender: violated <violated@yahoo.com>
Date: Sat, 17 Sep 2005 08:04:12 +0100
X-Priority: 2
X-Library: Indy 9.00.10
X-Newsreader: News pump
Lines: 58
Message-ID: <432bc019$0$1314$ed2619ec@ptn-nntp-reader02.plus.net>
Organization: Customer of PlusNet plc (http://www.plus.net)
NNTP-Posting-Host: 64cee551.ptn-nntp-reader02.plus.net
X-Trace: DXC=cdg[84J>^lMN9SEa4;`LLHigd3Y`7Rb;N37XnI;[OUCDKHC=[HGJ^NG\3_AjbC2EBN1369jTjLHTML8^e<oXYG1L
X-Complaints-To: abuse@plus.net
Xref: ncf.ca ncf.test.unmoderated:858
Do I have any hope of preventing this?
--
Paul Tomblin http://xcski.com/blogs/pt/
please excuse my typing, but my whole left arm is in a cast. and i don't
mean _the king and i_.
Re: Still getting leakages
Author: Jeffrey M. Vinocur
Date: Sat, 17 Sep 2005 18:43
Date: Sat, 17 Sep 2005 18:43
22 lines
1734 bytes
1734 bytes
In article <dghnmu$nd8$1@allhats.xcski.com>,
Paul Tomblin <ptomblin+netnews@xcski.com> wrote:
>
>I'm trying to prevent outside posts to our ncf.* newsgroups. In
>incoming.conf, I've got:
>
>peer kjsl.com {
> hostname: "stationair.kjsl.com,skylane.kjsl.com,news.kjsl.com,206.55.236.194"
> patterns:
>"*,!alt.binaries.*,!alt.bainaries.*,!alt.sex.binaries.*,!japan.binaries.*,!ncf,!ncf.*"
>}
That config looks right to me. The only reason I can imagine it
not applying to an incoming connection is if the connection does
not actually come from one of the hosts/IPs listed. Are there
any other entries in incoming.conf that could possibly be
matching the connection from the peer in question?
--
Jeffrey M. Vinocur
jeff@litech.org
Re: Still getting leakages
Author: Paul Tomblin
Date: Sat, 17 Sep 2005 19:19
Date: Sat, 17 Sep 2005 19:19
29 lines
2247 bytes
2247 bytes
In a previous article, jeff@litech.org (Jeffrey M. Vinocur) said:
>In article <dghnmu$nd8$1@allhats.xcski.com>,
>Paul Tomblin <ptomblin+netnews@xcski.com> wrote:
>>I'm trying to prevent outside posts to our ncf.* newsgroups. In
>>incoming.conf, I've got:
>>
>>peer kjsl.com {
>> hostname: "stationair.kjsl.com,skylane.kjsl.com,news.kjsl.com,206.55.236.194"
>> patterns:
>>"*,!alt.binaries.*,!alt.bainaries.*,!alt.sex.binaries.*,!japan.binaries.*,!ncf,!ncf.*"
>>}
>
>That config looks right to me. The only reason I can imagine it
>not applying to an incoming connection is if the connection does
>not actually come from one of the hosts/IPs listed. Are there
>any other entries in incoming.conf that could possibly be
>matching the connection from the peer in question?
The log entry in log/news shows it came from stationair.kjsl.com. I can't
see anything else that would match, and most of them have the same
patterns line.
I guess it's time to figure out how to munge the From line based on
authenticated userid in 2.4.
--
Paul Tomblin http://xcski.com/blogs/pt/
please excuse my typing, but my whole left arm is in a cast. and i don't
mean _the king and i_.
Re: Still getting leakages
Author: Jeffrey M. Vinocur
Date: Sat, 17 Sep 2005 19:58
Date: Sat, 17 Sep 2005 19:58
25 lines
1856 bytes
1856 bytes
In article <dghq87$oej$1@allhats.xcski.com>, Paul Tomblin <ptomblin+netnews@xcski.com> wrote: >In a previous article, jeff@litech.org (Jeffrey M. Vinocur) said: > >>That config looks right to me. The only reason I can imagine it >>not applying to an incoming connection is if the connection does >>not actually come from one of the hosts/IPs listed. > >The log entry in log/news shows it came from stationair.kjsl.com. I can't >see anything else that would match, and most of them have the same >patterns line. Frustrating. >I guess it's time to figure out how to munge the From line based on >authenticated userid in 2.4. Alternatively, you could use a Perl filter (or modify cleanfeed, if you're already using that) to drop the offending posts. -- Jeffrey M. Vinocur jeff@litech.org
Re: Still getting leakages
Author: Ponder
Date: Sat, 17 Sep 2005 20:03
Date: Sat, 17 Sep 2005 20:03
16 lines
1855 bytes
1855 bytes
Hiya Jeffrey M. Vinocur. In <news:dghshh$cpt$1@puck.litech.org> you wrote: > Alternatively, you could use a Perl filter (or modify cleanfeed, > if you're already using that) to drop the offending posts. I asked a little while ago about modifying that file, but where to put the modifications is eluding me. I've made some progress but the modifications I made in the scoring section don't appear to have any effect. -- PGP key ID - DSS:0x2661A952 Ponder - Homepage: http://www.colin-jones.co.uk ICQ# 1707811 Skittles Team: http://www.ddskittles.co.uk
Re: Still getting leakages
Author: Paul Tomblin
Date: Sat, 17 Sep 2005 20:14
Date: Sat, 17 Sep 2005 20:14
13 lines
1657 bytes
1657 bytes
In a previous article, jeff@litech.org (Jeffrey M. Vinocur) said: >Alternatively, you could use a Perl filter (or modify cleanfeed, >if you're already using that) to drop the offending posts. Is filter_innd.pl applied to articles posted via nnrp? Whoa, I just noticed I still have Cleanfeed 0.95.7b from 1998 in there. Probably time for an update. -- Paul Tomblin http://xcski.com/blogs/pt/ please excuse my typing, but my whole left arm is in a cast. and i don't mean _the king and i_.
Re: Still getting leakages
Author: Jeffrey M. Vinocur
Date: Sat, 17 Sep 2005 20:27
Date: Sat, 17 Sep 2005 20:27
22 lines
1827 bytes
1827 bytes
In article <12abucdfhex93$.dlg@colin-jones.co.uk>, Ponder <cjspambuffer@yahoo.co.uk> wrote: >Hiya Jeffrey M. Vinocur. > >In <news:dghshh$cpt$1@puck.litech.org> you wrote: > >> (or modify cleanfeed, if you're already using that) > > I asked a little while ago about modifying that file, but where to put >the modifications is eluding me. I've made some progress but the >modifications I made in the scoring section don't appear to have any >effect. Yeah, I saw your post. Unfortunately, Cleanfeed isn't the most straightforward and well-documented piece of code in the world, and I haven't dug through it in years and years. So I don't have much to offer you in the way of specifics. -- Jeffrey M. Vinocur jeff@litech.org
Re: Still getting leakages
Author: Jeffrey M. Vinocur
Date: Sat, 17 Sep 2005 20:32
Date: Sat, 17 Sep 2005 20:32
11 lines
1325 bytes
1325 bytes
In article <dghtel$pvv$1@allhats.xcski.com>, Paul Tomblin <ptomblin+netnews@xcski.com> wrote: > >Is filter_innd.pl applied to articles posted via nnrp? Yes. (After filter_nnrpd.pl is applied, if any.) -- Jeffrey M. Vinocur jeff@litech.org
Re: Still getting leakages
Author: Paul Tomblin
Date: Sat, 17 Sep 2005 20:38
Date: Sat, 17 Sep 2005 20:38
15 lines
1586 bytes
1586 bytes
In a previous article, Ponder <cjspambuffer@yahoo.co.uk> said: > I asked a little while ago about modifying that file, but where to put >the modifications is eluding me. I've made some progress but the >modifications I made in the scoring section don't appear to have any >effect. I've made a few small modifications to cleanfeed/filter_innd.pl. Maybe I can help? -- Paul Tomblin http://xcski.com/blogs/pt/ please excuse my typing, but my whole left arm is in a cast. and i don't mean _the king and i_.
Re: Still getting leakages
Author: Ponder
Date: Sat, 17 Sep 2005 21:07
Date: Sat, 17 Sep 2005 21:07
18 lines
2157 bytes
2157 bytes
Hiya Jeffrey M. Vinocur. In <news:dghu7j$cpt$2@puck.litech.org> you wrote: > Yeah, I saw your post. Unfortunately, Cleanfeed isn't the most > straightforward and well-documented piece of code in the world, > and I haven't dug through it in years and years. So I don't have > much to offer you in the way of specifics. No worries, I had a feeling that may be the cause of non-response. I don't seem to be able to find a problem I can't solve myself that's easy to solve by others ;) -- PGP key ID - DSS:0x2661A952 Ponder - Homepage: http://www.colin-jones.co.uk ICQ# 1707811 Skittles Team: http://www.ddskittles.co.uk
Re: Still getting leakages
Author: Ponder
Date: Sat, 17 Sep 2005 21:12
Date: Sat, 17 Sep 2005 21:12
19 lines
2086 bytes
2086 bytes
Hiya Paul Tomblin.
In <news:dghus1$qlm$1@allhats.xcski.com> you wrote:
> I've made a few small modifications to cleanfeed/filter_innd.pl. Maybe I
> can help?
Basically I'm trying to kill posts with the My Affiliate Finder
signature. I've put the following line into the scoring section:
($body =~ /MAF.Anti.Spam.ID/) && ($score += 100);
It doesn't seem to have any effect in any of my test posts. The rest of
the filter is basically as it was when installed.
--
PGP key ID - DSS:0x2661A952
Ponder - Homepage: http://www.colin-jones.co.uk ICQ# 1707811
Skittles Team: http://www.ddskittles.co.uk
Re: Still getting leakages
Author: Paul Tomblin
Date: Sat, 17 Sep 2005 21:35
Date: Sat, 17 Sep 2005 21:35
20 lines
2014 bytes
2014 bytes
In a previous article, Ponder <cjspambuffer@yahoo.co.uk> said: > Basically I'm trying to kill posts with the My Affiliate Finder >signature. I've put the following line into the scoring section: > > ($body =~ /MAF.Anti.Spam.ID/) && ($score += 100); > > It doesn't seem to have any effect in any of my test posts. The rest of >the filter is basically as it was when installed. Assuming your version of cleanfeed is like mine: First of all, make sure you have that AFTER $body is assigned. Second of all, note that $body only contains the first 50000 bytes, so it won't find something at the end of a long post. Also, body scoring is in the 'do_scoring_filter' section, so make sure you have that configured on. -- Paul Tomblin http://xcski.com/blogs/pt/ please excuse my typing, but my whole left arm is in a cast. and i don't mean _the king and i_.
Re: Still getting leakages
Author: Ponder
Date: Sat, 17 Sep 2005 23:20
Date: Sat, 17 Sep 2005 23:20
20 lines
2287 bytes
2287 bytes
Hiya Paul Tomblin. In <news:dgi26u$rp4$1@allhats.xcski.com> you wrote: >> ($body =~ /MAF.Anti.Spam.ID/) && ($score += 100); > Assuming your version of cleanfeed is like mine: > First of all, make sure you have that AFTER $body is assigned. Second of > all, note that $body only contains the first 50000 bytes, so it won't find > something at the end of a long post. Also, body scoring is in the > 'do_scoring_filter' section, so make sure you have that configured on. Thanks, it's in amongst other similar lines and I've tested on small posts. The progress I previously mentioned is in getting one successfully refused via the Organization: header, but I'd like to use body scoring for a few other things if I can get it working. -- PGP key ID - DSS:0x2661A952 Ponder - Homepage: http://www.colin-jones.co.uk ICQ# 1707811 Skittles Team: http://www.ddskittles.co.uk
Re: Still getting leakages
Author: Bill Davidsen
Date: Mon, 19 Sep 2005 17:12
Date: Mon, 19 Sep 2005 17:12
25 lines
2519 bytes
2519 bytes
Ponder wrote: > Hiya Jeffrey M. Vinocur. > > In <news:dghshh$cpt$1@puck.litech.org> you wrote: > > >>Alternatively, you could use a Perl filter (or modify cleanfeed, >>if you're already using that) to drop the offending posts. > > > I asked a little while ago about modifying that file, but where to put > the modifications is eluding me. I've made some progress but the > modifications I made in the scoring section don't appear to have any > effect. > What do you mean by "have any effect?" The offending articles aren't rejected, or ??? Since the filter can be made to log via syslog, you can easily put in a boatload of debug code to establish what's happening, and drop it in the news.debug log where you don't have to wade through it all the time. -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Re: Still getting leakages
Author: Ponder
Date: Mon, 19 Sep 2005 17:47
Date: Mon, 19 Sep 2005 17:47
22 lines
2321 bytes
2321 bytes
Hiya Bill Davidsen. In <news:DjCXe.323$4u4.197@newssvr19.news.prodigy.com> you wrote: >> I asked a little while ago about modifying that file, but where to put >> the modifications is eluding me. I've made some progress but the >> modifications I made in the scoring section don't appear to have any >> effect. > What do you mean by "have any effect?" The offending articles aren't > rejected, or ??? Since the filter can be made to log via syslog, you can > easily put in a boatload of debug code to establish what's happening, > and drop it in the news.debug log where you don't have to wade through > it all the time. Well with a score of +100 and a limit of 7 it should at least be noticed. I'm going to have to look into syslog logging from Cleansweep though, wasn't aware of it. -- PGP key ID - DSS:0x2661A952 Ponder - Homepage: http://www.colin-jones.co.uk ICQ# 1707811 Skittles Team: http://www.ddskittles.co.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