🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37287

Re: Blocking a host without losing information

#37287
From: 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


Technical Details
Message-ID: <Pine.LNX.4.05.9905060758490.3440-100000@penguin.mendelu.cz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7gqcmv$fs4$1@newssvr01-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.05.9905060758490.3440-100000@penguin.mendelu.cz>
Subject: Re: Blocking a host without losing information
Date: Thu, 06 May 1999 00:00:00 +0000
From: "barry (there is no barry)" <barry@vszbr.MISMATCH!>
References: <7gqcmv$fs4$1@newssvr01-int.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 474627514
X-NNTP-Posting-Host: proxy.orgasoft.cz
X-Sender: barry@penguin.mendelu.cz
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: 6 May 1999 08:18:02 +0100, proxy.orgasoft.cz
Organization: Ceske Vysoke Uceni Technicke, Praha
MIME-Version: 1.0
Newsgroups: news.software.nntp