Thread View: news.software.nntp
3 messages
3 total messages
Started by Jan Hrdonka
Thu, 04 Sep 1997 00:00
idea: refusing spam
Author: Jan Hrdonka
Date: Thu, 04 Sep 1997 00:00
Date: Thu, 04 Sep 1997 00:00
17 lines
954 bytes
954 bytes
I thought about refusing spam articles and here is my idea: 1) for all incoming articles, remove body, signature and all white space characters 2) split the article into N parts 3) create a checksum (md5) for each parts 4) search for these checksums in a database (dbm) 5) if there's an entry with more than M checksums of the same value, refuse the article; else, store checksums and message-id of the new article and accept it Any comments? Regards, H.
Re: idea: refusing spam
Author: tmiller
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
33 lines
1781 bytes
1781 bytes
hrd@eunet.cz (Jan Hrdonka) writes:
> 1) for all incoming articles, remove body, signature and all white
> space characters
> 2) split the article into N parts
> 3) create a checksum (md5) for each parts
> 4) search for these checksums in a database (dbm)
> 5) if there's an entry with more than M checksums of the same value,
> refuse the article; else, store checksums and message-id of the
> new article and accept it
I did a similar algorithim in a local detector built in python:
1) Strip non-alphanumerics from the Subject:
2) Strip whitespace from the body and MD5 the result.
3) Dump the article into a DB, storing From:, stripped Subject:,
number of groups posted to, and body checksum.
4) Periodically take vectors through the DB collecting identical
From:, Subject:, or body checksum; then calculate BI on each
vector and report results.
I never put this in Perl for use as an incoming filter, but
rather used it as a spam detector on our local postings. It was pretty
successful, but didn't run for more than a month before the architecture
changed and we couldn't run it anymore.
--
Cerebus <tmill06@ibm.net>
PGP Fingerprint:
BC AB 28 19 A6 A4 FF 5B CA 4D B4 03 3A A7 F4 5C
Re: idea: refusing spam
Author: Christopher D Dukes
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
29 lines
1668 bytes
1668 bytes
In article <5unggc$9vp$1@news.eunet.cz>, Jan Hrdonka <hrd@eunet.cz> wrote: > I thought about refusing spam articles and here is my idea: > >1) for all incoming articles, remove body, signature and all white > space characters >2) split the article into N parts >3) create a checksum (md5) for each parts >4) search for these checksums in a database (dbm) >5) if there's an entry with more than M checksums of the same value, > refuse the article; else, store checksums and message-id of the > new article and accept it > > Any comments? Regards, And the woodfield was invented to bypass this variety of filter. SMTP and NNTP need to be replaced with a protocol that has an accurate ICBM address of the posting host. With any luck the spammer will be there when the 200 pound bomb is delivered. -- The following must be destroyed. Microsoft, Lyons Partnership, CyberPromo. Balkanize USENET! Vote from the rooftops!! The best thing in RTP is now SMOG! Sending unsolicited commercial massmail to this account may result in a network outage for your site. Have a nice day.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads