Article View: news.software.nntp
Article #20542Re: Diabolical anti-spam nnrpd patch
From: Ragnar Lonn
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
47 lines
3285 bytes
3285 bytes
In article <5ssf8g$e8n$3@pad-thai.cam.ov.com>, jik@cam.ov.com (Jonathan I. Kamens) wrote: >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 Hehe, are you suggesting I don't know who my users are? Well looking at the IP is useless as almost all ISPs use dynamic IP's, and as I mentioned in a note I just wrote, going by username/ID/whatever is fine as long as the newsadmin is prepared to hack that part into nnrpd himself because there are *tons* of different ways ISPs use to identify their users in their own networks. No standard way. But I guess if it's the only way to actually get rid of the spam, then one could demand they implemented it in their newsservers anyhow. Not that all will, of course. >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. > Why not accept everything but delay it and, if it falls too far from normal usage patterns, refrain from actually posting it and instead call on a human operator to decide what to do with it? Catches all, stops nothing (though introduces delays). The drawback is it requires some manual effort but that could be kept small, I think. /Ragnar, Algonet/TNI
Technical Details
Message-ID:
<5t1ehj$adr$2@zingo.tninet.se>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-mailReferences:
<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: <5t1ehj$adr$2@zingo.tninet.se> Subject: Re: Diabolical anti-spam nnrpd patch Date: Fri, 15 Aug 1997 00:00:00 +0000 From: prl@algonet.se (Ragnar Lonn) 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: 264356837 Organization: Algonet Newsgroups: news.software.nntp