NAME

dumpnet.host.aide - initialize a new aide database and compare it to the old master database


SYNOPSIS

dumpnet.host.aide [-s SESSIONID] [-d DUMPNET_CONFIG] [-C AIDE_CONFIG] HOST_CONFIG


DESCRIPTION

Initialize a new aide database and compare it to the old MASTER database by running aide(1) on the target host. If a MASTER db does not exist the new database will be created as MASTER. The master file will be postfixed by ``_MASTER''. The configuration is done in dumpnet.aide.conf. Please see dumpnet.aide.conf(8) for details. The aide executable will be copied to the dumpnet host to compare its md5sum to the one stored in the file AIDE_CHECKSUM in $aideDir. If AIDE_CHECKSUM does not exist, it will be created with the aide executable's md5sum.


OPTIONS

-s SESSIONID
Set sessionId to SESSIONID. If you don't know if you need this option, you don't! Read the SESSIONID section in dumpnet(8) before using it!

-d DUMPNET_CONFIG
Use DUMPNET_CONFIG instead of the default $DUMPNET_HOME/conf/dumpnet.conf.

-C AIDE_CONFIG
Use AIDE_CONFIG as the configuration file (the default is ``dumpnet.aide.conf'', set in the default host configuration file). AIDE_CONFIG can be the path to the configuration file or `-' to read the configuration from STDIN.

HOST_CONFIG
The host configuration file. For the target host 192.168.1.10 it could be conf/192.168.1.10/dumpnet.HOST.conf.


EXAMPLES

Retrieve a newly initialized aide database from 192.168.1.10 configured in /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf with the default config file dumpnet.aide.conf (placed in /usr/local/dumpnet/conf/192.168.1.10/) - if you don't know what you want, you want something like this:

        dumpnet.host.aide /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf

Retrieve a newly initialized aide database from 192.168.1.11 configured in conf/192.168.1.11/dumpnet.HOST.conf with an aide config of conf/192.168.1.11/dumpnet.aide2.conf

        dumpnet.host.aide -C conf/192.168.1.11/dumpnet.aide2.conf conf/192.168.1.11/dumpnet.HOST.conf


EXIT STATUS

dumpnet.host.aide will return a zero exit status if aide could successfully be executed and the new db was successfully compared to the old MASTER db. In any other case it will return 1. Please note that dumpnet.host.aide will also return 0 if the old and the new aide database differ.


FILES

 $DUMPNET_HOME/conf/$host/dumpnet.aide.conf


SEE ALSO

 dumpnet(8)
 dumpnet.host(8)
 dumpnet.aide.conf(8)


AUTHOR

 Lukas Feiler <lukas.feiler@lukasfeiler.com>


COPYRIGHT AND LICENSE

dumpnet is published under the LGPL (GNU LESSER GENERAL PUBLIC LICENSE). Please see the LICENSE file contained in the installation tarball for details. The official web site is http://dumpnet.sourceforge.net.