Commit graph

14 commits

Author SHA1 Message Date
mjl
621162665a Update anomy-sanitizer to 1.68
Added system_io_file variable to allow plugging in of custom
    replacements for the IO::File module, to facilitate internal FRISK
    development.

    Fixed a problem with the mime-type auto-detection code which would
    corrupt certain messages when feat_log_after was enabled.  This
    probably also have caused problems in other cases, but so far none have
    been reported.

    Include the TNEF hooks in Sanitizer in default distribution and made
    inclusion of Anomy::TNEFStream "lazy" to save cycles in one-shot modes.
    Note that the Anomy::TNEFStream modules still isn't distributed by
    default.

    Tuned the MIME parser to catch more of the exploits illustrated on
    http://testvirus.org/.  Also fixed a bug in the position counting.  These
    two changes combined effect almost all of the test cases (lines containing
    pos= and MIME info almost all change).

    Added the following options to configure the HTML cleaner (all are off
    by default):

       feat_html_noexe     Disallow links to executables
       feat_html_unknown   Allow unknown HTML tags
       feat_html_paranoid  Paranoid HTML Cleaner mode, bans all src= links
                           and enables feat_html_noexe paranoia as well.

    Added code to decrease the odds that attachments with content-IDs
    ending in ".com" get mistakenly treated as executables.

    Tweaked MIME parsing to catch a few more odd virus-generated messages.
2004-06-06 14:58:29 +00:00
kim
5bf81a3305 Avoid copying '*.orig' files when installing. 2004-04-29 23:04:34 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
kim
743700ddcf Upgrade to 1.66:
- fix issue with "all mail gets deleted", which was caused by looking at
  Content-ID for filenames (new feature in 1.61); this resulted in mail
  from ".com" domains to be considered ".com" attachments (patch-aa)
- fixes "PDF corruption problem" (1.64)
2004-01-18 23:40:12 +00:00
jlam
d19f053e4d bl3ify 2004-01-06 07:17:03 +00:00
taca
f1abf4a906 Add missing files to PLIST to fix errror with pkg_delete(1). 2003-09-21 14:17:26 +00:00
mjl
0274d31c5a Update anomy-sanitizer to 1.63.
Changes include some improvements to the file detection mechanism,
interface to the f-prot virus scanner as well as quite a lot of bug
fixes. Note: the last pkgsrc version was from over 1.5 years ago.
2003-08-31 13:51:20 +00:00
kim
55ed9a1e65 Downgrade to 1.49 due to problems where sanitizer delivers empty messages. 2003-06-09 01:53:15 +00:00
kim
90f4268899 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.
2003-06-08 16:01:24 +00:00
kim
7aad4fd525 Upgrade to 1.59, numerous bug fixes, please see:
http://mailtools.anomy.net/CHANGELOG.sanitizer.txt
2003-05-16 23:18:46 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
simonb
ed4ff8479d This needs a DEPENDS on security/p5-Digest-MD5 to work. 2002-07-21 04:47:08 +00:00
kim
7af5e8ab94 Import mail/anomy-sanitizer-1.49:
Anomy Sanitizer filters mail messages checking for common exploits and
hostile file attachments. For instance: it can remove attachments,
rename unknown file types, "defang" HTML messages, fix MIME headers,
and call external virus scanners to scan email attachments.
2002-07-20 20:28:22 +00:00