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
113 <% if classes.include?("apache2") -%>
114 file=/etc/apache2/conf-available/puppet-ssl-key-pins.conf
116 file=/etc/multipath/wwids
119 # There are files in /etc that might change, thus changing the directory
120 # timestamps. Put it here as 'file', and in the ReadOnly section as 'dir'.
124 file=/etc/network/run
126 file=/etc/spamassassin/sa-update-keys
127 file=/etc/init.d/.depend.boot
128 file=/etc/init.d/.depend.start
129 file=/etc/init.d/.depend.stop
131 # These are the directories for the files we handle with puppet
132 <% if classes.include?("apache2") -%>
133 file=/etc/apache2/conf-available
134 files=/etc/apache2/mods-enabled
135 files=/etc/apache2/sites-available
140 file=/etc/munin/plugins
141 file=/etc/munin/plugin-conf.d
142 file=/etc/munin/munin-conf.d
146 file=/etc/apt/apt.conf.d
147 file=/etc/apt/sources.list.d
148 file=/etc/apt/preferences.d
150 file=/etc/logrotate.d
152 file=/etc/nagios/nrpe.d
153 file=/etc/nagios/obsolete-packages-ignore.d
154 file=/etc/bind/geodns
155 <% if scope.function_has_role(['nagiosmaster']) -%>
156 file=/etc/nagios3/puppetconf.d
160 file=/etc/cron.weekly
161 file=/usr/lib/nagios/plugins
164 file=/etc/monit/monit.d
166 file=/etc/schroot/default
167 file=/etc/schroot/setup.d
172 file=/etc/ferm/conf.d
178 <% if scope.function_has_role(['static_mirror']) or scope.function_has_role(['static_source']) or scope.function_has_role(['static_master']) -%>
179 file=/etc/ssh/userkeys
180 file=/etc/ssh/userkeys/staticsync
186 ## for these files, changes in signature, timestamps, and size are ignored
190 # is on tmpfs, ignore.
194 #####################################################################
196 # This would be the proper syntax for parts that should only be
197 # included for certain hosts.
198 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
199 # result still has the proper syntax for the config file.
200 # You may have any number of @HOSTNAME/@end brackets.
201 # HOSTNAME should be the fully qualified 'official' name
202 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
203 # No IP number - except if samhain cannot determine the
204 # fully qualified hostname.
210 # These are two examples for conditional inclusion/exclusion
211 # of a machine based on the output from 'uname -srm'
221 #####################################################################
225 ## for these files, changes in signature, timestamps, and increase in size
229 file=/var/log/messages
231 file=/var/log/faillog
232 file=/var/log/auth.log
233 file=/var/log/daemon.log
234 file=/var/log/user.log
235 file=/var/log/kern.log
241 ## for these files, no modifications are reported
243 ## This file might be created or removed by the system sometimes.
245 file=/etc/resolv.conf
246 <% if scope.lookupvar('site::nodeinfo')['buildd'] -%>
247 file=/etc/dupload.conf
248 file=/etc/buildd/buildd.conf
249 file=/etc/sbuild/sbuild.conf
251 file=/etc/resolv.conf.pcmcia.save
253 file=/etc/postfix/debian.db
254 file=/etc/postfix/debian
255 file=/etc/ssh/ssh_known_hosts
256 file=/etc/ssh/ssh-rsa-shadow
257 file=/var/lib/misc/ssh-rsa-shadow
258 file=/etc/.da-backup.trace
259 file=/etc/postfix/debianhosts
260 file=/etc/postfix/debianhosts.db
262 file=/etc/blkid.tab.old
263 file=/etc/resolv.conf.dhclient-new
265 # We handle these files with puppet - please to not be bothering us
266 file=/etc/dsa/pubsub.conf
267 file=/etc/nsswitch.conf
270 file=/etc/update-motd.d/
271 file=/etc/update-motd.d/puppet-motd
273 file=/etc/samhain/samhainrc
274 file=/etc/munin/munin-node.conf
275 file=/etc/munin/plugin-conf.d/munin-node
276 dir=2/etc/munin/munin-conf.d
277 file=/etc/userdir-ldap.confc
278 file=/etc/exim4/blacklist
279 file=/etc/exim4/host_blacklist
280 file=/etc/exim4/callout_users
281 file=/etc/exim4/exim4.conf
282 file=/etc/exim4/grey_users
283 file=/etc/exim4/helo-check
284 file=/etc/exim4/locals
285 file=/etc/exim4/localusers
286 file=/etc/exim4/manualroute
287 file=/etc/exim4/rbllist
288 file=/etc/exim4/rhsbllist
289 file=/etc/exim4/submission-domains
290 file=/etc/exim4/virtualdomains
291 file=/etc/exim4/email-virtualdomains
292 file=/etc/exim4/whitelist
293 file=/etc/exim4/local-settings.conf
294 file=/etc/exim4/ssl/ca.crt
295 file=/etc/exim4/ssl/ca.crl
296 file=/etc/exim4/ssl/thishost.crt
297 file=/etc/exim4/ssl/thishost.key
298 dir=3/etc/exim4/email-virtualdomains
299 file=/etc/ssh/ssh_config
300 file=/etc/ssh/sshd_config
301 file=/etc/dsa/cron.ignore.dsa-puppet-stuff
302 file=/etc/vsftpd.conf
304 file=/etc/multipath.conf
305 file=/etc/static-components.conf
306 file=/etc/rabbitmq/rabbitmq.config
307 file=/etc/rabbitmq/enabled_plugins
308 dir=/etc/bacula/storages-list.d
309 dir=/etc/bacula/storage-conf.d
310 dir=/etc/bacula/conf.d
313 if scope.lookupvar('site::nodeinfo')['heavy_exim']
315 file=/etc/exim4/surbl_whitelist.txt
316 file=/etc/exim4/exim_surbl.pl
317 file=/etc/exim4/ccTLD.txt
318 file=/etc/clamav-unofficial-sigs.conf
319 file=/etc/clamav-unofficial-sigs.dsa.conf
324 file=/etc/munin/plugins/bind
325 file=/etc/munin/plugins/bind_views
326 file=/etc/munin/plugins/cpu
327 file=/etc/munin/plugins/df
328 file=/etc/munin/plugins/df_abs
329 file=/etc/munin/plugins/df_inode
330 file=/etc/munin/plugins/entropy
331 file=/etc/munin/plugins/forks
332 file=/etc/munin/plugins/interrupts
333 file=/etc/munin/plugins/iostat
334 file=/etc/munin/plugins/irqstats
335 file=/etc/munin/plugins/load
336 file=/etc/munin/plugins/memory
337 file=/etc/munin/plugins/ntp_offset
338 file=/etc/munin/plugins/ntp_states
339 file=/etc/munin/plugins/open_files
340 file=/etc/munin/plugins/open_inodes
341 file=/etc/munin/plugins/processes
342 file=/etc/munin/plugins/ps_apache2
343 file=/etc/munin/plugins/ps_exim4
344 file=/etc/munin/plugins/ps_vsftpd
345 file=/etc/munin/plugins/spamassassin
346 file=/etc/munin/plugins/swap
347 file=/etc/munin/plugins/uptime
348 file=/etc/munin/plugins/vmstat
349 file=/etc/munin/plugins/vfstpd
350 file=/etc/munin/plugins/apache_accesses
351 file=/etc/munin/plugins/apache_processes
352 file=/etc/munin/plugins/apache_volume
353 file=/etc/munin/plugins/apache_servers
354 file=/etc/munin/plugins/exim_mailqueue
355 file=/etc/munin/plugins/exim_mailstats
356 file=/etc/munin/plugins/postfix_mailqueue
357 file=/etc/munin/plugins/postfix_mailvolume
358 file=/etc/apache2/conf.d/resource-limits
359 file=/etc/apache2/mods-enabled/info.conf
360 file=/etc/apache2/mods-enabled/info.load
361 file=/etc/apache2/mods-enabled/server.conf
362 file=/etc/apache2/mods-enabled/server.load
363 file=/etc/apache2/conf.d/server-status
364 file=/etc/apache2/conf.d/local-serverinfo
365 file=/etc/apache2/sites-available/www.debian.org
366 file=/etc/apt/preferences
367 file=/etc/apt/sources.list.d/volatile.list
368 file=/etc/apt/sources.list.d/security.list
369 file=/etc/apt/sources.list.d/buildd.list
370 file=/etc/apt/sources.list.d/buildd.debian.org.list
371 file=/etc/apt/sources.list.d/buildd.debian.org-proposed.list
372 file=/etc/apt/sources.list.d/buildd.debian.org-experimental.list
373 file=/etc/apt/sources.list.d/geoip.list
374 file=/etc/apt/sources.list.d/backports.debian.org.list
375 file=/etc/apt/sources.list.d/debian.org.list
376 file=/etc/apt/sources.list.d/db.debian.org.list
377 file=/etc/apt/sources.list.d/debian.restricted.list
378 file=/etc/apt/sources.list.d/debian.list
379 file=/etc/apt/sources.list.d/backports.org.list
380 file=/etc/apt/apt.conf.d/local-compression
381 file=/etc/apt/apt.conf.d/local-recommends
382 file=/etc/apt/apt.conf.d/local-pdiffs
383 file=/etc/apt/apt.conf.d/local-ssl-ca-global
384 file=/etc/apt/preferences.d/buildd
385 file=/etc/puppet/puppet.conf
386 file=/etc/default/puppet
387 file=/etc/default/postgrey
388 file=/etc/default/syslog-ng
389 file=/etc/logrotate.d/exim4-paniclog
390 file=/etc/logrotate.d/exim4-base
391 file=/etc/logrotate.d/syslog-ng
392 file=/etc/syslog-ng/syslog-ng.conf
393 file=/usr/sbin/dsa-update-apt-status
394 file=/usr/sbin/dsa-update-samhain-status
395 file=/etc/nagios/nrpe.d/nrpe_dsa.cfg
396 file=/etc/nagios/nrpe.d/debianorg.cfg
397 file=/etc/nagios/obsolete-packages-ignore
398 file=/etc/nagios/obsolete-packages-ignore.d/hostspecific
399 file=/etc/nagios/check-libs.conf
400 file=/usr/lib/nagios/plugins/dsa-check-packages
401 file=/usr/lib/nagios/plugins/dsa-check-soas
402 file=/usr/lib/nagios/plugins/dsa-check-mirrorsync
403 file=/usr/lib/nagios/plugins/dsa-check-samhain
404 file=/usr/lib/nagios/plugins/dsa-check-statusfile
405 file=/usr/lib/nagios/plugins/dsa-check-dabackup-server
406 file=/usr/lib/nagios/plugins/dsa-check-config
407 file=/usr/lib/nagios/plugins/dsa-check-hpacucli
408 file=/usr/lib/nagios/plugins/dsa-check-raid-mpt
409 file=/usr/lib/nagios/plugins/dsa-check-puppet
410 file=/usr/lib/nagios/plugins/dsa-check-running-kernel
411 file=/usr/lib/nagios/plugins/dsa-check-raid-3ware
412 file=/usr/lib/nagios/plugins/dsa-check-dabackup
413 file=/usr/lib/nagios/plugins/dsa-check-raid-dac960
414 file=/usr/lib/nagios/plugins/dsa-check-udldap-freshness
415 file=/usr/lib/nagios/plugins/dsa-check-raid-areca
416 file=/usr/lib/nagios/plugins/dsa-check-raid-sw
417 file=/usr/lib/nagios/plugins/dsa-update-samhain-status
419 file=/etc/stunnel/puppet-ekeyd-peer.pem
420 file=/etc/stunnel/puppet-ekeyd.conf
421 file=/etc/sysctl.d/mmap_min_addr.conf
423 file=/etc/monit/monitrc
424 file=/etc/monit/monit.d/01puppet
425 file=/etc/monit/monit.d/00debian.org
426 file=/etc/cron.d/dsa-puppet-stuff
427 file=/etc/cron.d/dsa-buildd
428 file=/etc/cron.weekly/stunnel-ekey-restart
429 file=/etc/default/schroot
430 file=/etc/schroot/default/nssdatabases
431 file=/etc/schroot/setup.d/99porterbox-extra-sources
432 file=/etc/schroot/setup.d/99porterbox-extra-apt-options
433 file=/etc/openvswitch/conf.db
435 <% if scope.function_has_role(['nagiosmaster']) -%>
436 file=/etc/nagios3/puppetconf.d/auto-hostgroups.cfg
437 file=/etc/nagios3/puppetconf.d/auto-hosts.cfg
438 file=/etc/nagios3/puppetconf.d/auto-services.cfg
439 file=/etc/nagios3/puppetconf.d/auto-dependencies.cfg
440 file=/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg
441 file=/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg
442 file=/etc/nagios3/puppetconf.d/auto-servicegroups.cfg
443 file=/etc/nagios3/puppetconf.d/contacts.cfg
445 <% if scope.function_has_role(['muninmaster']) -%>
446 file=/etc/munin/munin.conf
448 <% if scope.function_has_role(['puppetmaster']) -%>
451 <% if classes.include?('named::geodns') -%>
452 dir=1/etc/bind/geodns
454 <% if classes.include?('named::authoritative') -%>
456 file=/etc/bind/named.conf.debian-zones
458 dir=3/etc/lvm/archive
461 dir=1/etc/ferm/conf.d
463 file=/etc/ferm/conf.d/me.conf
464 file=/etc/ferm/conf.d/defs.conf
465 file=/etc/ferm/ferm.conf
469 dir=1/etc/ssl/ca-debian
470 dir=1/etc/ssl/ca-global
471 file=/etc/ca-certificates.conf
472 file=/etc/ca-certificates-debian.conf
473 file=/etc/ca-certificates-global.conf
474 file=/etc/ssl/private/ssl-cert-snakeoil.key
475 file=/etc/unbound/unbound.conf
476 <% if scope.lookupvar('::fqdn') == "draghi.debian.org" -%>
477 file=/etc/openvpn/deb-mgmt-clients.pool
479 file=/etc/rsyncd/debian.secrets
482 <% if scope.function_has_role(['puppetmaster']) %>
484 # Damn you rails apps and your shoddy packaging
485 file=/usr/share/puppet-dashboard/public/stylesheets
486 file=/usr/share/puppet-dashboard/public/javascripts
487 file=/usr/share/puppet-dashboard/public/stylesheets/all.css
488 file=/usr/share/puppet-dashboard/public/javascripts/all.js
489 dir=1/usr/share/puppet-dashboard/tmp/pids
492 <% if classes.include?("porterbox") %>
493 file=/etc/cron.weekly/puppet-mail-big-homedirs
498 ## for these files, all modifications (even access time) are reported
499 ## - you may create some interesting-looking file (like /etc/safe_passwd),
500 ## just to watch whether someone will access it ...
505 ## Use for prelinked files or directories holding them
511 ## for these files, only access time is ignored
517 # SuSE (old) has the boot init scripts in /sbin/init.d/*,
518 # so we go 3 levels deep
526 # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*,
527 # so we go 3 levels deep there too
531 # Various directories / files that may include / be SUID/SGID binaries
534 file=/usr/lib/pt_chown
535 # X11, in Debian X7 this is now a symlink
537 #dir=/usr/X11R6/lib/X11/xmcd/bin
539 #file=/usr/lib/apache/suexec
540 #file=/usr/lib/apache/suexec.disabled
547 ## User0 and User1 are sections for files/dirs with user-definable checking
553 ## Here you can assign severities to policy violations.
554 ## If this severity exceeds the treshold of a log facility (see below),
555 ## a policy violation will be logged to that facility.
557 ## Severity for verification failures.
559 # SeverityReadOnly=crit
560 # SeverityLogFiles=crit
561 # SeverityGrowingLogs=crit
562 # SeverityIgnoreNone=crit
563 # SeverityAttributes=crit
568 SeverityReadOnly=crit
569 SeverityLogFiles=crit
570 SeverityGrowingLogs=warn
571 SeverityIgnoreNone=crit
572 SeverityAttributes=crit
576 ## We have a file in IgnoreAll that might or might not be present.
577 ## Setting the severity to 'info' prevents messages about deleted/new file.
579 # SeverityIgnoreAll=crit
580 SeverityIgnoreAll=info
582 ## Files : file access problems
585 ## Dirs : directory access problems
588 ## Names : suspect (non-printable) characters in a pathname
599 ## Switch on/OFF log facilities and set their threshold severity
601 ## Values: debug, info, notice, warn, mark, err, crit, alert, none.
602 ## 'mark' is used for timestamps.
605 ## Use 'none' to SWITCH OFF a log facility
607 ## By default, everything equal to and above the threshold is logged.
608 ## The specifiers '*', '!', and '=' are interpreted as
609 ## 'all', 'all but', and 'only', respectively (like syslogd(8) does,
610 ## at least on Linux). Examples:
612 ## MailSeverity=!warn
613 ## MailSeverity==crit
629 # SyslogSeverity=none
631 ## Remote server (yule)
633 # ExportSeverity=none
635 ## External script or program
637 # ExternalSeverity = none
639 ## Logging to a database
641 # DatabaseSeverity = none
654 #####################################################
658 #####################################################
662 ## --- Check the filesystem for SUID/SGID binaries
667 # SuidCheckActive = yes
669 ## Interval for check (seconds)
671 # SuidCheckInterval = 7200
673 ## Alternative: crontab-like schedule
675 # SuidCheckSchedule = NULL
677 ## Directory to exclude
679 # SuidCheckExclude = NULL
681 ## Limit on files per second (0 == no limit)
685 ## Alternative: yield after every file
687 # SuidCheckYield = no
689 ## Severity of a detection
691 # SeveritySuidCheck = crit
693 ## Quarantine SUID/SGID files if found
695 # SuidCheckQuarantineFiles = yes
697 ## Method for Quarantining files:
698 # 0 - Delete or truncate the file.
699 # 1 - Remove SUID/SGID permissions from file.
700 # 2 - Move SUID/SGID file to quarantine dir.
702 # SuidCheckQuarantineMethod = 0
704 ## For method 1 and 3, really delete instead of truncating
706 # SuidCheckQuarantineDelete = yes
710 ## --- Check for loadable kernel module rootkits (Linux/FreeBSD only)
715 #KernelCheckActive = True
717 ## Check interval (seconds); btw., the check is VERY fast
719 # KernelCheckInterval = 300
723 # SeverityKernel = crit
728 ## --- Logging of login/logout events
733 # LoginCheckActive = True
735 ## Severity for logins, multiple logins, logouts
738 # SeverityLoginMulti=warn
739 # SeverityLogout=info
741 ## Interval for login/logout checks
743 # LoginCheckInterval = 300
748 ## --- Logging to a relational database
753 # SetDBName = samhain
761 # SetDBUser = samhain
765 # SetDBPassword = (default: none)
769 # SetDBHost = localhost
771 ## Log the server timestamp for received messages
773 # SetDBServerTstamp = True
775 ## Use a persistent connection
777 # UsePersistent = True
781 ## Interface to call external scripts/programs for logging
784 ## The absolute path to the command
785 ## - Each invocation of this directive will end the definition of the
786 ## preceding command, and start the definition of
787 ## an additional, new command
789 # OpenCommand = (no default)
792 ## - log for log messages, srv for messages received by the server
796 ## The command (full command line) to execute
798 # SetCommandLine = (no default)
800 ## The environment (KEY=value; repeat for more)
802 # SetEnviron = TZ=(your timezone)
804 ## The TIGER192 checksum (optional)
806 # SetChecksum = (no default)
808 ## User who runs the command
810 # SetCredentials = (default: samhain process uid)
812 ## Words not allowed in message
814 # SetFilterNot = (none)
816 ## Words required (ALL of them)
818 # SetFilterAnd = (none)
820 ## Words required (at least one)
822 # SetFilterOr = (none)
824 ## Deadtime between consecutive calls
828 ## Add default environment (HOME, PATH, SHELL)
833 #####################################################
835 # Miscellaneous configuration options
837 #####################################################
841 ## whether to become a daemon process
842 ## (this is not honoured on database initialisation)
847 ## whether to test signature of files (init/check/none)
848 ## - if 'none', then we have to decide this on the command line -
850 # ChecksumTest = none
853 ## whether to drop linux capabilities that are not required
854 ## - will make a root process a 'mere mortal' in many respects
858 ## Set nice level (-19 to 19, see 'man nice'),
859 ## and I/O limit (kilobytes per second; 0 == off)
860 ## to reduce load on host.
865 ## The version string to embed in file signature databases
867 # VersionString = NULL
869 ## Interval between time stamp messages
874 ## Interval between file checks
876 # SetFileCheckTime = 600
877 SetFileCheckTime = 7200
879 ## Alternative: crontab-like schedule
881 # FileCheckScheduleOne = NULL
883 ## Alternative: crontab-like schedule(2)
885 # FileCheckScheduleTwo = NULL
887 ## Report only once on modified fles
888 ## Setting this to 'FALSE' will generate a report for any policy
889 ## violation (old and new ones) each time the daemon checks the file system.
891 # ReportOnlyOnce = True
893 ## Report in full detail
895 # ReportFullDetail = False
897 ## Report file timestamps in local time rather than GMT
901 ## The console device (can also be a file or named pipe)
902 ## - There are two console devices. Accordingly, you can use
903 ## this directive a second time to set the second console device.
904 ## If you have not defined the second device at compile time,
905 ## and you don't want to use it, then:
906 ## setting it to /dev/null is less effective than just leaving
907 ## it alone (setting to /dev/null will waste time by opening
908 ## /dev/null and writing to it)
910 # SetConsole = /dev/console
912 ## Activate the SysV IPC message queue
914 # MessageQueueActive = False
917 ## If false, skip reverse lookup when connecting to a host known
918 ## by name rather than IP address (i.e. trust the DNS)
920 # SetReverseLookup = True
924 # Only highest-level (alert) reports will be mailed immediately,
925 # others will be queued. Here you can define, when the queue will
926 # be flushed (Note: the queue is automatically flushed after
927 # completing a file check).
931 ## Maximum number of mails to queue
935 ## Recipient (max. 8)
937 SetMailAddress=samhain-reports@<%= fqdn -%>
939 SetMailRelay = localhost
941 ## Custom subject format
943 MailSubject = [Samhain at %H] %T: %S
945 ## --- end E-Mail ---
947 ## Path to the prelink executable
949 # SetPrelinkPath = /usr/sbin/prelink
951 ## TIGER192 checksum of the prelink executable
953 # SetPrelinkChecksum = (no default)
956 ## Path to the executable. If set, will be checksummed after startup
959 # SamhainPath = (no default)
962 ## The IP address of the log server
964 # SetLogServer = (default: compiled-in)
966 ## The IP address of the time server
968 # SetTimeServer = (default: compiled-in)
970 ## Trusted Users (comma delimited list of user names)
972 # TrustedUser = (no default; this adds to the compiled-in list)
974 ## Path to the file signature database
976 # SetDatabasePath = (default: compiled-in)
978 ## Path to the log file
980 # SetLogfilePath = (default: compiled-in)
982 ## Path to the PID file
984 # SetLockPath = (default: compiled-in)
987 ## The digest/checksum/hash algorithm
989 # DigestAlgo = TIGER192
992 ## Custom format for message header.
993 ## CAREFUL if you use XML logfile format.
1002 # MessageHeader="%S %T "
1005 ## Don't log path to config/database file on startup
1009 ## The syslog facility, if you log to syslog
1011 # SyslogFacility = LOG_AUTHPRIV
1012 SyslogFacility=LOG_LOCAL2
1014 ## The message authentication method
1015 ## - If you change this, you *must* change it
1016 ## on client *and* server
1018 # MACType = HMAC-TIGER
1021 ## everything below is ignored
1024 #####################################################################
1025 # This would be the proper syntax for parts that should only be
1026 # included for certain hosts.
1027 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
1028 # result still has the proper syntax for the config file.
1029 # You may have any number of @HOSTNAME/@end brackets.
1030 # HOSTNAME should be the fully qualified 'official' name
1031 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
1032 # No IP number - except if samhain cannot determine the
1033 # fully qualified hostname.
1039 # These are two examples for conditional inclusion/exclusion
1040 # of a machine based on the output from 'uname -srm'
1045 # !$Linux:2.*.7:i686
1049 #####################################################################