Article View: news.software.nntp
Article #60772Reminder to filter misplaced yEnc with other binaries
From: Russ Allbery
Date: Sun, 29 Sep 2002 18:49
Date: Sun, 29 Sep 2002 18:49
29 lines
2202 bytes
2202 bytes
I had not yet added a filter for misplaced yEnc binaries to my filters,
and today went peeking around and found that a *lot* of people are posting
huge multi-part yEnc binaries to text newsgroups. The es.* hierarchy was
particularly bad, and it looks like some binary posters have taken over
vmsnet.uucp.
This is just a reminder to all of you who are using filters to filter out
misplaced binaries that you should update them to filter out yEnc binaries
as well, since the standard checks don't notice them. For the time being,
after consulting with the current Cleanfeed code, I'm using:
if ($hdr{__BODY__} =~ m%^=ybegin (.+)$%m) {
local $_ = $1;
if (/line=/ && /size=/ && /name=/) {
return 1;
}
}
using INN's filters. This has an unfortunate possibility of false
positives on posts discussing yEnc if a particularly complete example is
included without indenting the =ybegin line, so I'll likely add some
additional checks at some point to avoid those.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylu1k8my0e.fsf@windlord.stanford.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <ylu1k8my0e.fsf@windlord.stanford.edu> Subject: Reminder to filter misplaced yEnc with other binaries Date: Sun, 29 Sep 2002 11:49:53 -0700 From: Russ Allbery <rra@stanford.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 28 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1033325394 23378 171.64.13.23 (29 Sep 2002 18:49:54 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:SGjmC23hIVQ+nKMOS87h3Ls5uko=