🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Paul Tomblin Thu, 23 Sep 1999 00:00
Detecting local spammers?
#40065
Author: Paul Tomblin
Date: Thu, 23 Sep 1999 00:00
26 lines
2077 bytes
Does anybody know of any good ways of detecting if your local users are
attempting to spam?  I've heard of Panix's "News Gizmo", but I understand they
are only supporting inn 2.3 now and I'm on 2.2.1.

So far, my only lines of defence are bogus moderated groups in ab.* and alt.*
which I've made myself the "moderator" for.  If somebody is spamming groups in
alphabetical order, I get the article emailed to me when they hit those
groups.  I catch about a luser every other month that way.  But I know that
some of my other lusers are appearing in NoCeM reports, and I'd like to catch
them *before* they tickle cancel bots.

I tried the "exponential backoff" stuff in inn 2.2.1, but it didn't work
right, mostly because a huge proportion of our users log directly into our
machines and post from there, and if I back off based on IP it's going to
affect all of them (and those posters don't use authentication so backoff
based on userid isn't going to work for them either).  This might work for the
ones who post from dial-in ppp connections, but I doubt they're the most
significant proportion of our users.


-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Detecting local spammers?
#40070
Author: Russ Allbery
Date: Thu, 23 Sep 1999 00:00
19 lines
1397 bytes
Paul Tomblin <ptomblin@xcski.com> writes:

> I was hoping to find something I could do with filter_nnrpd.pl.  I've
> stuck a few rules in there to enforce the cross posting rules of some of
> the local newsgroups, but what I'd really like to do is keep track of
> how many times each user is posting and if they're posting a lot, either
> do some sort of backoff or send a warning to me.

You can do it there if you tie db files or do something else to maintain
persistance between nnrpds, but be careful about locking because you've
got a concurrent access problem.  It's a lot easier with innd's filter.

I keep meaning to put code into innd's filter to do the spooling tricks
that nnrpd's can do.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Detecting local spammers?
#40088
Author: Russ Allbery
Date: Thu, 23 Sep 1999 00:00
16 lines
1196 bytes
Paul Tomblin <ptomblin@piper.xcski.com> writes:

> Does anybody know of any good ways of detecting if your local users are
> attempting to spam?  I've heard of Panix's "News Gizmo", but I
> understand they are only supporting inn 2.3 now and I'm on 2.2.1.

Might try just piping your local posts into the same spam filters that you
use for non-local posts (and hunting up a copy of Cleanfeed if you don't
currently use filters at all) and then watching news.notice on your client
injection box for any filter rejections.  MD5, particularly fuzzy MD5,
catches quite a bit.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Detecting local spammers?
#40119
Author: greg andruk
Date: Fri, 24 Sep 1999 00:00
32 lines
2102 bytes
Paul Tomblin <ptomblin@xcski.com> wrote:

> When I was using BOURSY, however, I got numerous complaints from
> users who claimed that their posts were disappearing,

Hence the name.  Unfortunately he went and ruined the punchline by
going all moderate and stuff.

> and when I excluded local posts from the filter the complaints
> stopped.  I never actually tracked down *why* it was removing their
> posts,

I'll bet you were running Cleanfeed in aggressive mode.  It's brutal =)

> I was hoping to find something I could do with filter_nnrpd.pl.  I've stuck a
> few rules in there to enforce the cross posting rules of some of the local
> newsgroups, but what I'd really like to do is keep track of how many times
> each user is posting and if they're posting a lot, either do some sort of
> backoff or send a warning to me.

You said you've got some shell users.  To get around the problem of
backoff auth for that set of users, maybe you can work off identd.  I
think the Gizmo can already use this, and some hackery's been going
into 2.3 to support that sort of thing.

There is also a spooling option in nnrpds that have Andrew's BOFH
patch.  It's built into 2.3; I don't recall if 2.2 came with it but
there are patches on Jeremy's pages if you need it.  With the SPOOL
option you can err on the side of caution with local filters without
permanent lossage.

Re: Detecting local spammers?
#40129
Author: Paul Tomblin
Date: Fri, 24 Sep 1999 00:00
45 lines
3291 bytes
In a previous article, Russ Allbery <rra@stanford.edu> said:
>Paul Tomblin <ptomblin@piper.xcski.com> writes:
>> Does anybody know of any good ways of detecting if your local users are
>> attempting to spam?  I've heard of Panix's "News Gizmo", but I
>> understand they are only supporting inn 2.3 now and I'm on 2.2.1.
>
>Might try just piping your local posts into the same spam filters that you
>use for non-local posts (and hunting up a copy of Cleanfeed if you don't

Hmmm.  On my older server is inn 1.4, and when I inherited it there wasn't any
source code for it (and it has some local hacks), so I'm using BOURSY (Batch
Oriented Usenet Retroactive Spam Yanker) which is a channel feed that feeds
the articles to cleanfeed and then removes them if they "fail".  Not as good
as putting cleanfeed in filter_innd.pl like I can now with the new server,
since the articles hit the spool and are then removed, but it helps.

When I was using BOURSY, however, I got numerous complaints from users who
claimed that their posts were disappearing, and when I excluded local posts
from the filter the complaints stopped.  I never actually tracked down *why*
it was removing their posts, because the quality of users I'm dealing with
isn't the best and brightest and trying to get some useful information out of
them was like pulling teeth.

I was hoping to find something I could do with filter_nnrpd.pl.  I've stuck a
few rules in there to enforce the cross posting rules of some of the local
newsgroups, but what I'd really like to do is keep track of how many times
each user is posting and if they're posting a lot, either do some sort of
backoff or send a warning to me.

One thing that might be helpful for doing that is that I've hacked inn 2.2.1
so that if the user is coming from off-site, they have to use authentication,
and the code throws out whatever "From:" line they supply and replaces it with
one generated from their userid and full name.  And the news readers we
provide for users who log into our systems do something similar - so we know
that local users can't forge their addresses.

I suspect that trying to maintain a database of users and how many posts
they've done would be slow and cpu expensive, though.

-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Detecting local spammers?
#40136
Author: Andreas Barth
Date: Fri, 24 Sep 1999 00:00
18 lines
1389 bytes
On 24 Sep 1999 01:52:04 GMT, Paul Tomblin <ptomblin@xcski.com> wrote:
> When I was using BOURSY, however, I got numerous complaints from users who
> claimed that their posts were disappearing, and when I excluded local posts
> from the filter the complaints stopped.  I never actually tracked down *why*
> it was removing their posts, because the quality of users I'm dealing with
> isn't the best and brightest and trying to get some useful information out of
> them was like pulling teeth.

Well, perhaps you could modify the feed that local posts are
mailed to you before removed (or something similar)?



Andi
-- 
sig lost

Re: Detecting local spammers?
#40142
Author: Paul Tomblin
Date: Sat, 25 Sep 1999 00:00
24 lines
1885 bytes
In a previous article, Alan Mackenzie<none@all.de.invalid> said:
>Paul Tomblin <ptomblin@xcski.com> wrote:
>> I've hacked inn 2.2.1 so that if the user is coming from off-site, they
>> have to use authentication, and the code throws out whatever "From:"
>> line they supply and replaces it with one generated from their userid
>> and full name.
>
>I do hope you make it clear in advance to people that you're doing this
>(or let them know at posting time what's happening and and give them the
>opportunity to back out). Broadcasting personal information behind
>people's backs isn't a nice thing to do.

It's a condition of membership on our Freenet that all postings have to have
your real name and real userid on them.  We've been enforcing this under
inn1.4 since 1991.



-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Detecting local spammers?
#40152
Author: Alan Mackenzie
Date: Sat, 25 Sep 1999 00:00
19 lines
1514 bytes
Paul Tomblin <ptomblin@xcski.com> wrote:

> I've hacked inn 2.2.1 so that if the user is coming from off-site, they
> have to use authentication, and the code throws out whatever "From:"
> line they supply and replaces it with one generated from their userid
> and full name.

I do hope you make it clear in advance to people that you're doing this
(or let them know at posting time what's happening and and give them the
opportunity to back out). Broadcasting personal information behind
people's backs isn't a nice thing to do.

-- 
Alan Mackenzie (Munich, Germany)
Email: ayeseeemm@emmyousee.deeeee; to decode, replace "aye" by 'a', "see"
by 'c', etc.


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