🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Steve Crook Thu, 24 Feb 2011 15:25
Cleanfeed Update
#83889
Author: Steve Crook
Date: Thu, 24 Feb 2011 15:25
42 lines
2738 bytes
Hi all,

It's been over eight months since the last Cleanfeed release and a bug
reported this week has prompted me to do a new one.  The bug in question
relates to some recent spam articles that contain thousands of consecutive
Vertical Whitespace characters.  These were choking the binary filters
as their construct caused them to repeatedly backtrack over the regex.
In some instances this could cause Cleanfeed to spend an hour processing
a single article.  My thanks to Matija Nalis for reporting it and
providing a patch.

A couple of other minor changes have been incorporated.  Please see the
changelog below for details.

Downloads
=========
The individual Cleanfeed file can be downloaded from: 
http://www.mixmin.net/cleanfeed/cleanfeed 
http://www.mixmin.net/cleanfeed/cleanfeed.asc (PGP Detached Signature) 
A complete tarball for new installations is at: 
http://www.mixmin.net/cleanfeed/cleanfeed-20110224.tar.gz 
A diff against the last formal release (20020501): 
http://www.mixmin.net/cleanfeed/cleanfeed.diff 

Changelog 
========= 
* Reintroduced the block_html_images option.  This will reject
  messages containing <img> tags and provides greater configuration
  flexibility to the seemingly always contentious issue of HTML on
  Usenet.

* Binary checks have been revised to use \h (Horizontal Whitespace)
  instead of \s (Whitespace).  This reduces the risk of server slow-down
  due to backtracking when processing messages with thousands of
  consecutive LFs.  Thanks to Matija Nalis for reporting this and
  providing the patch.

* Details of regexs and hashes read from bad_* files are now recorded in
  cleanfeed.stats.

* Lots of scoring updates in an attempt to follow spam trends.  Please
  check the diff file for details of these.
Re: Cleanfeed Update (sugestion)
#83890
Author: floffy
Date: Thu, 24 Feb 2011 17:19
35 lines
2605 bytes
On Thu, 24 Feb 2011 15:25:28 +0000 (UTC), Steve Crook
<steve@mixmin.net> wrote:

>Hi all,
>
>It's been over eight months since the last Cleanfeed release and a bug
>reported this week has prompted me to do a new one.  The bug in question
>relates to some recent spam articles that contain thousands of consecutive
>Vertical Whitespace characters.  These were choking the binary filters
>as their construct caused them to repeatedly backtrack over the regex.
>In some instances this could cause Cleanfeed to spend an hour processing
>a single article.  My thanks to Matija Nalis for reporting it and
>providing a patch.

Since Newsgroups we use mostly Text server 
why not limit the number of lines (must be define)
limit the size to 64k (must be define)
limit the Crosspost to 1
 - Genuine msg do not need copy 
 - Each newsgroups have is own topics ,others , why we 
    keep it !
 -limit the individuel post of same msg to many groups
  and it variation

AND trim all the groups not Active for very long time
and make a OFFICIAL list of newsgroups
Most active groups are around 35k-40k

make a official configuration for all
it will help lot to limit spam/troll/ads/crosspost

Mostly all server do not remove Binairies in non Binairies Groups
that create lot of traffic for nothing 
----
Pass/create from news.mccarragher.com
Re: Cleanfeed Update (sugestion)
#83888
Author: River Tarnell
Date: Thu, 24 Feb 2011 17:31
46 lines
2836 bytes
In article <4d66932d$1@news.mccarragher.com>,
floffy <gallaxial@gmail.com> wrote:
> Since Newsgroups we use mostly Text server 
> why not limit the number of lines (must be define)
> limit the size to 64k (must be define)

It makes more sense to ask your peers to configure these limits, so that 
you don't receive the articles at all, rather than having to receive and 
then discard them.  (I don't think INN allows filtering by number of 
lines, though.)

> limit the Crosspost to 1
>  - Genuine msg do not need copy 

There are plenty of legitimately cross-posted messages; FAQ posts and 
hierarchy administrivia come to mind.

>  -limit the individuel post of same msg to many groups
>   and it variation

This is called EMP (excessive multi-posting) and Cleanfeed already 
filters it.

> AND trim all the groups not Active for very long time
> and make a OFFICIAL list of newsgroups
> Most active groups are around 35k-40k
 
That is impossible, because there's no single list that's appropriate 
for all servers; every Usenet server around probably has a different set 
of hierarchies on it.

The Big-8 management board recently announced a plan to cull some unused 
groups from those hierarchies; more details in 
<great-downsizing-2011-1-rfd-1@news.albasani.net>.  For other 
hierarchies, the maintainer(s) of those hierarchies would need to 
approve it and send a control message.  For unmaintained hierarchies, 
the ISC active file[0] is probably as "official" as you're going to get.

> Mostly all server do not remove Binairies in non Binairies Groups
> that create lot of traffic for nothing 

Then don't peer with those servers ;-)

	- river.

[0] ftp.isc.org:/pub/usenet/CONFIG/active
Re: Cleanfeed Update
#83892
Author: River Tarnell
Date: Thu, 24 Feb 2011 17:33
14 lines
1651 bytes
In article <slrnimcu38.3b8.steve@news.mixmin.net>,
Steve Crook  <steve@mixmin.net> wrote:
> It's been over eight months since the last Cleanfeed release and a bug
> reported this week has prompted me to do a new one.

This reminds me... is there any interest in Cleanfeed for Diablo?  The 
current version seems to have lost support for it (highwinds mode), 
although I was able to hack it back in locally.  If anyone else was 
interested I can submit a patch to do it in a nicer way.

(OTOH, I may just implement INN Perl filters in Diablo, which would 
allow any INN filter to be used unchanged...)

	- river.
Re: Cleanfeed Update (sugestion)
#83893
Author: Steve Crook
Date: Thu, 24 Feb 2011 17:52
31 lines
2307 bytes
On 24 Feb 2011 12:19:41 -0500, floffy wrote in
Message-Id: <4d66932d$1@news.mccarragher.com>:

> Since Newsgroups we use mostly Text server 
> why not limit the number of lines (must be define)
This can easily be done from within your cleanfeed.local file.  See
http://www.mixmin.net/cleanfeed/faq.html#linelimit

> limit the size to 64k (must be define)
Best way to do this is to ask your peers to only feed you articles under
a certain size. (<32768:innfeed!).

> limit the Crosspost to 1
sub local_filter_first {
    if ($grpcnt > 1) {
	return reject('Article is crossposted')
    };
};

> AND trim all the groups not Active for very long time
> and make a OFFICIAL list of newsgroups
> Most active groups are around 35k-40k
This can be partially done by configuring actsync in INN.  Trimming
inactive groups is really a housekeeping activity.

> Mostly all server do not remove Binairies in non Binairies Groups
> that create lot of traffic for nothing 
If servers are passing large binaries to text-only groups, contact the
administrator of the offending feed and ask them to stop doing it.
Although Cleanfeed does filter misplaced binaries, you've already had to
receive them so it's better to hit them at source.
Re: Cleanfeed Update (sugestion)
#83894
Author: D. Stussy
Date: Fri, 25 Feb 2011 03:09
65 lines
3323 bytes
"floffy" <gallaxial@gmail.com> wrote in message
news:4d66932d$1@news.mccarragher.com...
> On Thu, 24 Feb 2011 15:25:28 +0000 (UTC), Steve Crook
> <steve@mixmin.net> wrote:
> >It's been over eight months since the last Cleanfeed release and a bug
> >reported this week has prompted me to do a new one.  The bug in question
> >relates to some recent spam articles that contain thousands of
consecutive
> >Vertical Whitespace characters.  These were choking the binary filters
> >as their construct caused them to repeatedly backtrack over the regex.
> >In some instances this could cause Cleanfeed to spend an hour processing
> >a single article.  My thanks to Matija Nalis for reporting it and
> >providing a patch.
>
> Since Newsgroups we use mostly Text server
> why not limit the number of lines (must be define)

You are free to do that yourself in "cleanfeed.local".

> limit the size to 64k (must be define)

Inappropriate for cleanfeed.  Already implemented as a newsfeed parameter.

> limit the Crosspost to 1

Inappropriate for cleanfeed.  Already implemented as a newsfeed parameter.

>  - Genuine msg do not need copy

???

>  - Each newsgroups have is own topics ,others , why we
>     keep it !

???

>  -limit the individuel post of same msg to many groups
>   and it variation

Inappropriate for cleanfeed.  Already implemented as a newsfeed parameter.

> AND trim all the groups not Active for very long time
> and make a OFFICIAL list of newsgroups
> Most active groups are around 35k-40k

Not appropriate for special purpose groups, especially in "news.admin.*".
Some of those will see traffic only when there's a problem, which should be
infrequent.

> make a official configuration for all

Isn't that what the defaults are for???

> it will help lot to limit spam/troll/ads/crosspost
>
> Mostly all server do not remove Binairies in non Binairies Groups
> that create lot of traffic for nothing

You mean:  Cleanfeed doesn't already do this?

> Pass/create from news.mccarragher.com

No.  I want spam from them filtered too.

Re: Cleanfeed Update
#83895
Author: D. Stussy
Date: Fri, 25 Feb 2011 03:34
18 lines
1923 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnimcu38.3b8.steve@news.mixmin.net...
> It's been over eight months since the last Cleanfeed release and a bug
...

Is there a rule to count how many times a URL (especially, http://www....)
appears in an article, either as a pure count or as a ratio to the number
of lines of text?

I noted some spammy articles which are just web page URL lists.

I'm thinking of something like:  More than 5 URLs and more than 50% of the
text (rejects or scores spammy).  This should permit URL references that
are cited as sources for text (appropriate for some replies, especially
political groups), and permit single or two URL references in response to a
question, but discourage URL lists.

Re: Cleanfeed Update
#83896
Author: Steve Crook
Date: Fri, 25 Feb 2011 09:59
29 lines
2077 bytes
On Thu, 24 Feb 2011 19:34:12 -0800, D. Stussy wrote in
Message-Id: <ik77uq$53n$1@snarked.org>:

> Is there a rule to count how many times a URL (especially, http://www....)
> appears in an article, either as a pure count or as a ratio to the number
> of lines of text?

Yes, there's $urlcount which returns a count of the number of lines
containing URLs.  There's also $urlratio which returns the percentage of
lines in the post containing URLs.

Both of these are defined during the Scoring section so they're only
accessible from:
local_filter_scoring
local_filter_last


> I'm thinking of something like:  More than 5 URLs and more than 50% of the
> text (rejects or scores spammy).  This should permit URL references that
> are cited as sources for text (appropriate for some replies, especially
> political groups), and permit single or two URL references in response to a
> question, but discourage URL lists.
Currently the urlratio is used to weight scorings where:-
 >80% Scores 4
 >50% Scores 3
 >30% Scores 2
 >10% Scores 1
 No URL's in a posting scores -2
Re: Cleanfeed Update
#83897
Author: D. Stussy
Date: Fri, 25 Feb 2011 21:42
144 lines
6696 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnimevch.3b8.steve@news.mixmin.net...
> On Thu, 24 Feb 2011 19:34:12 -0800, D. Stussy wrote in
> Message-Id: <ik77uq$53n$1@snarked.org>:
>
> > Is there a rule to count how many times a URL (especially,
http://www....)
> > appears in an article, either as a pure count or as a ratio to the
number
> > of lines of text?
>
> Yes, there's $urlcount which returns a count of the number of lines
> containing URLs.  There's also $urlratio which returns the percentage of
> lines in the post containing URLs.
>
> Both of these are defined during the Scoring section so they're only
> accessible from:
> local_filter_scoring
> local_filter_last
>
>
> > I'm thinking of something like:  More than 5 URLs and more than 50% of
the
> > text (rejects or scores spammy).  This should permit URL references
that
> > are cited as sources for text (appropriate for some replies, especially
> > political groups), and permit single or two URL references in response
to a
> > question, but discourage URL lists.
> Currently the urlratio is used to weight scorings where:-
>  >80% Scores 4
>  >50% Scores 3
>  >30% Scores 2
>  >10% Scores 1
>  No URL's in a posting scores -2

I thought there might be something.  Thanks for confirming it.  However, is
it working?  It looks as if it needs some tuning.  I've seen some recent
articles of URL lists getting through.

Example:  12 URLS and 20 lines (60%).  Coming from google doesn't help
either:
------------------------------------------
Path:
news.snarked.org!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.co
m!nntp.giganews.com!postnews.google.com!o10g2000vbg.googlegroups.com!not-fo
r-mail
From: angel <angelarch888@yahoo.com>
Newsgroups: alt.cult.nudism
Subject: I just found it, the great dating sites
Date: Thu, 24 Feb 2011 19:14:12 -0800 (PST)
Organization: http://groups.google.com
Lines: 20
Message-ID:
<1dbc71e7-ded5-4e93-9445-6aab4082bca9@o10g2000vbg.googlegroups.com>
NNTP-Posting-Host: 81.158.183.46
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1298603652 18494 127.0.0.1 (25 Feb 2011
03:14:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 25 Feb 2011 03:14:12 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: o10g2000vbg.googlegroups.com; posting-host=81.158.183.46;
posting-account=dKDFeQoAAAAsZZlO63trsjWwXeefcpvr
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
 Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET
CLR
 3.0.30729; Media Center PC 6.0; .NET4.0C),gzip(gfe)
Xref: news.snarked.org alt.cult.nudism:75

You tried the rest now try the best
http://www.girlsformen.diydating.com
http://www.swingers.dating.xxxdated.com
http://www.domandsub.shagdirect.shagdirect.com
http://www.gay.adult.contacts.lustcontacts.com
http://www.DOGGINGS.diydating.com
http://www.alt.diydating.com
http://www.Girls.girls.diydating.com
http://www.Big.Beauiful.diydating.com
http://www.Girls-Asian.diydating.com
http://www.muslins.diydating.com
WEB HOSTING
DEDICATED SERVERS
DEDICATED SERVER HOSTING
RESELLER HOSTING
DOMAIN NAMES
WE AE THE BEST ON THE WEB
http://www.heartinternet.co.uk/aff.cgi?entry=Jy8goAHJ5ckanc5O0_jpGA
Sell Films. Make BIG Bucks
http://aff.kinkydollars.com/track/MTAxMTYzOTo1OjI,287/
------------------------------------------

Another example:  14 URLS and 16 lines (87.5%):
------------------------------------------
Path:
news.snarked.org!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.co
m!nntp.giganews.com!postnews.google.com!t13g2000vbo.googlegroups.com!not-fo
r-mail
From: angel <angelarch888@yahoo.com>
Newsgroups: alt.cult.nudism
Subject: ALL WELCOME TO JOIN====>
Date: Thu, 24 Feb 2011 20:31:31 -0800 (PST)
Organization: http://groups.google.com
Lines: 16
Message-ID:
<43061877-33d8-4474-8fec-d63b4696b818@t13g2000vbo.googlegroups.com>
NNTP-Posting-Host: 81.158.183.46
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1298608291 28873 127.0.0.1 (25 Feb 2011
04:31:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 25 Feb 2011 04:31:31 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t13g2000vbo.googlegroups.com; posting-host=81.158.183.46;
posting-account=dKDFeQoAAAAsZZlO63trsjWwXeefcpvr
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
 Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET
CLR
 3.0.30729; Media Center PC 6.0; .NET4.0C),gzip(gfe)
Xref: news.snarked.org alt.cult.nudism:76

All weclome to join our group
http://groups.google.com/group/ts-seduction
http://groups.google.com/group/girls-wiredpussy
http://groups.google.com/group/the-sm-group
http://groups.google.com/group/the-men-in-pain
New blogs with film clips
http://devicebondage-girls.blogspot.com/
http://divinebitches-girls.blogspot.com/
http://everythingbutt-girls.blogspot.com/
http://girls-sexandsubmission.blogspot.com/
http://men-boundgods.blogspot.com/
http://sexmachine-girls.blogspot.com/
http://hogtied-girls.blogspot.com/
http://publicdisgrace-girls.blogspot.com/
http://trainingofo-girls.blogspot.com/
http://upperfloor-girls.blogspot.com/
------------------------------------------

Re: Cleanfeed Update
#83898
Author: Steve Crook
Date: Sat, 26 Feb 2011 10:05
20 lines
1836 bytes
On Fri, 25 Feb 2011 13:42:05 -0800, D. Stussy wrote in
Message-Id: <ik97n7$dom$1@snarked.org>:

> I thought there might be something.  Thanks for confirming it.  However, is
> it working?  It looks as if it needs some tuning.  I've seen some recent
> articles of URL lists getting through.
>
> Example:  12 URLS and 20 lines (60%).  Coming from google doesn't help
> either:

It's possible that the message didn't match enough rules to hit the
threshold score, even though it contains lots of URLs.  I'd suggest
adding some logging to cleanfeed.local to catch what's happening.

sub local_filter_last {
  logart('cf.scoring', $vr, 271) if $urlcount > 5;
};

This will log articles along with a breakdown of the scores applied to
them.
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