🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by bill davidsen Wed, 05 May 1999 00:00
Blocking a host without losing information
#37243
Author: bill davidsen
Date: Wed, 05 May 1999 00:00
30 lines
2188 bytes
  I have a list of hosts which generate almost all spam, and I would
love to block posts from them. The problem is that if I add them to the
ME line the posts get rejected, but posts passing through them get
marked as seen, and legitimate posts get dropped. I don't have a really
good way to identify the spam from the good stuff, on a given day I got
9200 posts through this host, of which 40-50 posts originating on the
host were valid, and perhaps 200 posts passing through were valid. All
else was SPAM.

  The valid posts passing through will eventually get to me by another
route, but I will reject them if I block the host. I tricd blocking the
host, unfortunately that lost some stuff the readers *really* want to see.

  For the moment I am using a cleanfeed hack to do a very large number
of validity checks on the posts passing through them, but I really don't
want to make that a habit, writing a page of perl for every open host
isn't in the cards, nor would applying the checks I am using be
effective on other sites, it would drop valid posts.

  Suggestions welcome.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Blocking a host without losing information
#37286
Author: bill davidsen
Date: Thu, 06 May 1999 00:00
56 lines
3594 bytes
In article <Pine.LNX.4.05.9905060758490.3440-100000@penguin.mendelu.cz>,
barry (there is no barry) <barry@vszbr.MISMATCH!> wrote:
| On 5 May 1999, bill davidsen wrote:

| About the spam... Is there an easy way to detect that the unwanted
| posts have originated at that host, or is path pre-loading often a
| problem? If it's not, then I suggest you parse the Path: header and if
| the dubious site appears at the tail of the path, then do your fascist
| Qleanfeed czeching.

Actually I can just drop anything actually originating from
then, although there is some valid content. The problem is that
they are the fastest path to me for two moderated groups, both
popular. I'd like to accept their valid original stuff, but
because of path preloading I want to drop all their pass
through, but I need it.

| This way, if that host serves only for transit, you won't bother to
| do your checks with the high rate of false positives outside of this
| one host's spam, and you can tweak your filtering to the max for only
| those articles originating there without path preloads.

It's the other way round, I need to filter hell out of the pass
through, I can stand the pain of dropping everything which
originates from them, at least until I find a better way to
catch the spam.

| On the other hand, if you often see forged path pre-loads so that
| it's not so easy to determine the article originates from that
| site, and you can't filter based on the preloads, then if you are
| running INN, you might consider hacking the source so that you
| don't remember those articles with that host in the ME list of
| exclusions, provided your ME blacklist is only an entry or two,
| while still remembering other trash.  This may be a risk with use
| of pre-commit caching, it all depends how mutilated your source
| is already, and wastes a bit of bandwidth since all your peers
| will each send you the entirety of what you reject, which could
| slow things down a bit and cause you to fall a couple notches in
| the top 1000

Actually I have moved virtually all my local stuff into
cleanfeed, so I need run only a very small number of mods into
the actual INN code (2.2-STABLE). I still have two machines
running 1.5.1local71, their mother wouldn't recognize that code
without a nametag, and I don't want to get back in that game
ever again.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Blocking a host without losing information
#37287
Author: barry (there is no barry)
Date: Thu, 06 May 1999 00:00
65 lines
3499 bytes
On 5 May 1999, bill davidsen wrote:

>   I have a list of hosts which generate almost all spam, and I would
> love to block posts from them.

Yay.


> The problem is that if I add them to the
> ME line the posts get rejected, but posts passing through them get
> marked as seen, and legitimate posts get dropped.

That is, when you configure yourself to remember trash.
Which is a fairly common configuration...


> I don't have a really
> good way to identify the spam from the good stuff, on a given day I got
> 9200 posts through this host, of which 40-50 posts originating on the
> host were valid, and perhaps 200 posts passing through were valid. All
> else was SPAM.

Ugh.  The question becomes what is an acceptable collateral
damage...


> route, but I will reject them if I block the host. I tricd blocking the
> host, unfortunately that lost some stuff the readers *really* want to see.

Oh well, so that much as a tradeoff doesn't work for you...


>   For the moment I am using a cleanfeed hack to do a very large number
> of validity checks on the posts passing through them, but I really don't
> want to make that a habit, writing a page of perl for every open host
> isn't in the cards, nor would applying the checks I am using be
> effective on other sites, it would drop valid posts.
>   Suggestions welcome.

About the spam...  Is there an easy way to detect that the unwanted
posts have originated at that host, or is path pre-loading often a
problem?  If it's not, then I suggest you parse the Path: header
and if the dubious site appears at the tail of the path, then do
your fascist Qleanfeed czeching.

This way, if that host serves only for transit, you won't bother to
do your checks with the high rate of false positives outside of
this one host's spam, and you can tweak your filtering to the max
for only those articles originating there without path preloads.

On the other hand, if you often see forged path pre-loads so that
it's not so easy to determine the article originates from that
site, and you can't filter based on the preloads, then if you are
running INN, you might consider hacking the source so that you
don't remember those articles with that host in the ME list of
exclusions, provided your ME blacklist is only an entry or two,
while still remembering other trash.  This may be a risk with use
of pre-commit caching, it all depends how mutilated your source
is already, and wastes a bit of bandwidth since all your peers
will each send you the entirety of what you reject, which could
slow things down a bit and cause you to fall a couple notches in
the top 1000


Re: Blocking a host without losing information
#37295
Author: Russ Allbery
Date: Thu, 06 May 1999 00:00
32 lines
2101 bytes
bill davidsen <davidsen@tmr.com> writes:

> I have a list of hosts which generate almost all spam, and I would love
> to block posts from them. The problem is that if I add them to the ME
> line the posts get rejected, but posts passing through them get marked
> as seen, and legitimate posts get dropped. I don't have a really good
> way to identify the spam from the good stuff, on a given day I got 9200
> posts through this host, of which 40-50 posts originating on the host
> were valid, and perhaps 200 posts passing through were valid. All else
> was SPAM.

> The valid posts passing through will eventually get to me by another
> route, but I will reject them if I block the host. I tricd blocking the
> host, unfortunately that lost some stuff the readers *really* want to
> see.

As soon as I manage to get a test server up so that I can test it, I'll be
submitting a patch to the INN Perl filter support that will allow you to
do what you want via a Perl filter.  Basically, the patch will make it so
that if the first word of the returned rejection reason is some keyword
(haven't decided what a good one would be yet), the article is rejected
but the message ID isn't added to history even if you're running with
remembertrash.

If you reject on precommit or if your peers drop deferred articles, you
could still lose, but under most circumstances that should mean you'll
pick the article up again via another path.

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

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