🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20668

Re: Diabolical anti-spam nnrpd patch

#20668
From: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
36 lines
2538 bytes
jik@cam.ov.com (Jonathan I. Kamens) writes:
>In article <5ss15k$9ua$2@zingo.tninet.se>, prl@algonet.se (Ragnar Lonn) writes:
>|> Might do some good, though, if you upped the limit so that the first
>|> N posts (say 10-20) were accepted without delay. But then again, a spammer
>|> might find that out and post 19 messages, then logout and logon again.

>Obviously, you need to keep a persistent hash table associating IP
>addresses (or some other unique authentication token if clients use
>dynamic IP; if you don't have a mechanism at this point for associating
>an incoming posting or E-mail message with a specific authenticated
>user, you shouldn't be running an ISP) with the number of messages
>recently sent via E-mail or posted.  This table could be GC'd by
>periodically "decaying" the values in it and then deleting the ones
>which drop below a minimum threshold (e.g., divide by 2 once per minute
>and delete any entries which are less than 1).  Then, each time a user
>sends an E-mail message or posts a message to the Usenet, his counter
>in the hash table is incremented (or a new counter with a value of 1 is
>created if one wasn't there previously), and the current counter value
>can be used as the input of an arbitrary function to determine the
>sleep time (e.g., don't sleep at all for counters less than 20, but
>sleep for a number of seconds equal to the counter value for anything
>higher).  Both the decay algorithm and the sleep algorithm can be
>tweaked to achieve the desired delay characteristics.

Good ideas, all. Been there, done that, announcing public beta test in my
next post...

/a

---
Alexis Rosen   Owner/Sysadmin,
PANIX Public Access Unix & Internet, NYC.
alexis@panix.com

Technical Details
Message-ID: <5tbq38$cnr@panix4.panix.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
References: <blabla.0009@news1.exit109.com> <5sq6hq$7g6@dfw-ixnews1.ix.netcom.com> <5sq9k7$if6$2@news1.epix.net> <5sqfed$rvc$1@havoc.gtf.gatech.edu> <5sqpp3$kom$2@synthemesc.insync.net> <5ss15k$9ua$2@zingo.tninet.se> <5ssf8g$e8n$3@pad-thai.cam.ov.com>

Show Full Headers
Complete Article Headers
Message-ID: <5tbq38$cnr@panix4.panix.com>
Subject: Re: Diabolical anti-spam nnrpd patch
Date: Tue, 19 Aug 1997 00:00:00 +0000
From: alexis@panix.com (Alexis Rosen)
References: <blabla.0009@news1.exit109.com> <5sq6hq$7g6@dfw-ixnews1.ix.netcom.com> <5sq9k7$if6$2@news1.epix.net> <5sqfed$rvc$1@havoc.gtf.gatech.edu> <5sqpp3$kom$2@synthemesc.insync.net> <5ss15k$9ua$2@zingo.tninet.se> <5ssf8g$e8n$3@pad-thai.cam.ov.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: 267890492
Distribution: inet
Organization: PANIX Public Access Internet and Unix, NYC
Newsgroups: news.software.nntp