🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Jeff Garzik Mon, 01 Dec 1997 00:00
PATCH: Disable lossy Diablo spam filtering
#23851
Author: Jeff Garzik
Date: Mon, 01 Dec 1997 00:00
55 lines
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--


Re: PATCH: Disable lossy Diablo spam filtering
#23780
Author: Matt Dillon
Date: Sun, 30 Nov 1997 00:00
18 lines
1017 bytes
:In article <34822D18.3CCF081C@spinne.com>,
:Jeff Garzik  <jeff.garzik@spinne.com> wrote:
:>This is a multi-part message in MIME format.
:>
:..

    How well does this work verses the old method?  If it works reasonably
    well I'll make it an option in diablo.config.

						-Matt

:>*** diablo.c.orig	Sun Nov 30 19:04:49 1997
:>--- diablo.c	Sun Nov 30 19:07:31 1997
:...
:

Re: PATCH: Disable lossy Diablo spam filtering
#23831
Author: Jeff Garzik
Date: Mon, 01 Dec 1997 00:00
14 lines
1158 bytes
Matt Dillon wrote:
>     How well does this work verses the old method?  If it works reasonably
>     well I'll make it an option in diablo.config.

It still gets quite a bit of spam.  I don't have a full day's data, but
it seems to be catching 2-5,000 articles per hour using the default
Diablo spam filter settings.
-- 
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

Re: PATCH: Disable lossy Diablo spam filtering
#23844
Author: Brett Hawn
Date: Mon, 01 Dec 1997 00:00
21 lines
1178 bytes
On 30 Nov 1997 22:43:54 -0800, Matt Dillon <dillon@best.net> wrote:
>:In article <34822D18.3CCF081C@spinne.com>,
>:Jeff Garzik  <jeff.garzik@spinne.com> wrote:
>:>This is a multi-part message in MIME format.
>:>
>:..
>
>    How well does this work verses the old method?  If it works reasonably
>    well I'll make it an option in diablo.config.

Matt,

  I'll let you know later today, I keep a logfile of the spam from day to
day (don't ask why, I just do) and should be able to gauge its effectiveness
within a few hours.


-- 

Re: PATCH: Disable lossy Diablo spam filtering
#23847
Author: Jan Isley
Date: Mon, 01 Dec 1997 00:00
50 lines
3267 bytes
According to Matt Dillon <dillon@best.net>:

> How well does this work verses the old method?  If it works reasonably
> well I'll make it an option in diablo.config.

These are not the best stats for reasons that will be obvious if
you compare the volume, but here is 12 hours of 'patched' stats from
today versus the same 12 hours from last Monday.  The first hour
of this morning's spam numbers are skewed because I compiled the
patch at 00:46 and took a few minutes to shutdown and restart.
The differences are quite remarkable though.

Today - 'patched'
-----------------
Hour Accepted %Acc    Volume   %Vol   Check Ihave  Spam   Rejs Errs 
 00    23978  7.36  581.50MB  11.18  302996     0  8206   8849  0 
 01     9635  2.96  305.65MB   5.88   92577     0  1997   3570  0 
 02    19756  6.06  470.87MB   9.05  118278     0  2846   4245  0 
 03    28170  8.65  476.38MB   9.16  150557     0  1786   2666  0 
 04    27626  8.48  318.49MB   6.12  151677     0   691   2473  0 
 05    24396  7.49  377.38MB   7.25  146049     0  1134   2222  0 
 06    18161  5.57  282.30MB   5.43   87325     0   284    586  0 
 07    27345  8.39  302.26MB   5.81  158254     0  1805   2463  0 
 08    22884  7.02  396.66MB   7.62  153311     0  1430   1939  0 
 09    16869  5.18  316.70MB   6.09  105668     0   794   1123  0 
 10    36570 11.23  436.14MB   8.38  258941     0  3608   4735  0 
 11    29912  9.18  316.38MB   6.08  246391     0  2635   3187  0 
 12    40456 12.42  621.51MB  11.95  133974     0  5118   5772  0 

Last week - 'regurlar'
----------------------
Hour Accepted %Acc    Volume   %Vol   Check Ihave  Spam   Rejs Errs 
 00    16656  4.22  180.72MB   5.98   66073     0 10662  16097  0 
 01    17940  4.55  145.93MB   4.83   85846     0 15928  24883  0 
 02    17315  4.39  150.86MB   5.00   72469     0 12427  18977  0 
 03    11201  2.84  125.79MB   4.17   41699     0  8350  12577  0 
 04    15040  3.81  132.65MB   4.39   68533     0  9199  14974  0 
 05    13655  3.46   97.67MB   3.23   63002     0 10365  17686  0 
 06    11582  2.93   85.76MB   2.84   49140     0  7447  12568  0 
 07    14551  3.69   96.28MB   3.19   56051     0  8250  13372  0 
 08    15820  4.01  122.37MB   4.05   63621     0 10214  15923  0 
 09    18101  4.59  137.35MB   4.55   66508     0 10745  15005  0 
 10    19045  4.83  141.05MB   4.67   67491     0 10546  14612  0 
 11    20637  5.23  132.59MB   4.39   77583     0 13321  18452  0 
 12    21716  5.50  112.06MB   3.71   84400     0 13587  19931  0

-Jan

Re: PATCH: Disable lossy Diablo spam filtering
#24134
Author: Jan Isley
Date: Mon, 08 Dec 1997 00:00
35 lines
2113 bytes
According to Matt Dillon <dillon@best.net>:
...
> How well does this work verses the old method?  If it works reasonably
> well I'll make it an option in diablo.config.

Here is two weeks worth of stats on the same box.  It gets a full
feed from BBN and a dozen or more other peers.  The first set is for
default Diablo filtering.  The second set is the default as modified
with Jeff's patch.  The slow holiday week make the numbers even more
interesting.

Default Diablo spam filtering

               Accepted    Volume     Spam  Rejected
Mon 24 Nov 97    754473    5.81GB   279510    463327
Tue 25 Nov 97    654673    4.88GB   311887    321536
Wed 26 Nov 97    671798    8.94GB   307981    350934
Thu 27 Nov 97    592992    8.82GB   227123    302510
Fri 28 Nov 97    572136    8.35GB   202634    229011
Sat 29 Nov 97    451451   10.15GB   155724    205685
Sun 30 Nov 97    482586    9.21GB   167603    185310

Modified Diablo spam filtering

               Accepted    Volume     Spam  Rejected
Mon 01 Dec 97    730492   10.51GB    72479     91883
Tue 02 Dec 97    793023   12.91GB   103726    116965
Wed 03 Dec 97    797052   10.73GB   139013    151576
Thu 04 Dec 97    769311   11.97GB    96159    110027
Fri 05 Dec 97    794260   10.72GB    85933    109398
Sat 06 Dec 97    801578   12.25GB   118977    128562
Sun 07 Dec 97    751707   11.76GB    84183    100655

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