Commit graph

12 commits

Author SHA1 Message Date
christos
b9f8e34085 fix regex lint 2018-01-23 01:28:02 +00:00
agc
ddbf6ddecd Add SHA512 digests for distfiles for mail category
Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:27:00 +00:00
kim
bb97625947 Upgrade to version 1.76. Notable changes:
-   The most common/important file formats are recognized based on file
    contents, not just file name and MIME-type.  Detects WMF files, to
    allow reliable blacklisting.  Detects when people try to disguise
    non-JPEG/GIF/PNG content as such files and defangs such attachments.

-   Bug fixed, where disinfection wouldn't result in the modification
    count of a message being incremented.  Some 3rd party systems rely
    on the modification count to determine whether to use the output or
    not.  This is a critical fix for such systems.

-   Improved handling of Yahoo DomainKeys.

-   Fixed crash when multiple Content-Transfer-Encoding headers were
    present in the same message part.

-   Added mailblogger.pl, to the distribution.  This program has
    nothing to do with security, but uses the MIMEStream parser to
    extract images from e-mail and can subsequently generate thumbnails
    and re-post both text and images to a web-site, to implement
    email-to-www gateway functionality.  (E.g. mobile blogging.)
2006-02-01 00:57:39 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
kim
9894ec48ed Update to anomy-sanitizer 1.69:
Added zip_policy.pl from Advosys (http://advosys.ca/) to the contrib/
    directory, after being invited to do so by Derrick Webber of Advosys.

    Added sanitizer.procmail ruleset to contrib/, illustrating how to
    implement a quarantine and add custom headers to infected e-mails.

    Fixed priority bug in filename detection code, which would in some
    cases give higher priority to Content-IDs than it gave to the MIME
    filename attributes.

    Made the file-name/MIME-type sanity checks configurable (default on)
    via. the feat_sane_names variable.  Set to 0 to disable.

    Added support for scripts which want to pass the name of a detected
    infection using the a line "Anomy-FileScan-VirusName: blah" like.
    This makes the following new variables available to the file replacement
    tempalte:

       %VIRUSNAME    - Propogated from Anomy-FileScan-VirusName
       %SUMMARY      - Propogated from Anomy-FileScan-Summary
       %DESCRIPTION  - Propogated from Anomy-FileScan-Description

    This corrects problems, implements and expands on suggestions
    (posted here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235352)
    by Derrick Hudson (dman at dman13.dyndns.org).
2004-12-29 18:45:49 +00:00
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
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
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
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