🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by Etian Fri, 11 Jun 2010 19:27
a whitelist spam-filtration algorithm for newsreaders
#241301
Author: Etian
Date: Fri, 11 Jun 2010 19:27
37 lines
2941 bytes
I don't know if any newsreader software has incorporated an algorithm 
like this. It's similar to email programs that put everything into your 
spam folder unless it's from someone in your address book, and 
automatically put addresses in your address book when you reply to them. 
Of course, this could be in addition to other blacklist filters 
involving banned words, banned crossposts, etc.

1. The newsreader software keeps a whitelist of other posters whom the 
user has personally selected.

2. The user can activate the filter to only show threads in which 
someone on this whitelist has participated. In this case, the whole 
thread is shown, not just the posts from those on your list (subject to 
whatever blacklist filters the user may have implemented).

3. The user can elect for the software to automatically add other 
posters to the whitelist, after the poster has both posted to and 
received a reply from anyone else who is already on the whitelist 
(either directly or in a subthread). The user could choose other ways to 
automatically add posters, such as when the user has replied to them 
directly or optionally indirectly.

I've experimented in several groups, priming the list with just the most 
interactive participant, letting it loop through adding others who have 
interacted bilaterally with others on the list, until almost a complete 
list of group participants is built.  The result is nearly complete, 
self-working, language-neutral spam filtration. There are very few 
falsely-filtered out, most importantly noobs, which you won't see until 
someone else who is on your whitelist replies to them. Maybe the 
software should also have a view to show all posts not blacklisted, but 
highlight only those who are on your whitelist, so that the user could 
manually add some that are missing, blacklist certain others, or 
directly reply to a noob.


Etian
sonic-news
Re: a whitelist spam-filtration algorithm for newsreaders
#241302
Author: Whiskers
Date: Fri, 11 Jun 2010 21:09
20 lines
2156 bytes
On 2010-06-11, Etian <54698212@sonic-news.com> wrote:
> I don't know if any newsreader software has incorporated an algorithm 
> like this. It's similar to email programs that put everything into your 
> spam folder unless it's from someone in your address book, and 
> automatically put addresses in your address book when you reply to them. 
> Of course, this could be in addition to other blacklist filters 
> involving banned words, banned crossposts, etc.

[...]

Sounds like a very interesting and attractive concept.

There could be some similarities with the "onekey-score" 
<http://slrn.sourceforge.net/macros.html> and "Simple adaptive scoring" 
<http://slrn.sourceforge.net/links.html#macros> tools available for slrn.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: a whitelist spam-filtration algorithm for newsreaders
#241308
Author: Mike Yetto
Date: Sat, 12 Jun 2010 15:10
70 lines
4710 bytes
Etian <54698212@sonic-news.com> writes and having writ moves on.
> I don't know if any newsreader software has incorporated an algorithm 
> like this. It's similar to email programs that put everything into your 
> spam folder unless it's from someone in your address book, and 
> automatically put addresses in your address book when you reply to them. 
> Of course, this could be in addition to other blacklist filters 
> involving banned words, banned crossposts, etc.
>

I'm not convinced this will add anything above what can be done
with a score file and some discretionary reading, but that is
only my opinion.  It does work well for e-mail, but I stopped
this approach with the advent of Bayesian filtering.

> 1. The newsreader software keeps a whitelist of other posters whom the 
> user has personally selected.
>

This, on its own, will be a small and deminishing list, but I see
you have ways of expanding it.  Without that expansion you will
find yourself isolated.

> 2. The user can activate the filter to only show threads in which 
> someone on this whitelist has participated. In this case, the whole 
> thread is shown, not just the posts from those on your list (subject to 
> whatever blacklist filters the user may have implemented).
>

My first thought on this is what will happen when the thread has
grown fairly long before an approved poster joins.  You will have
a bit of catching-up to do just to determine if the thread is
interesting.

> 3. The user can elect for the software to automatically add other 
> posters to the whitelist, after the poster has both posted to and 
> received a reply from anyone else who is already on the whitelist 
> (either directly or in a subthread). The user could choose other ways to 
> automatically add posters, such as when the user has replied to them 
> directly or optionally indirectly.
>

This will add trolls that an approved poster decides to play
with, as well as other new posters that might be worthwhile.

> I've experimented in several groups, priming the list with just the most 
> interactive participant, letting it loop through adding others who have 
> interacted bilaterally with others on the list, until almost a complete 
> list of group participants is built.  The result is nearly complete, 
> self-working, language-neutral spam filtration. There are very few 
> falsely-filtered out, most importantly noobs, which you won't see until 
> someone else who is on your whitelist replies to them. Maybe the 
> software should also have a view to show all posts not blacklisted, but 
> highlight only those who are on your whitelist, so that the user could 
> manually add some that are missing, blacklist certain others, or 
> directly reply to a noob.
>

In all, I wouldn't use this in any group that serves *any* type
of support roll where noobs are expected.

I use a score system and sort with that score to help me choose
which posts to read rather than choosing for me.

That said, if you can get it working to your satisfaction, go for
it.

Mike "not my mug of beer" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: a whitelist spam-filtration algorithm for newsreaders
#241313
Author: VanguardLH
Date: Sun, 13 Jun 2010 05:44
82 lines
6339 bytes
Etian wrote:

> I don't know if any newsreader software has incorporated an algorithm 
> like this. It's similar to email programs that put everything into your 
> spam folder unless it's from someone in your address book, and 
> automatically put addresses in your address book when you reply to them. 
> Of course, this could be in addition to other blacklist filters 
> involving banned words, banned crossposts, etc.
> 
> 1. The newsreader software keeps a whitelist of other posters whom the 
> user has personally selected.

Aye, there's the rub.  Just how are you going to know what posters to
include in your whitelist unless you also do NOT use the whitelist so
you can see who are the regular posters in a newsgroup with whom you
want to communicate?  Your whitelist will start out blank, remain blank
because you see no posts, and you're essential just disabled everything
in the newsgroup.  You enter deaf and will remain deaf.

> 2. The user can activate the filter to only show threads in which 
> someone on this whitelist has participated. In this case, the whole 
> thread is shown, not just the posts from those on your list (subject to 
> whatever blacklist filters the user may have implemented).

Then you brought back the noise posts.  If you manage to somehow
generate your whitelist, those excluded posters will still be replying
to posters that you do want to see.  By enabling the entire
subthread(s), you end up seeing all the replies from the noise posters
that you were trying to avoid.  Your whitelist would STILL have to get
applied to all respondents of a whitelisted poster to ensure the
undesirables still get filtered out (and preferrably filter out the
entire subthread of the noise post since you also don't care about
replies to a noise poster).

> 3. The user can elect for the software to automatically add other 
> posters to the whitelist, after the poster has both posted to and 
> received a reply from anyone else who is already on the whitelist 
> (either directly or in a subthread). The user could choose other ways to 
> automatically add posters, such as when the user has replied to them 
> directly or optionally indirectly.

So now you want to have some unknown owner of a server manage a
whitelist for you.  How do you know if someone else that includes a
poster is not considered by you a noise poster?  When you go to a party
where everyone that is there had to be invited, you really believe that
you will adore everyone there?  You might consider someone a noise
poster.  Another user also subscribing to this server-side managed
whitelist doesn't consider that person a noise poster and has them on
their whitelist.  Because that poster is on someone's whitelist which is
getting managed and shared from some server, you end up seeing the noise
poster that you were attempting to avoid.

And how are you going to read offline?  Say you want to read the article
(including their bodies) while not connected.  You download the articles
and then disconnect.  Now you're aren't connected anymore to get an
updated copy of the whitelist database managed up on some server.

> I've experimented in several groups, priming the list with just the most 
> interactive participant, letting it loop through adding others who have 
> interacted bilaterally with others on the list, until almost a complete 
> list of group participants is built.  The result is nearly complete, 
> self-working, language-neutral spam filtration. There are very few 
> falsely-filtered out, most importantly noobs, which you won't see until 
> someone else who is on your whitelist replies to them. Maybe the 
> software should also have a view to show all posts not blacklisted, but 
> highlight only those who are on your whitelist, so that the user could 
> manually add some that are missing, blacklist certain others, or 
> directly reply to a noob.

Such a list will only compile a list of regulars that inhabit a
newsgroup.  That means when a new person arrives to ask a question, none
of you subscribing to your whitelist will see their question.  So
effectively you created a sub-channel in the newsgroup where only
old-timers that have managed to get on this whitelist can talk to
themselves and excluding everyone that comes to the newsgroup to ask for
help.  You basically destroyed the purpose of the newsgroup.  If you
want that level of exclusion, just go start a Google Group or Yahoo
Group in which potential candidates for inclusion have to request entry.
Then you old crones can blater amongst each other.  The group owner can
apply his/her iron claw policy to get rid of non-desirable posters.  Use
forums for what they were designed for and stop trying to turn Usenet
into a moderated forum.
Re: a whitelist spam-filtration algorithm for newsreaders
#241318
Author: Whiskers
Date: Sun, 13 Jun 2010 13:09
57 lines
4237 bytes
On 2010-06-13, VanguardLH <V@nguard.LH> wrote:
> Etian wrote:

[...]

>> 3. The user can elect for the software to automatically add other 
>> posters to the whitelist, after the poster has both posted to and 
>> received a reply from anyone else who is already on the whitelist 
>> (either directly or in a subthread). The user could choose other ways to 
>> automatically add posters, such as when the user has replied to them 
>> directly or optionally indirectly.
>
> So now you want to have some unknown owner of a server manage a
> whitelist for you.  

[...]

Why?  There's no reason in principle the user's own software couldn't do
that for itself, locally.  If only the 'From' and 'Message-ID' and
'References' headers are required for the filter to work, the crossover 
information is all that's required from the upstream server.

>> I've experimented in several groups, priming the list with just the most 
>> interactive participant, letting it loop through adding others who have 
>> interacted bilaterally with others on the list, until almost a complete 
>> list of group participants is built.  The result is nearly complete, 
>> self-working, language-neutral spam filtration. There are very few 
>> falsely-filtered out, most importantly noobs, which you won't see until 
>> someone else who is on your whitelist replies to them. Maybe the 
>> software should also have a view to show all posts not blacklisted, but 
>> highlight only those who are on your whitelist, so that the user could 
>> manually add some that are missing, blacklist certain others, or 
>> directly reply to a noob.
>
> Such a list will only compile a list of regulars that inhabit a
> newsgroup.  That means when a new person arrives to ask a question, none
> of you subscribing to your whitelist will see their question.  So
> effectively you created a sub-channel in the newsgroup where only
> old-timers that have managed to get on this whitelist can talk to
> themselves and excluding everyone that comes to the newsgroup to ask for
> help.  You basically destroyed the purpose of the newsgroup.  If you
> want that level of exclusion, just go start a Google Group or Yahoo
> Group in which potential candidates for inclusion have to request entry.
> Then you old crones can blater amongst each other.  The group owner can
> apply his/her iron claw policy to get rid of non-desirable posters.  Use
> forums for what they were designed for and stop trying to turn Usenet
> into a moderated forum.

I think Etian is 'on to something' potentially useful; he's clearly already 
conscious of the limitations of 'block or not block' filtering.  I think
he's only a whisker away from discovering or inventing the 'scorefile' 
method  ;))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: a whitelist spam-filtration algorithm for newsreaders
#241320
Author: Etian
Date: Sun, 13 Jun 2010 15:40
29 lines
2664 bytes
VanguardLH wrote:
> 
> Aye, there's the rub. 
> 
That's kind of a reductio ad absurdum.  It is unlikely that this or any 
other single method would become predominant.  If it did, then spammers 
would circumvent it.

The list should be primed with posters the user wants to see. But my 
test script picks out the user with the highest (number of unique 
replied-to addresses * number of unique replied-by addresses), to prime 
the system.  Running it blindly on this group over 3 years exactly as 
described, it filters out about 900 posts out of about 30000.   It takes 
out all the spam, some crossposted OT threads, plus a few on-topic 
threads involving tight cliques who only discuss certain off-beat 
newsreaders. In a slow, well-behaved group such as this, it isn't 
particularly useful for day-to-day reading.

Where it is most useful, is groups that have been so flooded by spam as 
to become useless, or even be abandoned in favor of a group name that 
wasn't so much of a spam target.  In that case, it filters out literally 
gigabytes of porn ads and malwarez, and gives you a snapshot up to the 
group's final days when they are saying "last one to leave please turn 
out the lights."  And it does that with no knowledge of the group's 
interests or history.  You don't even have to know the language.


Etian
sonic-news
Re: a whitelist spam-filtration algorithm for newsreaders
#241323
Author: Mike Yetto
Date: Sun, 13 Jun 2010 21:17
34 lines
3223 bytes
Etian <54698212@sonic-news.com> writes and having writ moves on.
> The list should be primed with posters the user wants to see. But my 
> test script picks out the user with the highest (number of unique 
> replied-to addresses * number of unique replied-by addresses), to prime 
> the system.  Running it blindly on this group over 3 years exactly as 
> described, it filters out about 900 posts out of about 30000.   It takes 
> out all the spam, some crossposted OT threads, plus a few on-topic 
> threads involving tight cliques who only discuss certain off-beat 
> newsreaders. In a slow, well-behaved group such as this, it isn't 
> particularly useful for day-to-day reading.
>

This or another effective method of priming the system is what
could make it work.

> Where it is most useful, is groups that have been so flooded by spam as 
> to become useless, or even be abandoned in favor of a group name that 
> wasn't so much of a spam target.  In that case, it filters out literally 
> gigabytes of porn ads and malwarez, and gives you a snapshot up to the 
> group's final days when they are saying "last one to leave please turn 
> out the lights."  And it does that with no knowledge of the group's 
> interests or history.  You don't even have to know the language.
>

It isn't surprising that it works best in groups you'd rather not
be in anyway.

That said, it would be a worthwhile proxy filter for news clients
with no scoring system.

Mike "insert pithy phrase here" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: a whitelist spam-filtration algorithm for newsreaders
#241324
Author: Etian
Date: Mon, 14 Jun 2010 00:30
12 lines
1793 bytes
Mike Yetto wrote:
> That said, it would be a worthwhile proxy filter for news clients
> with no scoring system.
It might be a different tool for a different job than scoring.  More 
like answering the questions "Is this group alive, or just a spam dump?" 
  If it's dead, did if recently have members who went someplace else? 
If it's alive, what are they interactively exchanging above the noise of 
the commercial spam?


Etian
sonic-news
Re: a whitelist spam-filtration algorithm for newsreaders
#241325
Author: Mike Yetto
Date: Mon, 14 Jun 2010 02:10
27 lines
2851 bytes
Etian <54698212@sonic-news.com> writes and having writ moves on.
> Mike Yetto wrote:
>> That said, it would be a worthwhile proxy filter for news clients
>> with no scoring system.
> It might be a different tool for a different job than scoring.  More 
> like answering the questions "Is this group alive, or just a spam dump?" 
>   If it's dead, did if recently have members who went someplace else? 
> If it's alive, what are they interactively exchanging above the noise of 
> the commercial spam?
>

It sounds like you envision this as a complete maintenance,
filtering and analysis tool.  In other words, all things to all
people.

Adding plans for code bloat to the original proposal sounds like
a system designed to fail.  Start with the spam filter concept
and build the analysis tools as backend utilities after the
database has been finalized.

Complex systems that work start from simple systems that
work.

Mike "the sig says it all" Yetto
-- 
Pluralitas non est ponenda sine necessitate.
 - William of Ockham
Re: a whitelist spam-filtration algorithm for newsreaders
#241326
Author: Etian
Date: Mon, 14 Jun 2010 03:43
13 lines
2049 bytes
Mike Yetto wrote:
>> Mike Yetto wrote:

> It sounds like you envision this as a complete maintenance,
> filtering and analysis tool.  In other words, all things to all
> people.
I have no clue from where you would get that idea.  I've explained what 
it does, how it works, and where I have found it useful. If any 
newsreader developer/maintainer cares to incorporate it, and any other 
user finds it useful, then it's there to use.  That's all.

Etian
sonic-news
Re: a whitelist spam-filtration algorithm for newsreaders
#241327
Author: Mike Yetto
Date: Mon, 14 Jun 2010 12:00
23 lines
2762 bytes
Etian <54698212@sonic-news.com> writes and having writ moves on.
> Mike Yetto wrote:
>>> Mike Yetto wrote:
>
>> It sounds like you envision this as a complete maintenance,
>> filtering and analysis tool.  In other words, all things to all
>> people.
> I have no clue from where you would get that idea.  I've explained what 
> it does, how it works, and where I have found it useful. If any 
> newsreader developer/maintainer cares to incorporate it, and any other 
> user finds it useful, then it's there to use.  That's all.
>

That impression came from the list of accomplishments you posted.
If you care to take my post as anything other than constructive
criticism you certainly have that right and ability.  In which
case I'll offer no more.  And I'll use the scoring system I
already have with hand built and customized scores.

Mike  "multiply entities to taste" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: a whitelist spam-filtration algorithm for newsreaders
#241329
Author: Etian
Date: Mon, 14 Jun 2010 23:58
21 lines
2377 bytes
Whiskers wrote:
> There could be some similarities with the "onekey-score" 
> <http://slrn.sourceforge.net/macros.html> and "Simple adaptive scoring" 
> <http://slrn.sourceforge.net/links.html#macros> tools available for slrn.
> 
I think onekey is based on the user's individual interests, whereas the 
algorithm I described is based on a group's collective behavior.

It's nice to know about slrn macros, as a potential testbed.  Although 
my interest really isn't in the newsreader, but rather in a selective 
expiration method that expires spam more aggressively than nonspam, and 
how to differentiate in a manner that doesn't require any content analysis.

It's just that this algorithm showed nearly miraculous results in 
cleaning up groups inundated by spam, I felt it worthwhile describing 
it, just in case someone else might want to pick up the ball where I am 
dropping it.  Or maybe it is better to keep it a secret, since it is so 
easily defeated.

Etian
sonic-news
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