🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by D. Stussy Wed, 10 Mar 2010 23:21
Cleanfeed: "bad_url" vs "bad_body" (Release 306)
#82912
Author: D. Stussy
Date: Wed, 10 Mar 2010 23:21
11 lines
1644 bytes
If I place URL fragments (mainly domain names and patterns) into the
"bad_body" file, the messages that have them get filtered out, as expected.

If I place these fragments into "bad_url" (which is where they really
should be), the messages get stored into the local spool.

Upon a casual glance of cleanfeed, it appears that "bad_url" contributes to
the scoring system, and by itself will NOT cause article rejection.  Is
that correct, or is it broken?

Re: Cleanfeed: "bad_url" vs "bad_body" (Release 306)
#82915
Author: Steve Crook
Date: Thu, 11 Mar 2010 13:14
14 lines
1609 bytes
On Wed, 10 Mar 2010 15:21:52 -0800, D. Stussy wrote in
Message-Id: <hn99iv$pff$1@snarked.org>:

> Upon a casual glance of cleanfeed, it appears that "bad_url" contributes to
> the scoring system, and by itself will NOT cause article rejection.  Is
> that correct, or is it broken?

That's the correct behaviour.  The principle is that a casual mention of
the url shouldn't cause a reject but will result in a high score
against the article.

In nearly every instance I've monitored, the actual spam posting
receives scoring for a series of reasons so the added bad_url score of 5
pushes them above the reject threshold.
Re: Cleanfeed: "bad_url" vs "bad_body" (Release 306)
#82918
Author: D. Stussy
Date: Thu, 11 Mar 2010 20:09
75 lines
3690 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnhphr6h.56p.steve@news.mixmin.net...
> On Wed, 10 Mar 2010 15:21:52 -0800, D. Stussy wrote in Message-Id:
<hn99iv$pff$1@snarked.org>:
> > Upon a casual glance of cleanfeed, it appears that "bad_url"
contributes to
> > the scoring system, and by itself will NOT cause article rejection.  Is
> > that correct, or is it broken?
>
> That's the correct behaviour.  The principle is that a casual mention of
> the url shouldn't cause a reject but will result in a high score
> against the article.
>
> In nearly every instance I've monitored, the actual spam posting
> receives scoring for a series of reasons so the added bad_url score of 5
> pushes them above the reject threshold.

Well, I recently added a whole bunch of "sex spam" URLs (from articles
posted mainly to the "alt.sex.*" misspelled groups, which I file into
"junk" because of wanttrash=true), and I found that those were still being
accepted.  The scoring system wasn't triggering on them.

Here are a few of the patterns:

phonesex.*\.com
free.*sex
[a-z]+\.6x\.to
[a-z]+\.c4\.to
[a-z]+\.da\.ru
adores\.it
aofra.\com
beam\.to
bedtimebunnies\.com
digs\.it
end\.at
has\.it
hotphonefucks\.com
ineed2pee\.com
kickme\.to
kinkycrossdressing\.com
mix-video-tut\.ru
natsjobs\.com
pornhome\.com
sassysubmissiveangel\.com
sissytrain\.com
streamate\.com
telephoneteasers\.com
vip-tube\.ru

I note that "beam.to" is also used in image spam, but there were sufficient
text spam articles to include it.  As noted, my solution was to have the
fragments (domain names and patterns) in "bad_body" instead.

You may want to change the documentation:
http://www.mixmin.net/cleanfeed/files.html

bad_url (regex): "This works exactly like bad_body but will only match
url's. This is achieved by prefixing all the filters in this file with
"http://" or "www.". This file is intended to offer concenience over using
bad_body whilst also removing the risk of filtering your entire feed by
mistake."

Obviously, if it is contributing to the scoring system (while "bad_body"
does not), it doesn't "work exactly like bad_body".

Suggested corrected text: "This works similar to bad_body but will only
match url's and contributes to the scoring system. This is ...."  (no
further changes)


(For Geoff @glorb:  This list is slightly different than the one I sent to
you in email recently.  It includes only the sex spammers and not the
others.)

Re: Cleanfeed: "bad_url" vs "bad_body" (Release 306)
#82919
Author: Steve Crook
Date: Thu, 11 Mar 2010 20:23
22 lines
1997 bytes
On Thu, 11 Mar 2010 12:09:32 -0800, D. Stussy wrote in
Message-Id: <hnbimb$8gq$1@snarked.org>:

> Well, I recently added a whole bunch of "sex spam" URLs (from articles
> posted mainly to the "alt.sex.*" misspelled groups, which I file into
> "junk" because of wanttrash=true), and I found that those were still being
> accepted.  The scoring system wasn't triggering on them.

Perhaps a good solution would be to add a user-definable
config{bad_url_score} to enable people to tune the score they wish to
apply?

> You may want to change the documentation:
> http://www.mixmin.net/cleanfeed/files.html
Thanks, it is misleading and I'll update it in conjuction with adding
the above config option if you think it's a good solution.

> (For Geoff @glorb:  This list is slightly different than the one I sent to
> you in email recently.  It includes only the sex spammers and not the
> others.)
You might also be interested in
http://www.mixmin.net/cleanfeed/bad_url_central.
Re: Cleanfeed: "bad_url" vs "bad_body" (Release 306)
#82921
Author: D. Stussy
Date: Thu, 11 Mar 2010 20:51
47 lines
3038 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnhpik9k.56p.steve@news.mixmin.net...
> On Thu, 11 Mar 2010 12:09:32 -0800, D. Stussy wrote in
> Message-Id: <hnbimb$8gq$1@snarked.org>:
> > Well, I recently added a whole bunch of "sex spam" URLs (from articles
> > posted mainly to the "alt.sex.*" misspelled groups, which I file into
> > "junk" because of wanttrash=true), and I found that those were still
being
> > accepted.  The scoring system wasn't triggering on them.
>
> Perhaps a good solution would be to add a user-definable
> config{bad_url_score} to enable people to tune the score they wish to
> apply?

If we have a good explanation on how the scoring system works, then yes.
I'm not certain I understand it - does it work on overall string length or
the number of exclamation points?  If it were numeric (like spamassassin's
system), it would be more obvious.  (I haven't studied that part of
cleanfeed in depth.)

> > You may want to change the documentation:
> > http://www.mixmin.net/cleanfeed/files.html
> Thanks, it is misleading and I'll update it in conjuction with adding
> the above config option if you think it's a good solution.

OK.

> > (For Geoff @glorb:  This list is slightly different than the one I sent
to
> > you in email recently.  It includes only the sex spammers and not the
> > others.)
> You might also be interested in
> http://www.mixmin.net/cleanfeed/bad_url_central.

Note how I collapsed some of your entries into a
"[a-z]+\.example\.com"-type format, and other wildcards.

Don't forget about the job spammers on the ".jobs" groups, and real-estate
spammers....  You list 1, but I found 4 (3 others):

interiorliving\.com
jobcircle\.com
natsjobs\.com

...And for "bad_from", the guy that goes by "Shopper".

Re: Cleanfeed: "bad_url" vs "bad_body" (Release 306)
#82935
Author: Steve Crook
Date: Sat, 13 Mar 2010 10:14
44 lines
2944 bytes
On Thu, 11 Mar 2010 12:51:03 -0800, D. Stussy wrote in
Message-Id: <hnbl47$9uh$1@snarked.org>:

> If we have a good explanation on how the scoring system works, then yes.
> I'm not certain I understand it - does it work on overall string length or
> the number of exclamation points?  If it were numeric (like spamassassin's
> system), it would be more obvious.  (I haven't studied that part of
> cleanfeed in depth.)
It used to be numeric until I changed it.  :)

The problem was that a numeric score conveyed no information on what
triggers caused it.  This made debugging for myself and Cleanfeed
users pretty much impossible.  The current method is to count the number
of '!' and "*" characters in the score string where "!" increments the
score and "*" decrements it.  There's also a "#" used in some instances
which implies a neutral result to a given check.  After the score
character, there's a very brief text summary of what caused the score.

As an example:
!!SubCR!!SubLength!!Sub2Pt!!SpamSrc

SubCR		Subject contains a CR
SubLength	Subject is >210 chars
Sub2Pt		Subject matches the two_point_words regex
SpamSrc		The injecting host is frequently used for spamming

I guess I should create a webpage and document all these.

>> Thanks, it is misleading and I'll update it in conjuction with adding
>> the above config option if you think it's a good solution.
>
> OK.
There's now a config{bad_url_score} option in development, downloadable
at:
http://www.mixmin.net/svn/cleanfeed/trunk/cleanfeed

>> You might also be interested in
>> http://www.mixmin.net/cleanfeed/bad_url_central.
>
> Note how I collapsed some of your entries into a
> "[a-z]+\.example\.com"-type format, and other wildcards.
Yes, I've done it in a couple of instances but as the bad_url_central
file is machine-generated, (unless I intervene) it generates static
entries.
Re: Cleanfeed: "bad_url" vs "bad_body" (Release 306)
#82936
Author: D. Stussy
Date: Sun, 14 Mar 2010 02:27
61 lines
3657 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnhpmpcs.7k6.steve@news.mixmin.net...
> On Thu, 11 Mar 2010 12:51:03 -0800, D. Stussy wrote in
> Message-Id: <hnbl47$9uh$1@snarked.org>:
>
> > If we have a good explanation on how the scoring system works, then
yes.
> > I'm not certain I understand it - does it work on overall string length
or
> > the number of exclamation points?  If it were numeric (like
spamassassin's
> > system), it would be more obvious.  (I haven't studied that part of
> > cleanfeed in depth.)
> It used to be numeric until I changed it.  :)
>
> The problem was that a numeric score conveyed no information on what
> triggers caused it.  This made debugging for myself and Cleanfeed
> users pretty much impossible.  The current method is to count the number
> of '!' and "*" characters in the score string where "!" increments the
> score and "*" decrements it.  There's also a "#" used in some instances
> which implies a neutral result to a given check.  After the score
> character, there's a very brief text summary of what caused the score.
>
> As an example:
> !!SubCR!!SubLength!!Sub2Pt!!SpamSrc
>
> SubCR Subject contains a CR
> SubLength Subject is >210 chars
> Sub2Pt Subject matches the two_point_words regex
> SpamSrc The injecting host is frequently used for spamming
>
> I guess I should create a webpage and document all these.

Or stuff them into an array and generate a report (if requested; optional)
like spamassassin does.

Alternatively, send to the syslog every scoring rule that gets triggered
(with its score).  If an entry after the last indicates the message was
rejected, then we know what happened.

> >> Thanks, it is misleading and I'll update it in conjuction with adding
> >> the above config option if you think it's a good solution.
> >
> > OK.
> There's now a config{bad_url_score} option in development, downloadable
> at:
> http://www.mixmin.net/svn/cleanfeed/trunk/cleanfeed
>
> >> You might also be interested in
> >> http://www.mixmin.net/cleanfeed/bad_url_central.
> >
> > Note how I collapsed some of your entries into a
> > "[a-z]+\.example\.com"-type format, and other wildcards.
>
> Yes, I've done it in a couple of instances but as the bad_url_central
> file is machine-generated, (unless I intervene) it generates static
> entries.

OK.

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