Article View: news.software.nntp
Article #19433Re: Filtering message body (was Re: Posting sux!! so does INN)
From: Ian Stirling
Date: Mon, 21 Jul 1997 00:00
Date: Mon, 21 Jul 1997 00:00
64 lines
3919 bytes
3919 bytes
Greg Andrews <gerg@netcom.com> wrote: : Ian Stirling <000033D24C9E.NO_UCE@mauve.demon.co.uk> writes: : >Greg Andrews <gerg@netcom.com> wrote: : >: Michael Hucka <hucka@eecs.umich.edu> writes: : >: > : >: >The obvious technical problem is finding a body signature that is : >: >(1) sufficiently unique while being (2) quick to compute and (3) very, very : >: Here's an idea I've been kicking around for about a year now: : >: 1. Strip header lines (except perhaps for NNTP-Posting-Host), : >5.5 Strip all lines containing "[Nn]ewsgroup" or the name of the : >current newsgroup. : Certainly. I haven't kept in touch with current multi-posting : techniques, so I wasn't aware that the culprits inserted the : newsgroup name in the posts to each group. Few do, but it's dead easy for spammer software to include it, hence.... : I would amend "the name of the current newsgroup" to read "the names : of any newsgroups in the Newsgroups: header". The nntp "POST" command : can be made outside a newsgroup context, and some newsreaders make : separate connections to post articles so nothing interrupts the read : connection. : > : >: 6. Generate a 128-bit MD4 hash of the text. : >Would CRC be quicker? : > : Not according to the speed comparisons published in Tripwire 1.2's : README file. Their performance tests showed CRC had a top speed of : Besides, CRC-16 and CRC-32 would have a much higher risk of signature : collisions for this kind of application. (different articles could : generate the same CRC) If you're going to refuse articles based on : their hash signatures, you want to make sure the signature is unique : to that article. CRC-32 would certainly collide, CRC-64 is better, though 128 would be preferred. Unfortunately this sort of thing will only work for one generation of spamming software, it's dead easy to get round, simply because for every little you change the body, much more work has to be done to counter it. I still think there are a few ways to get round spamming, A) convicts scanning for spam, would need about a thousand of them in rotation. Two thousand, and have each crosschecked. B) Contracts on new users "I won't spam, and am liable for cleanup charges if I do" C) Contracts of another sort. D) make spamming a criminal offence, (this helps with A) -- Ian Stirling. Designing a linux PDA, see http://www.mauve.demon.co.uk/ -----******* If replying by email, check notices in header *******------- My inner child can beat up your inner child. Alex Greenbank
Technical Details
Message-ID:
<000033D38819.NO_UCE@mauve.demon.co.uk>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:
<33d0477a.8926553@code.ripco.com> <82lo32pibm.fsf@manic.eecs.umich.edu> <gergEDMI86.EL8@netcom.com> <000033D24C9E.NO_UCE@mauve.demon.co.uk> <gergEDn7yJ.7rF@netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <000033D38819.NO_UCE@mauve.demon.co.uk> Subject: Re: Filtering message body (was Re: Posting sux!! so does INN) Date: Mon, 21 Jul 1997 00:00:00 +0000 From: Ian Stirling <000033D38819.NO_UCE@mauve.demon.co.uk> References: <33d0477a.8926553@code.ripco.com> <82lo32pibm.fsf@manic.eecs.umich.edu> <gergEDMI86.EL8@netcom.com> <000033D24C9E.NO_UCE@mauve.demon.co.uk> <gergEDn7yJ.7rF@netcom.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: 258003419 X-Mail2News-User: Send.NO_UCE@mauve.demon.co.uk MMDF-Warning: Parse error in original version of preceding line at punt-2.mail.demon.net X-Warning0: For unsolicited commercial email, sent (or for causing such to be sent) to X-Warning1: the email address on this message, I reserve the right to levy a charge X-Warning2: for my time and expenses of up to 100 pounds sterling per message, plus X-Warning3: 10 pounds per 100 lines of message body, plus legal, penalty or other costs X-Mail2News-Path: punt-2.mail.demon.net!mauve.demon.co.uk X-Note: Anti-UCE in effect, replying should work if you are not UCE'ng Newsgroups: news.software.nntp