Article View: news.software.nntp
Article #20664Controlled BETA of anti-spam nnrpd patch available
From: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
101 lines
5922 bytes
5922 bytes
OK, I've been shooting off my mouth about this nifty new toy, it's time to produce. :-) We've got some fairly solid code that pretty much seals out spam at the source. It does some other nice stuff too. A description somewhat more detailed than my posting from last week is at the end of this message. For this first test, we'd like 10-20 *very* experienced news admins who are capable of reading the C code (it's not terribly abstruse) and figuring out what's broken before reporting the bug. :-) Seriously, we'll try and help you out if you have a problem, but what we really want is people who can help us shake out portability problems and suchlike. We've only built this thing under NetBSD, so it's quite possible that it will completely fail to compile on certain platforms. We'll want you to give us a working Makefile for your platform, or at least tell us where it's failing. (We are trying to make use of the INN config.data, which should cut down on this, but I still expect some trouble on some platforms.) FWIW, I don't expect any serious non-porting bugs, but anything's possible. While this will be a very controlled Beta (you can't redistribute the code) we will be giving it away with very few restrictions (the license will look a lot like INN's) once it's released. The kit should work easily with all versions of nnrpd.c, since it's a very tiny patch. However, it's only tested with 1.5.1 and 1.4unoff4 at the moment. BTW, my apologies to those who've been expecting email from me (esp. Bill and Forrest). In the last five days we've had *two* disk failures that I've had to deal with, while recuperating from driving a motorcycle for four hours through Long Island's version of the Monsoon... I'm just getting back into things now, and should be caught up in a day or two. If you want to try out this software, and have the experience to pound on it yourself if necessary, please write back to us at "gizmo@panix.com". This is the working name (*definitely* not permanent) for this package. At least it's better than "News Condom"... Hey, we'll have a contest for the beta testers, the one who comes up with the best name gets ... um, I dunno, a public thank-you for rescuing us from gizmoness... Oh, when you write to us, please tell us: 1) What hardware you'll be running it on 2) What OS and version 3) What version of INN (esp. nnrpd.c) 4) Size of site We're going to try to spread out the testing among various combinations to try and shake out as many problems as possible, so please don't feel offended if we don't pick you for the first beta- you may be the fourth person running GizmoOS on a CoCo to write us, and we won't need more than three for the beta... Credit where credit is due: Aidan Cully has done all the coding on this project, going vastly further than my original proff-of-concept. The original design was a collaboration between me and Larry Nathanson. /a --- Alexis Rosen Owner/Sysadmin, PANIX Public Access Unix & Internet, NYC. alexis@panix.com ----- Description written by Aidan Cully ----- The gizmo is a package that allows for easy tracking and blocking of messages sent by users over any number of protocols. (Currently, it's being used for Usenet, but there's nothing stopping it being used for mail or other protocols. It is a very easy to use library.) This is done per-user, so it can either accept user authentication from some other part of the program using it, or, failing that, can attempt to resolve the remote user's IP address into a username. The posting limits are configurable on a per-user basis, so that people like newsgroup moderators can have really high limits, and past offenders can be blocked at lower volumes (that sort of thing). gizmo provides configurable notification and a very extensible architecture for resolving IP addresses or performing text substitution in sent mail. It has three kinds of action it can take when posts are sent: Let it through, slow it down, or block it. The implementation of "let it through" and "block it" should be immediately apparent.. Slow it down means that the message is spooled to a directory that an external daemon will scan through for articles to send to the server. When the article is spooled and the user has sent a number of posts above the slowness threshold divisible by a notification threshhold, a message is sent to a configurable third party detailing the filename the message is stored in and the offending user. The catchup daemon knows from the filename the amount of time to delay the resend and the name of the offending user. It scans through the spool directory fairly infrequently to keep I/O at a minimum.. Errors the daemon encounters in sending the (spooled) message are, again, piped to a configurable program. If there is no error, and the spooled message is sent correctly, the spooled file is deleted. It is not deleted if there is an error (debugging being as nice as it is). I've been trying to build more extensive documentation in HTML form, and such as exists exists at http://www.panix.com/~aidan/src/inn/ [Alexis adds: just because it's not in the docs yet doesn't mean it's not implemented yet. The web pages are a little behind, but they'll catch up soon.]
Technical Details
Message-ID:
<5tbsr5$len@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-mailShow Full Headers
Complete Article Headers
Message-ID: <5tbsr5$len@panix4.panix.com> Subject: Controlled BETA of anti-spam nnrpd patch available Date: Tue, 19 Aug 1997 00:00:00 +0000 From: alexis@panix.com (Alexis Rosen) 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: 267909905 Distribution: inet Organization: PANIX Public Access Internet and Unix, NYC Reply-To: gizmo@panix.com Newsgroups: news.software.nntp