Blame README

Packit Service 5e8d2a
Packit Service 5e8d2a
             AIDE - Advanced Intrusion Detection Environment
Packit Service 5e8d2a
            -------------------------------------------------
Packit Service 5e8d2a
                               Version 0.16
Packit Service 5e8d2a
Packit Service 5e8d2a
    This file is free software; as a special exception the author gives
Packit Service 5e8d2a
    unlimited permission to copy and/or distribute it, with or without
Packit Service 5e8d2a
    modifications, as long as this notice is preserved.
Packit Service 5e8d2a
Packit Service 5e8d2a
    This file is distributed in the hope that it will be useful, but
Packit Service 5e8d2a
    WITHOUT ANY WARRANTY, to the extend permitted by law; without even the
Packit Service 5e8d2a
    implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Packit Service 5e8d2a
Packit Service 5e8d2a
Packit Service 5e8d2a
    Introduction
Packit Service 5e8d2a
    ------------
Packit Service 5e8d2a
Packit Service 5e8d2a
    AIDE is a tool for monitoring file system changes. It can be used
Packit Service 5e8d2a
    to detect unauthorized monitored files and directories. AIDE was
Packit Service 5e8d2a
    written to be a simple and free alternative to Tripwire. Features
Packit Service 5e8d2a
    currently included in AIDE are as follows:
Packit Service 5e8d2a
Packit Service 5e8d2a
        o  File attributes monitored: perissions, inode, user, group
Packit Service 5e8d2a
           file size, mtime, atime, ctime, links and growing size.
Packit Service 5e8d2a
        o  Checksums and hashes supported: SHA1, MD5, RMD160, and TIGER.
Packit Service 5e8d2a
           CRC32, HAVAL and GOST if Mhash support is compiled in.
Packit Service 5e8d2a
        o  Plain text configuration files and database for simplicity.
Packit Service 5e8d2a
        o  Rules, variables and macros that can be customized to local
Packit Service 5e8d2a
           site or system policies.
Packit Service 5e8d2a
        o  Powerful regular expression support to selectively include or
Packit Service 5e8d2a
           exclude files and directories to be monitored.
Packit Service 5e8d2a
        o  gzip database compression if zlib support is compiled in.
Packit Service 5e8d2a
        o  Stand alone static binary for easy client/server monitoring
Packit Service 5e8d2a
           configurations.
Packit Service 5e8d2a
        o  Free software licensed under the GNU General Public License.
Packit Service 5e8d2a
Packit Service 5e8d2a
Packit Service 5e8d2a
    Current Version
Packit Service 5e8d2a
    ---------------
Packit Service 5e8d2a
Packit Service 5e8d2a
    AIDE is currently maintained on the SourceForge. Details of the
Packit Service 5e8d2a
    latest version of AIDE can be found on the server project page under
Packit Service 5e8d2a
    http://sourceforge.net/projects/aide/.
Packit Service 5e8d2a
Packit Service 5e8d2a
    Documentation
Packit Service 5e8d2a
    -------------
Packit Service 5e8d2a
Packit Service 5e8d2a
    The documentation for AIDE can be found in the doc/ directory. The
Packit Service 5e8d2a
    most up-to-date documentation an be found on the SourceForge project
Packit Service 5e8d2a
    web site.
Packit Service 5e8d2a
Packit Service 5e8d2a
    Installation
Packit Service 5e8d2a
    ------------
Packit Service 5e8d2a
    For generic instructions please see the INSTALL file.
Packit Service 5e8d2a
Packit Service 5e8d2a
    For AIX 5.3 it has been reported there is a problem with using mhash
Packit Service 5e8d2a
    which causes an "Undefined symbol: .rpl_malloc" error. This is a problem
Packit Service 5e8d2a
    in mhash_config.h which can be fixed by removing the line that reads
Packit Service 5e8d2a
    #define malloc rpl_malloc
Packit Service 5e8d2a
Packit Service 5e8d2a
    For Mac OS X Darwin/Leopard (10.4/10.5) and Solaris 10/OpenSolaris you need
Packit Service 5e8d2a
    to use --disable-static when configuring AIDE. Please note that dynamic
Packit Service 5e8d2a
    linking introduces a security risk and is not recommended.
Packit Service 5e8d2a
Packit Service 5e8d2a
    Since Mac OS Leopard (10.5) you also need to use --disable-lfs because it
Packit Service 5e8d2a
    handles 64 bit file support out of the box.
Packit Service 5e8d2a
Packit Service 5e8d2a
    Source Code Verification
Packit Service 5e8d2a
    ------------------------
Packit Service 5e8d2a
Packit Service 5e8d2a
    We highly recommend checking that the version of AIDE downloaded and
Packit Service 5e8d2a
    installed is an original and unmodified one. You can either verify the
Packit Service 5e8d2a
    source tarball or the git tag.
Packit Service 5e8d2a
Packit Service 5e8d2a
    To check the supplied signature with GnuPG:
Packit Service 5e8d2a
Packit Service 5e8d2a
      $ gpg --verify aide-<VERSION_NUMBER>.tar.gz.asc
Packit Service 5e8d2a
Packit Service 5e8d2a
    This checks that the detached signature file is indeed a signature
Packit Service 5e8d2a
    of aide-<VERSION_NUMBER>.tar.gz.
Packit Service 5e8d2a
Packit Service 5e8d2a
    To validate the gpg signature of the git tag:
Packit Service 5e8d2a
Packit Service 5e8d2a
      $ git verify-tag v<VERSION_NUMBER>
Packit Service 5e8d2a
Packit Service 5e8d2a
    The current public key needed for signature verification is:
Packit Service 5e8d2a
Packit Service 5e8d2a
        pub   4096R/68E7B931 2011-06-28 [expires: 2021-06-27]
Packit Service 5e8d2a
        uid                  Hannes von Haugwitz <hannes@vonhaugwitz.com>
Packit Service 5e8d2a
Packit Service 5e8d2a
    If you do not have this key, you can get it from one of the well known PGP
Packit Service 5e8d2a
    key servers. You have to make sure that the key you install is not a faked
Packit Service 5e8d2a
    one. You can do this with reasonable assurance by comparing the output of:
Packit Service 5e8d2a
Packit Service 5e8d2a
      $ gpg --fingerprint 0x68E7B931
Packit Service 5e8d2a
Packit Service 5e8d2a
    with the fingerprint published elsewhere.
Packit Service 5e8d2a
Packit Service 5e8d2a
    Requirements
Packit Service 5e8d2a
    ------------
Packit Service 5e8d2a
Packit Service 5e8d2a
    AIDE requires the following development tools:
Packit Service 5e8d2a
Packit Service 5e8d2a
       o  C compiler (such as Gcc).
Packit Service 5e8d2a
       o  GNU flex.
Packit Service 5e8d2a
       o  GNU yacc (bison).
Packit Service 5e8d2a
       o  GNU make.
Packit Service 5e8d2a
       o  PCRE library
Packit Service 5e8d2a
       o  Mhash (optional, but highly recommended). Mhash is currently
Packit Service 5e8d2a
          available from http://mhash.sourceforge.net/. A static version of
Packit Service 5e8d2a
          libmhash needs to be build using the --enable-static=yes
Packit Service 5e8d2a
          configure option.
Packit Service 5e8d2a
          Aide requires at least mhash version 0.9.2
Packit Service 5e8d2a
Packit Service 5e8d2a
    Note:
Packit Service 5e8d2a
      flex version 2.5.31 is broken, you might see the following error
Packit Service 5e8d2a
Packit Service 5e8d2a
       conf_lex.c: In function `conflex':
Packit Service 5e8d2a
       conf_lex.c:4728: error: `yy_prev_more_offset' undeclared (first use in
Packit Service 5e8d2a
       this function)
Packit Service 5e8d2a
       conf_lex.c:4728: error: (Each undeclared identifier is reported only once
Packit Service 5e8d2a
       conf_lex.c:4728: error: for each function it appears in.)
Packit Service 5e8d2a
Packit Service 5e8d2a
      Either downgrade to flex 2.5.4 or get an updated version that fixes
Packit Service 5e8d2a
      this bug. See also:
Packit Service 5e8d2a
      http://sourceforge.net/tracker/index.php?func=detail&aid=866477&group_id=72099&atid=533377
Packit Service 5e8d2a
      http://sourceforge.net/mailarchive/message.php?msg_id=5415848
Packit Service 5e8d2a
      http://sourceforge.net/mailarchive/message.php?msg_id=5561246
Packit Service 5e8d2a
Packit Service 5e8d2a
    Large File Support
Packit Service 5e8d2a
    -----------------
Packit Service 5e8d2a
Packit Service 5e8d2a
    To be able to store the size of files larger than 2GB, aide needs
Packit Service 5e8d2a
    large file support (LFS) to be available in the OS. The configure
Packit Service 5e8d2a
    script automatically checks for the correct defines and functions.
Packit Service 5e8d2a
    If configure fails, and during compile time you see errors containing
Packit Service 5e8d2a
    the number 64, try configure again with the --disable-lfs option.
Packit Service 5e8d2a
    This turns off the large file support.
Packit Service 5e8d2a
Packit Service 5e8d2a
    Cross Compilation
Packit Service 5e8d2a
    -----------------
Packit Service 5e8d2a
    When cross compiling, manually verify the data types defines in config.h
Packit Service 5e8d2a
    as they cannot be accurately determined by configure. Most notably,
Packit Service 5e8d2a
    AIDE_INO_TYPE will be set to "cross".
Packit Service 5e8d2a
Packit Service 5e8d2a
    Feedback and Support
Packit Service 5e8d2a
    --------------------
Packit Service 5e8d2a
Packit Service 5e8d2a
    End user support is available on the AIDE mailing list. To subscribe,
Packit Service 5e8d2a
    send a message to majordomo@cs.tut.fi with an empty Subject: line and
Packit Service 5e8d2a
    the following text as the BODY of the message:
Packit Service 5e8d2a
Packit Service 5e8d2a
    subscribe aide
Packit Service 5e8d2a
Packit Service 5e8d2a
    An archive for the mailing list archive is available online:
Packit Service 5e8d2a
Packit Service 5e8d2a
        http://www.mail-archive.com/aide@cs.tut.fi/
Packit Service 5e8d2a
Packit Service 5e8d2a
    To report bugs, contribute patches and contact the current team of
Packit Service 5e8d2a
    developers, visit the SourceForge project web site for additional info:
Packit Service 5e8d2a
Packit Service 5e8d2a
        http://sourceforge.net/projects/aide/
Packit Service 5e8d2a
Packit Service 5e8d2a
Packit Service 5e8d2a
    Credits
Packit Service 5e8d2a
    ------- 
Packit Service 5e8d2a
Packit Service 5e8d2a
    Please see the AUTHORS file.