Article View: news.software.nntp
Article #23851PATCH: Disable lossy Diablo spam filtering
From: Jeff Garzik
Date: Mon, 01 Dec 1997 00:00
Date: Mon, 01 Dec 1997 00:00
55 lines
2555 bytes
2555 bytes
This is a multi-part message in MIME format.
--------------526150887567A17072B6E0E8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
One of the problems with the Diablo spam filtering methods used is its
high rate of false positives. An admin must constantly scan his logs
and manually update an exclusion list. The Diablo spam filter also
erroneously catches off-line readers, and valid, upstanding news
services that send posts to their posting servers at very high rates.
The patch attached below, almost laughable in its simplicity, disables
the lossy filtering ONLY, while leaving the rest of the spam filtering
system intact.
This patch is against Diablo 1.13 by popular request.
I recommend that you remove all spam exclusions except
"news.newsdawg.com" from your dnewsfeeds file after installation of this
patch. (dnewsfeeds requires at least a single delspam entry, I think.)
--
Jeff Garzik Typhoon, Cyclone, Diablo, and INN
Spinne USENET News Service Fast and efficient news feeds
http://www.spinne.com/usenet/ News tuning and consulting
--------------526150887567A17072B6E0E8
Content-Type: text/plain; charset=us-ascii; name="disable-rate-filter.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="disable-rate-filter.patch"
*** diablo.c.orig Sun Nov 30 19:04:49 1997
--- diablo.c Sun Nov 30 19:07:31 1997
***************
*** 1945,1955 ****
--- 1945,1957 ----
haveDate = 1;
strlcpy(dateBuf, p + 5, bytes - 5, sizeof(dateBuf));
+ #ifdef HIGH_MAINTENANCE_SPAM_FILTER
} else if (SpamFilterOpt &&
bytes >= 18 &&
strncasecmp(p, "NNTP-Posting-Host:", 18) == 0
) {
strlcpy(nntpPostingHost, p + 18, bytes - 18, sizeof(nntpPostingHost));
+ #endif
} else if (bytes >= 11 && strncasecmp(p, "Message-ID:", 11) == 0) {
char *ps;
char *pe;
--------------526150887567A17072B6E0E8--
Technical Details
Message-ID:
<34822D18.3CCF081C@spinne.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-mailShow Full Headers
Complete Article Headers
Message-ID: <34822D18.3CCF081C@spinne.com> Subject: PATCH: Disable lossy Diablo spam filtering Date: Mon, 01 Dec 1997 00:00:00 +0000 From: Jeff Garzik <jeff.garzik@spinne.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: 294067800 Organization: Spinne http://spinne.com NNTP-Posting-Date: Sun, 30 Nov 1997 22:19:01 EST Newsgroups: news.software.nntp