Article View: news.software.nntp
Article #80169Re: Cleanfeed Thoughts
From: D. Stussy
Date: Tue, 24 Feb 2009 22:22
Date: Tue, 24 Feb 2009 22:22
45 lines
3551 bytes
3551 bytes
"Steve" <steve@mixmin.net> wrote in message news:slrngq7itu.782.steve@news.mixmin.net... > On Mon, 23 Feb 2009 12:41:34 -0800, Russ Allbery wrote in > Message-Id: <87eixo3myp.fsf@windlord.stanford.edu>: > > The standards for doing signatures in the body are considerably more > > mature and more widely supported by clients (as opposed to server software > > used for specific purposes) than the protocols for putting signatures in > > the headers. If you're going to sign messages, you may as well sign them > > in a way that's useful and widely supported, which right now means RFC > > 1847 and RFC 3156 (multipart/signed with application/pgp-signature). > > Some while ago I made an update to Cleanfeed's scoring mechanism so that > multipart/signed messages received a weighted score. I've never seen > spam using PGP/MIME so it seemed like a good idea. :) How about this: For whatever score you assign to a multipart/signed message (or message fragment), assign the same value score to its PGP signature. Add the score if the PGP section fails, and subtract it if the PGP section passes (thus resultig in zero assuming no other scoring rules trigger). Score results (normalized): 0 - PGP signed section validated 1 - Signature had no PGP signature (or another recognized signature) 2 - PGP signed section failed. A message with more than one signature (under the same multipart/signed fragment) of the same type (as the other signature(s)) should be rejected as malformed. There's probably code that one may borrow from MIMEDefang for this. > At the moment I'm testing various ways to identify Base64 messages > without requiring regex's that scan hundreds of lines of payload in > every message. If it works then I'll make an update as I don't see why > posting PGP keyblocks should be effectively banned. If you require the proper declaration of mime type in message sections, then perhaps any base64 encoding that doesn't fit in a declared section is a malformed message. That allows the filter to rely on mime-type alone for further processing.
Technical Details
Message-ID:
<go1rur$e8g$1@aux.snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.teledata-fn.de!news.doubleslash.org!open-news-network.org!news.glorb.com!news2.glorb.com!sws1!ornl!news.he.net!news.snarked.org!not-for-mailReferences:
<slrngq2ih9.782.steve@news.mixmin.net> <gnt2pl$5qd$1@aux.snarked.org> <87bpstu8oq.fsf@windlord.stanford.edu> <gntjpr$bu2$1@aux.snarked.org> <877i3htw4a.fsf@windlord.stanford.edu> <tskirvin.20090223081112$2eab@vulture.killfile.org> <gnv0vn$28s3$2@de-l.enfer-du-nord.net> <87eixo3myp.fsf@windlord.stanford.edu> <slrngq7itu.782.steve@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <go1rur$e8g$1@aux.snarked.org> Subject: Re: Cleanfeed Thoughts Date: Tue, 24 Feb 2009 14:22:17 -0800 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <slrngq2ih9.782.steve@news.mixmin.net> <gnt2pl$5qd$1@aux.snarked.org> <87bpstu8oq.fsf@windlord.stanford.edu> <gntjpr$bu2$1@aux.snarked.org> <877i3htw4a.fsf@windlord.stanford.edu> <tskirvin.20090223081112$2eab@vulture.killfile.org> <gnv0vn$28s3$2@de-l.enfer-du-nord.net> <87eixo3myp.fsf@windlord.stanford.edu> <slrngq7itu.782.steve@news.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.teledata-fn.de!news.doubleslash.org!open-news-network.org!news.glorb.com!news2.glorb.com!sws1!ornl!news.he.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 45 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net X-Trace: aux.snarked.org 1235514140 14608 71.106.211.188 (24 Feb 2009 22:22:20 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Tue, 24 Feb 2009 22:22:20 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478