Zenwalk - GNULinuxNetpkgSecurity related tools :Other projects :DockApps projectsAboutMeAdministratioN |
Last version : 0.2 / 02 07 2004
DESCRIPTIONDOG is an SMTP "watchdog" tool to track configuration files changes remotely.
As an example DOG will be launched by cron everyday to supervise changes in several configuration files. If DOG detects that a file was changed, it will send an email to 1 or more recipients. The mail will handle the new file and timestamp information. The file will be saved for changelog tracking. DOG simply calculate MD5 hashes to detect changes. USAGEUsage : dog [-o sender@dom.org ] [ -t dest@dom.org ] [-s server] [-f file]
Options :-o : sender email address (mandatory) -t : destinator X email address (any) -s : SMTP server IP address (mandatory) -f : file X to check (any) Example :To supervise :
Command line should be : dog -o orion@mydomain.fr \ -t yoda@jedi.org \ -t vador@darkstar.gov \ -s 192.168.1.200 \ -f /var/named/mydomain.zone \ -f /var/named/1.168.192.zone DOWNLOADLocation :DOG can be downloaded HERE. DOG needs the following perl modules (included in install tarball) : Digest-Perl-MD5 - http://search.cpan.org/~delta/Digest-Perl-MD5-1.6/
Mail-Sendmail - http://search.cpan.org/~mivkovic/Mail-Sendmail-0.79/ MIME-Base64? - http://search.cpan.org/~gaas/MIME-Base64-3.01/ Install :Just unpack and run "make" in the "dog" directory
("make uninstall" to uninstall ;)) CONTACTJean-Philippe Guillemin - jpgu~AT~users.sourceforge.net
LICENSECopyright Jean-Philippe Guillemin. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Please take a look at http://www.gnu.org/copyleft/gpl.html |