Article View: news.software.nntp
Article #20949Re: posting and spam filtering
From: Christopher Sedore
Date: Mon, 25 Aug 1997 00:00
Date: Mon, 25 Aug 1997 00:00
69 lines
3682 bytes
3682 bytes
Jeremy wrote: > > Christopher Sedore <cmsedore@maxwell.syr.edu> wrote: > > >I know that you can work around this, but I'd like to be able to do > >these things: > > > > 1. baseline article posting rates, and change behaviour when > >rates dramatically exceed the baseline > > The Perl filter could do this; with Andrew's patch I recently > posted, it would also have access to the authinfo username if > used. There's no reason the filter can't save state information > even from one instance to the next. It's doubtful that one > server's users are posting quickly enough that a brief exclusive > lock on a file would make any difference -- and if that is > happening, it's probably because someone is trying to spam. > > > 2. set "suspicious" posts aside, to see if more like them are > >coming and perhaps to send them to a more complex filter (and then > >deciding a little later what to do with them) > > 3. be able to hold "really suspicious" posts for potential > >operator intervention or other system based action > > That same patch adds this ability as well. You can return "SPOOL" > to have the posts saved for manual inpection. With that code, > you're on your own after that, but additional tools could be > created for examining the suspect posts if there are that many > of them. > > > 4. sign posts with an MD5, pgp, or pgp-like system > > This would require write access to the headers, which I've already > discussed briefly with Andrew, and he tells me it's non-trivial. > It could be done from within the nnrpd source, of course, which > wouldn't be nearly as flexible. > > > 5. log post tracing info for some or all posts > > That's certainly possible, even without the patch. > > >In the case of INN, it seems that you'd want to pull this out > >anyway--some of this work may be time consuming, and you'll tie up > >all of INN while you're scanning for spam. > > If you're scanning local posts, you aren't involving innd. Each > connections uses its own nnrpd process. I was going by Jeff's description of the process. As I apply a little more thought now, I guess he was referring to the "regular" spam filtering perl script in INN as opposed to something new-post specific. I still wonder if it wouldn't be simpler to have nnrpd queue posts into files and then let a single process parse through them. You could write nnrpd's context info into the head end of the file, and the post afterward. If you wrote a nice core of routines for reading and writing the article, you could do anything you wanted (including rewriting the header), without worrying about either nnrpd or inn. You'd also avoid the whole problem of keeping state synchronized across multiple nnrpd's. I'll probably implement at least a skelaton of this in TCL for my own reader code. -Chris
Technical Details
Message-ID:
<4E86915F977FD0119BCD08002BE28C4B04120C@exchange.maxwell.syr.edu>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:
<4E86915F977FD0119BCD08002BE28C4B040E88@exchange.maxwell.syr.edu> <5tt54q$98m$1@havoc.gtf.gatech.edu> <4E86915F977FD0119BCD08002BE28C4B04102E@exchange.maxwell.syr.edu> <5ttf50$g4v$2@news1.exit109.com>Show Full Headers
Complete Article Headers
Message-ID: <4E86915F977FD0119BCD08002BE28C4B04120C@exchange.maxwell.syr.edu> Subject: Re: posting and spam filtering Date: Mon, 25 Aug 1997 00:00:00 +0000 From: Christopher Sedore <cmsedore@maxwell.syr.edu> References: <4E86915F977FD0119BCD08002BE28C4B040E88@exchange.maxwell.syr.edu> <5tt54q$98m$1@havoc.gtf.gatech.edu> <4E86915F977FD0119BCD08002BE28C4B04102E@exchange.maxwell.syr.edu> <5ttf50$g4v$2@news1.exit109.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: 268535048 Sender: Christopher Sedore <cmsedore@maxwell.syr.edu> Newsgroups: news.software.nntp