From 72879d164f2d90a01653b893aa33b64ad57ff431 Mon Sep 17 00:00:00 2001 From: kim Date: Sun, 8 Jun 2003 16:01:24 +0000 Subject: Upgrade to 1.60: Minor update to MIME type checking rules, to allow more legal MIME types. Made the multipart detection code less aggressive, in small text messages it would mistake common ascii-graphic signatures for message boundaries and mess up the parsing quite badly. Made the filename checker check ALL possible file names against each rule, instead of just checking the "default" one. If feat_mime_files is set, then the default file-name for that mime type will be checked as well. This is a major improvement to security, but requires that filename rules are ordered so that that all DROP/DEFANG/MANGLE rules precede any ACCEPT rules. Made the sanitizer read /etc/mime.types (if it exists) to generate a more complete list of default filenames for unnamed parts. --- mail/anomy-sanitizer/Makefile | 4 ++-- mail/anomy-sanitizer/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/anomy-sanitizer/Makefile b/mail/anomy-sanitizer/Makefile index 378528aa59b..5467071d93b 100644 --- a/mail/anomy-sanitizer/Makefile +++ b/mail/anomy-sanitizer/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2003/05/16 23:18:46 kim Exp $ +# $NetBSD: Makefile,v 1.6 2003/06/08 16:01:24 kim Exp $ # -DISTNAME= anomy-sanitizer-1.59 +DISTNAME= anomy-sanitizer-1.60 WRKSRC= ${WRKDIR}/anomy CATEGORIES= mail MASTER_SITES= http://mailtools.anomy.net/dist/ diff --git a/mail/anomy-sanitizer/distinfo b/mail/anomy-sanitizer/distinfo index 1a8f9b6c415..a5a79c5fff1 100644 --- a/mail/anomy-sanitizer/distinfo +++ b/mail/anomy-sanitizer/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2003/05/16 23:18:46 kim Exp $ +$NetBSD: distinfo,v 1.3 2003/06/08 16:01:24 kim Exp $ -SHA1 (anomy-sanitizer-1.59.tar.gz) = dfc99479ad7bab5e4c4f052d7d6fb85aac48203a -Size (anomy-sanitizer-1.59.tar.gz) = 130608 bytes +SHA1 (anomy-sanitizer-1.60.tar.gz) = e50a3cba3e0db48b8c2e3e65082b7954e230bf40 +Size (anomy-sanitizer-1.60.tar.gz) = 134810 bytes -- cgit v1.2.3