2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
6 #####################################################################
8 # Configuration file template for samhain.
10 #####################################################################
12 # -- empty lines and lines starting with '#', ';' or '//' are ignored
13 # -- boolean options can be Yes/No or True/False or 1/0
14 # -- you can PGP clearsign this file -- samhain will check (if compiled
15 # with support) or otherwise ignore the signature
16 # -- CHECK mail address
18 # To each log facility, you can assign a threshold severity. Only
19 # reports with at least the threshold severity will be logged
20 # to the respective facility (even further below).
22 #####################################################################
24 # SETUP for file system checking:
26 # (i) There are several policies, each has its own section. Put files
27 # into the section for the appropriate policy (see below).
28 # (ii) Section [EventSeverity]:
29 # To each policy, you can assign a severity (further below).
30 # (iii) Section [Log]:
31 # To each log facility, you can assign a threshold severity. Only
32 # reports with at least the threshold severity will be logged
33 # to the respective facility (even further below).
35 #####################################################################
37 #####################################################################
39 # Files are defined with: file = /absolute/path
41 # Directories are defined with: dir = /absolute/path
42 # or with an optional recursion depth (N <= 99): dir = N/absolute/path
44 # Directory inodes are checked. If you only want to check files
45 # in a directory, but not the directory inode itself, use (e.g.):
48 # dir = /some/directory
50 # file = /some/directory
52 # You can use shell-style globbing patterns, like: file = /path/foo*
54 ######################################################################
58 ## Add or subtract tests from the policies
59 ## - if you want to change their definitions,
60 ## you need to do that before using the policies
62 # RedefReadOnly = (no default)
63 # RedefAttributes=(no default)
64 # RedefLogFiles=(no default)
65 # RedefGrowingLogFiles=(no default)
66 # RedefIgnoreAll=(no default)
67 # RedefIgnoreNone=(no default)
68 # RedefUser0=(no default)
69 # RedefUser1=(no default)
70 IgnoreMissing=/etc/lvm/archive/.*.vg
74 ## for these files, only changes in permissions and ownership are checked
77 file=/etc/ssh_random_seed
79 file=/etc/bacula/bacula-fd.conf
82 file=/etc/passwd.backup
83 file=/etc/shadow.backup
84 file=/etc/postfix/prng_exch
88 file=/etc/lvm/cache/.cache
89 file=/etc/network/run/ifstate
90 file=/var/state/samhain/samhain_file
91 file=/etc/bind/zones/db.debian.net
93 file=/etc/fake-hwclock.data
94 <% if classes.include?("named::geodns") -%>
96 file=/etc/bind/named.conf.acl
97 file=/etc/bind/named.conf.local
98 file=/etc/bind/geodns/named.conf.geo
99 file=/etc/bind/geodns/recvconf.files
101 <% if classes.include?("named") -%>
102 file=/etc/bind/named.conf.options
104 file=/etc/apache2/conf.d/puppet-builddlist
105 <% if classes.include?("roles::static_mirror") -%>
106 file=/etc/apache2/sites-available/static-vhosts-simple
107 file=/etc/static-clients.conf
108 <% elsif classes.include?("roles::static_master") -%>
109 file=/etc/static-clients.conf
110 <% elsif classes.include?("roles::static_source") -%>
111 file=/etc/static-clients.conf
115 # There are files in /etc that might change, thus changing the directory
116 # timestamps. Put it here as 'file', and in the ReadOnly section as 'dir'.
120 file=/etc/network/run
122 file=/etc/spamassassin/sa-update-keys
123 file=/etc/init.d/.depend.boot
124 file=/etc/init.d/.depend.start
125 file=/etc/init.d/.depend.stop
127 # These are the directories for the files we handle with puppet
128 file=/etc/apache2/conf.d
129 files=/etc/apache2/mods-enabled
130 files=/etc/apache2/sites-available
134 file=/etc/munin/plugins
135 file=/etc/munin/plugin-conf.d
136 file=/etc/munin/munin-conf.d
140 file=/etc/apt/apt.conf.d
141 file=/etc/apt/sources.list.d
142 file=/etc/apt/preferences.d
144 file=/etc/logrotate.d
146 file=/etc/nagios/nrpe.d
147 file=/etc/nagios/obsolete-packages-ignore.d
148 file=/etc/bind/geodns
149 <% if scope.function_has_role(['nagiosmaster']) -%>
150 file=/etc/nagios3/puppetconf.d
154 file=/etc/cron.weekly
155 file=/usr/lib/nagios/plugins
158 file=/etc/monit/monit.d
160 file=/etc/schroot/default
161 file=/etc/schroot/setup.d
166 file=/etc/ferm/conf.d
172 <% if scope.function_has_role(['static_mirror']) or scope.function_has_role(['static_source']) or scope.function_has_role(['static_master']) -%>
173 file=/etc/ssh/userkeys
174 file=/etc/ssh/userkeys/staticsync
179 ## for these files, changes in signature, timestamps, and size are ignored
183 # is on tmpfs, ignore.
187 #####################################################################
189 # This would be the proper syntax for parts that should only be
190 # included for certain hosts.
191 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
192 # result still has the proper syntax for the config file.
193 # You may have any number of @HOSTNAME/@end brackets.
194 # HOSTNAME should be the fully qualified 'official' name
195 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
196 # No IP number - except if samhain cannot determine the
197 # fully qualified hostname.
203 # These are two examples for conditional inclusion/exclusion
204 # of a machine based on the output from 'uname -srm'
214 #####################################################################
218 ## for these files, changes in signature, timestamps, and increase in size
222 file=/var/log/messages
224 file=/var/log/faillog
225 file=/var/log/auth.log
226 file=/var/log/daemon.log
227 file=/var/log/user.log
228 file=/var/log/kern.log
234 ## for these files, no modifications are reported
236 ## This file might be created or removed by the system sometimes.
238 file=/etc/resolv.conf
239 <% if scope.lookupvar('site::nodeinfo')['buildd'] -%>
240 file=/etc/dupload.conf
242 file=/etc/resolv.conf.pcmcia.save
244 file=/etc/postfix/debian.db
245 file=/etc/postfix/debian
246 file=/etc/ssh/ssh_known_hosts
247 file=/etc/ssh/ssh-rsa-shadow
248 file=/var/lib/misc/ssh-rsa-shadow
249 file=/etc/.da-backup.trace
250 file=/etc/postfix/debianhosts
251 file=/etc/postfix/debianhosts.db
253 file=/etc/blkid.tab.old
254 file=/etc/resolv.conf.dhclient-new
256 # We handle these files with puppet - please to not be bothering us
257 file=/etc/dsa/pubsub.conf
258 file=/etc/nsswitch.conf
261 file=/etc/update-motd.d/
262 file=/etc/update-motd.d/puppet-motd
264 file=/etc/samhain/samhainrc
265 file=/etc/munin/munin-node.conf
266 file=/etc/munin/plugin-conf.d/munin-node
267 dir=2/etc/munin/munin-conf.d
268 file=/etc/userdir-ldap.confc
269 file=/etc/exim4/blacklist
270 file=/etc/exim4/host_blacklist
271 file=/etc/exim4/callout_users
272 file=/etc/exim4/exim4.conf
273 file=/etc/exim4/grey_users
274 file=/etc/exim4/helo-check
275 file=/etc/exim4/locals
276 file=/etc/exim4/localusers
277 file=/etc/exim4/manualroute
278 file=/etc/exim4/rbllist
279 file=/etc/exim4/rhsbllist
280 file=/etc/exim4/submission-domains
281 file=/etc/exim4/virtualdomains
282 file=/etc/exim4/email-virtualdomains
283 file=/etc/exim4/whitelist
284 file=/etc/exim4/local-settings.conf
285 file=/etc/exim4/ssl/ca.crt
286 file=/etc/exim4/ssl/ca.crl
287 file=/etc/exim4/ssl/thishost.crt
288 file=/etc/exim4/ssl/thishost.key
289 dir=3/etc/exim4/email-virtualdomains
290 file=/etc/ssh/ssh_config
291 file=/etc/ssh/sshd_config
292 file=/etc/dsa/cron.ignore.dsa-puppet-stuff
293 file=/etc/vsftpd.conf
295 file=/etc/multipath.conf
296 file=/etc/static-components.conf
297 file=/etc/rabbitmq/rabbitmq.config
298 file=/etc/rabbitmq/enabled_plugins
299 dir=/etc/bacula/storages-list.d
300 dir=/etc/bacula/storage-conf.d
301 dir=/etc/bacula/conf.d
304 if scope.lookupvar('site::nodeinfo')['heavy_exim']
306 file=/etc/exim4/surbl_whitelist.txt
307 file=/etc/exim4/exim_surbl.pl
308 file=/etc/exim4/ccTLD.txt
309 file=/etc/clamav-unofficial-sigs.conf
310 file=/etc/clamav-unofficial-sigs.dsa.conf
315 file=/etc/munin/plugins/bind
316 file=/etc/munin/plugins/bind_views
317 file=/etc/munin/plugins/cpu
318 file=/etc/munin/plugins/df
319 file=/etc/munin/plugins/df_abs
320 file=/etc/munin/plugins/df_inode
321 file=/etc/munin/plugins/entropy
322 file=/etc/munin/plugins/forks
323 file=/etc/munin/plugins/interrupts
324 file=/etc/munin/plugins/iostat
325 file=/etc/munin/plugins/irqstats
326 file=/etc/munin/plugins/load
327 file=/etc/munin/plugins/memory
328 file=/etc/munin/plugins/ntp_offset
329 file=/etc/munin/plugins/ntp_states
330 file=/etc/munin/plugins/open_files
331 file=/etc/munin/plugins/open_inodes
332 file=/etc/munin/plugins/processes
333 file=/etc/munin/plugins/ps_apache2
334 file=/etc/munin/plugins/ps_exim4
335 file=/etc/munin/plugins/ps_vsftpd
336 file=/etc/munin/plugins/spamassassin
337 file=/etc/munin/plugins/swap
338 file=/etc/munin/plugins/uptime
339 file=/etc/munin/plugins/vmstat
340 file=/etc/munin/plugins/vfstpd
341 file=/etc/munin/plugins/apache_accesses
342 file=/etc/munin/plugins/apache_processes
343 file=/etc/munin/plugins/apache_volume
344 file=/etc/munin/plugins/apache_servers
345 file=/etc/munin/plugins/exim_mailqueue
346 file=/etc/munin/plugins/exim_mailstats
347 file=/etc/munin/plugins/postfix_mailqueue
348 file=/etc/munin/plugins/postfix_mailvolume
349 file=/etc/apache2/conf.d/resource-limits
350 file=/etc/apache2/mods-enabled/info.conf
351 file=/etc/apache2/mods-enabled/info.load
352 file=/etc/apache2/mods-enabled/server.conf
353 file=/etc/apache2/mods-enabled/server.load
354 file=/etc/apache2/conf.d/server-status
355 file=/etc/apache2/conf.d/local-serverinfo
356 file=/etc/apache2/sites-available/www.debian.org
357 file=/etc/apt/preferences
358 file=/etc/apt/sources.list.d/volatile.list
359 file=/etc/apt/sources.list.d/security.list
360 file=/etc/apt/sources.list.d/buildd.list
361 file=/etc/apt/sources.list.d/buildd.debian.org.list
362 file=/etc/apt/sources.list.d/buildd.debian.org-proposed.list
363 file=/etc/apt/sources.list.d/buildd.debian.org-experimental.list
364 file=/etc/apt/sources.list.d/geoip.list
365 file=/etc/apt/sources.list.d/backports.debian.org.list
366 file=/etc/apt/sources.list.d/debian.org.list
367 file=/etc/apt/sources.list.d/db.debian.org.list
368 file=/etc/apt/sources.list.d/debian.restricted.list
369 file=/etc/apt/sources.list.d/debian.list
370 file=/etc/apt/sources.list.d/backports.org.list
371 file=/etc/apt/apt.conf.d/local-compression
372 file=/etc/apt/apt.conf.d/local-recommends
373 file=/etc/apt/apt.conf.d/local-pdiffs
374 file=/etc/apt/apt.conf.d/local-ssl-ca-global
375 file=/etc/apt/preferences.d/buildd
376 file=/etc/systemd/system/puppet.service
377 file=/etc/puppet/puppet.conf
378 file=/etc/default/puppet
379 file=/etc/default/postgrey
380 file=/etc/default/syslog-ng
381 file=/etc/logrotate.d/exim4-paniclog
382 file=/etc/logrotate.d/exim4-base
383 file=/etc/logrotate.d/syslog-ng
384 file=/etc/syslog-ng/syslog-ng.conf
385 file=/usr/sbin/dsa-update-apt-status
386 file=/usr/sbin/dsa-update-samhain-status
387 file=/etc/nagios/nrpe.d/nrpe_dsa.cfg
388 file=/etc/nagios/nrpe.d/debianorg.cfg
389 file=/etc/nagios/obsolete-packages-ignore
390 file=/etc/nagios/obsolete-packages-ignore.d/hostspecific
391 file=/etc/nagios/check-libs.conf
392 file=/usr/lib/nagios/plugins/dsa-check-packages
393 file=/usr/lib/nagios/plugins/dsa-check-soas
394 file=/usr/lib/nagios/plugins/dsa-check-mirrorsync
395 file=/usr/lib/nagios/plugins/dsa-check-samhain
396 file=/usr/lib/nagios/plugins/dsa-check-statusfile
397 file=/usr/lib/nagios/plugins/dsa-check-dabackup-server
398 file=/usr/lib/nagios/plugins/dsa-check-config
399 file=/usr/lib/nagios/plugins/dsa-check-hpacucli
400 file=/usr/lib/nagios/plugins/dsa-check-raid-mpt
401 file=/usr/lib/nagios/plugins/dsa-check-puppet
402 file=/usr/lib/nagios/plugins/dsa-check-running-kernel
403 file=/usr/lib/nagios/plugins/dsa-check-raid-3ware
404 file=/usr/lib/nagios/plugins/dsa-check-dabackup
405 file=/usr/lib/nagios/plugins/dsa-check-raid-dac960
406 file=/usr/lib/nagios/plugins/dsa-check-udldap-freshness
407 file=/usr/lib/nagios/plugins/dsa-check-raid-areca
408 file=/usr/lib/nagios/plugins/dsa-check-raid-sw
409 file=/usr/lib/nagios/plugins/dsa-update-samhain-status
411 file=/etc/stunnel/puppet-ekeyd-peer.pem
412 file=/etc/stunnel/puppet-ekeyd.conf
413 file=/etc/sysctl.d/mmap_min_addr.conf
415 file=/etc/monit/monitrc
416 file=/etc/monit/monit.d/01puppet
417 file=/etc/monit/monit.d/00debian.org
418 file=/etc/cron.d/dsa-puppet-stuff
419 file=/etc/cron.d/dsa-buildd
420 file=/etc/cron.weekly/stunnel-ekey-restart
421 file=/etc/default/schroot
422 file=/etc/schroot/default/nssdatabases
423 file=/etc/schroot/setup.d/99porterbox-extra-sources
424 file=/etc/schroot/setup.d/99porterbox-extra-apt-options
425 file=/etc/openvswitch/conf.db
427 <% if scope.function_has_role(['nagiosmaster']) -%>
428 file=/etc/nagios3/puppetconf.d/auto-hostgroups.cfg
429 file=/etc/nagios3/puppetconf.d/auto-hosts.cfg
430 file=/etc/nagios3/puppetconf.d/auto-services.cfg
431 file=/etc/nagios3/puppetconf.d/auto-dependencies.cfg
432 file=/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg
433 file=/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg
434 file=/etc/nagios3/puppetconf.d/auto-servicegroups.cfg
435 file=/etc/nagios3/puppetconf.d/contacts.cfg
437 <% if scope.function_has_role(['muninmaster']) -%>
438 file=/etc/munin/munin.conf
440 <% if scope.function_has_role(['puppetmaster']) -%>
443 <% if classes.include?('named::geodns') -%>
444 dir=1/etc/bind/geodns
446 <% if classes.include?('named::authoritative') -%>
448 file=/etc/bind/named.conf.debian-zones
450 dir=3/etc/lvm/archive
453 dir=1/etc/ferm/conf.d
455 file=/etc/ferm/conf.d/me.conf
456 file=/etc/ferm/conf.d/defs.conf
457 file=/etc/ferm/ferm.conf
460 dir=1/etc/ssl/ca-debian
461 dir=1/etc/ssl/ca-global
462 file=/etc/ca-certificates.conf
463 file=/etc/ca-certificates-debian.conf
464 file=/etc/ca-certificates-global.conf
465 file=/etc/ssl/private/ssl-cert-snakeoil.key
466 file=/etc/unbound/unbound.conf
467 <% if scope.lookupvar('::fqdn') == "draghi.debian.org" -%>
468 file=/etc/openvpn/deb-mgmt-clients.pool
472 <% if scope.function_has_role(['puppetmaster']) %>
474 # Damn you rails apps and your shoddy packaging
475 file=/usr/share/puppet-dashboard/public/stylesheets
476 file=/usr/share/puppet-dashboard/public/javascripts
477 file=/usr/share/puppet-dashboard/public/stylesheets/all.css
478 file=/usr/share/puppet-dashboard/public/javascripts/all.js
479 dir=1/usr/share/puppet-dashboard/tmp/pids
482 <% if classes.include?("porterbox") %>
483 file=/etc/cron.weekly/puppet-mail-big-homedirs
488 ## for these files, all modifications (even access time) are reported
489 ## - you may create some interesting-looking file (like /etc/safe_passwd),
490 ## just to watch whether someone will access it ...
495 ## Use for prelinked files or directories holding them
501 ## for these files, only access time is ignored
507 # SuSE (old) has the boot init scripts in /sbin/init.d/*,
508 # so we go 3 levels deep
516 # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*,
517 # so we go 3 levels deep there too
521 # Various directories / files that may include / be SUID/SGID binaries
524 file=/usr/lib/pt_chown
525 # X11, in Debian X7 this is now a symlink
527 #dir=/usr/X11R6/lib/X11/xmcd/bin
529 #file=/usr/lib/apache/suexec
530 #file=/usr/lib/apache/suexec.disabled
537 ## User0 and User1 are sections for files/dirs with user-definable checking
543 ## Here you can assign severities to policy violations.
544 ## If this severity exceeds the treshold of a log facility (see below),
545 ## a policy violation will be logged to that facility.
547 ## Severity for verification failures.
549 # SeverityReadOnly=crit
550 # SeverityLogFiles=crit
551 # SeverityGrowingLogs=crit
552 # SeverityIgnoreNone=crit
553 # SeverityAttributes=crit
558 SeverityReadOnly=crit
559 SeverityLogFiles=crit
560 SeverityGrowingLogs=warn
561 SeverityIgnoreNone=crit
562 SeverityAttributes=crit
566 ## We have a file in IgnoreAll that might or might not be present.
567 ## Setting the severity to 'info' prevents messages about deleted/new file.
569 # SeverityIgnoreAll=crit
570 SeverityIgnoreAll=info
572 ## Files : file access problems
575 ## Dirs : directory access problems
578 ## Names : suspect (non-printable) characters in a pathname
589 ## Switch on/OFF log facilities and set their threshold severity
591 ## Values: debug, info, notice, warn, mark, err, crit, alert, none.
592 ## 'mark' is used for timestamps.
595 ## Use 'none' to SWITCH OFF a log facility
597 ## By default, everything equal to and above the threshold is logged.
598 ## The specifiers '*', '!', and '=' are interpreted as
599 ## 'all', 'all but', and 'only', respectively (like syslogd(8) does,
600 ## at least on Linux). Examples:
602 ## MailSeverity=!warn
603 ## MailSeverity==crit
619 # SyslogSeverity=none
621 ## Remote server (yule)
623 # ExportSeverity=none
625 ## External script or program
627 # ExternalSeverity = none
629 ## Logging to a database
631 # DatabaseSeverity = none
644 #####################################################
648 #####################################################
652 ## --- Check the filesystem for SUID/SGID binaries
657 # SuidCheckActive = yes
659 ## Interval for check (seconds)
661 # SuidCheckInterval = 7200
663 ## Alternative: crontab-like schedule
665 # SuidCheckSchedule = NULL
667 ## Directory to exclude
669 # SuidCheckExclude = NULL
671 ## Limit on files per second (0 == no limit)
675 ## Alternative: yield after every file
677 # SuidCheckYield = no
679 ## Severity of a detection
681 # SeveritySuidCheck = crit
683 ## Quarantine SUID/SGID files if found
685 # SuidCheckQuarantineFiles = yes
687 ## Method for Quarantining files:
688 # 0 - Delete or truncate the file.
689 # 1 - Remove SUID/SGID permissions from file.
690 # 2 - Move SUID/SGID file to quarantine dir.
692 # SuidCheckQuarantineMethod = 0
694 ## For method 1 and 3, really delete instead of truncating
696 # SuidCheckQuarantineDelete = yes
700 ## --- Check for loadable kernel module rootkits (Linux/FreeBSD only)
705 #KernelCheckActive = True
707 ## Check interval (seconds); btw., the check is VERY fast
709 # KernelCheckInterval = 300
713 # SeverityKernel = crit
718 ## --- Logging of login/logout events
723 # LoginCheckActive = True
725 ## Severity for logins, multiple logins, logouts
728 # SeverityLoginMulti=warn
729 # SeverityLogout=info
731 ## Interval for login/logout checks
733 # LoginCheckInterval = 300
738 ## --- Logging to a relational database
743 # SetDBName = samhain
751 # SetDBUser = samhain
755 # SetDBPassword = (default: none)
759 # SetDBHost = localhost
761 ## Log the server timestamp for received messages
763 # SetDBServerTstamp = True
765 ## Use a persistent connection
767 # UsePersistent = True
771 ## Interface to call external scripts/programs for logging
774 ## The absolute path to the command
775 ## - Each invocation of this directive will end the definition of the
776 ## preceding command, and start the definition of
777 ## an additional, new command
779 # OpenCommand = (no default)
782 ## - log for log messages, srv for messages received by the server
786 ## The command (full command line) to execute
788 # SetCommandLine = (no default)
790 ## The environment (KEY=value; repeat for more)
792 # SetEnviron = TZ=(your timezone)
794 ## The TIGER192 checksum (optional)
796 # SetChecksum = (no default)
798 ## User who runs the command
800 # SetCredentials = (default: samhain process uid)
802 ## Words not allowed in message
804 # SetFilterNot = (none)
806 ## Words required (ALL of them)
808 # SetFilterAnd = (none)
810 ## Words required (at least one)
812 # SetFilterOr = (none)
814 ## Deadtime between consecutive calls
818 ## Add default environment (HOME, PATH, SHELL)
823 #####################################################
825 # Miscellaneous configuration options
827 #####################################################
831 ## whether to become a daemon process
832 ## (this is not honoured on database initialisation)
837 ## whether to test signature of files (init/check/none)
838 ## - if 'none', then we have to decide this on the command line -
840 # ChecksumTest = none
843 ## whether to drop linux capabilities that are not required
844 ## - will make a root process a 'mere mortal' in many respects
848 ## Set nice level (-19 to 19, see 'man nice'),
849 ## and I/O limit (kilobytes per second; 0 == off)
850 ## to reduce load on host.
855 ## The version string to embed in file signature databases
857 # VersionString = NULL
859 ## Interval between time stamp messages
864 ## Interval between file checks
866 # SetFileCheckTime = 600
867 SetFileCheckTime = 7200
869 ## Alternative: crontab-like schedule
871 # FileCheckScheduleOne = NULL
873 ## Alternative: crontab-like schedule(2)
875 # FileCheckScheduleTwo = NULL
877 ## Report only once on modified fles
878 ## Setting this to 'FALSE' will generate a report for any policy
879 ## violation (old and new ones) each time the daemon checks the file system.
881 # ReportOnlyOnce = True
883 ## Report in full detail
885 # ReportFullDetail = False
887 ## Report file timestamps in local time rather than GMT
891 ## The console device (can also be a file or named pipe)
892 ## - There are two console devices. Accordingly, you can use
893 ## this directive a second time to set the second console device.
894 ## If you have not defined the second device at compile time,
895 ## and you don't want to use it, then:
896 ## setting it to /dev/null is less effective than just leaving
897 ## it alone (setting to /dev/null will waste time by opening
898 ## /dev/null and writing to it)
900 # SetConsole = /dev/console
902 ## Activate the SysV IPC message queue
904 # MessageQueueActive = False
907 ## If false, skip reverse lookup when connecting to a host known
908 ## by name rather than IP address (i.e. trust the DNS)
910 # SetReverseLookup = True
914 # Only highest-level (alert) reports will be mailed immediately,
915 # others will be queued. Here you can define, when the queue will
916 # be flushed (Note: the queue is automatically flushed after
917 # completing a file check).
921 ## Maximum number of mails to queue
925 ## Recipient (max. 8)
927 SetMailAddress=samhain-reports@<%= fqdn -%>
929 SetMailRelay = localhost
931 ## Custom subject format
933 MailSubject = [Samhain at %H] %T: %S
935 ## --- end E-Mail ---
937 ## Path to the prelink executable
939 # SetPrelinkPath = /usr/sbin/prelink
941 ## TIGER192 checksum of the prelink executable
943 # SetPrelinkChecksum = (no default)
946 ## Path to the executable. If set, will be checksummed after startup
949 # SamhainPath = (no default)
952 ## The IP address of the log server
954 # SetLogServer = (default: compiled-in)
956 ## The IP address of the time server
958 # SetTimeServer = (default: compiled-in)
960 ## Trusted Users (comma delimited list of user names)
962 # TrustedUser = (no default; this adds to the compiled-in list)
964 ## Path to the file signature database
966 # SetDatabasePath = (default: compiled-in)
968 ## Path to the log file
970 # SetLogfilePath = (default: compiled-in)
972 ## Path to the PID file
974 # SetLockPath = (default: compiled-in)
977 ## The digest/checksum/hash algorithm
979 # DigestAlgo = TIGER192
982 ## Custom format for message header.
983 ## CAREFUL if you use XML logfile format.
992 # MessageHeader="%S %T "
995 ## Don't log path to config/database file on startup
999 ## The syslog facility, if you log to syslog
1001 # SyslogFacility = LOG_AUTHPRIV
1002 SyslogFacility=LOG_LOCAL2
1004 ## The message authentication method
1005 ## - If you change this, you *must* change it
1006 ## on client *and* server
1008 # MACType = HMAC-TIGER
1011 ## everything below is ignored
1014 #####################################################################
1015 # This would be the proper syntax for parts that should only be
1016 # included for certain hosts.
1017 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
1018 # result still has the proper syntax for the config file.
1019 # You may have any number of @HOSTNAME/@end brackets.
1020 # HOSTNAME should be the fully qualified 'official' name
1021 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
1022 # No IP number - except if samhain cannot determine the
1023 # fully qualified hostname.
1029 # These are two examples for conditional inclusion/exclusion
1030 # of a machine based on the output from 'uname -srm'
1035 # !$Linux:2.*.7:i686
1039 #####################################################################