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
71 IgnoreMissing=/var/lib/puppet/clientbucket/.*
75 ## for these files, only changes in permissions and ownership are checked
78 file=/etc/ssh_random_seed
80 file=/etc/bacula/bacula-fd.conf
83 file=/etc/passwd.backup
84 file=/etc/shadow.backup
85 file=/etc/postfix/prng_exch
89 file=/etc/lvm/cache/.cache
90 file=/etc/network/run/ifstate
91 file=/var/state/samhain/samhain_file
92 file=/etc/bind/zones/db.debian.net
94 file=/etc/fake-hwclock.data
95 <% if classes.include?("named::geodns") -%>
97 file=/etc/bind/named.conf.acl
98 file=/etc/bind/named.conf.local
99 file=/etc/bind/geodns/named.conf.geo
100 file=/etc/bind/geodns/recvconf.files
102 <% if classes.include?("named") -%>
103 file=/etc/bind/named.conf.options
105 file=/etc/apache2/conf.d/puppet-builddlist
106 <% if classes.include?("roles::static_mirror_web") -%>
107 file=/etc/apache2/sites-available/static-vhosts-simple
108 <% elsif classes.include?("staticsync::static_master") -%>
109 file=/etc/static-clients.conf
111 <% if classes.include?("apache2") -%>
112 file=/etc/apache2/conf-available/puppet-ssl-key-pins.conf
114 file=/etc/multipath/wwids
115 <%- if has_variable?("bgpd") && @bgpd -%>
116 file=/etc/quagga/bgpd.conf
118 <%- if has_variable?("zebra") && @zebra -%>
119 file=/etc/quagga/zebra.conf
123 # There are files in /etc that might change, thus changing the directory
124 # timestamps. Put it here as 'file', and in the ReadOnly section as 'dir'.
128 file=/etc/network/run
130 file=/etc/spamassassin/sa-update-keys
131 file=/etc/init.d/.depend.boot
132 file=/etc/init.d/.depend.start
133 file=/etc/init.d/.depend.stop
135 # These are the directories for the files we handle with puppet
136 <% if classes.include?("apache2") -%>
137 file=/etc/apache2/conf-available
138 files=/etc/apache2/mods-enabled
139 files=/etc/apache2/sites-available
144 file=/etc/munin/plugins
145 file=/etc/munin/plugin-conf.d
146 file=/etc/munin/munin-conf.d
149 file=/etc/exim4/conf.d
151 file=/etc/apt/apt.conf.d
152 file=/etc/apt/sources.list.d
153 file=/etc/apt/preferences.d
155 file=/etc/logrotate.d
157 file=/etc/nagios/nrpe.d
158 file=/etc/nagios/obsolete-packages-ignore.d
159 file=/etc/bind/geodns
160 <% if scope.function_has_role(['nagiosmaster']) -%>
161 file=/etc/nagios3/puppetconf.d
165 file=/etc/cron.weekly
166 file=/usr/lib/nagios/plugins
169 file=/etc/monit/monit.d
171 file=/etc/schroot/default
172 file=/etc/schroot/dsa
173 file=/etc/schroot/dsa/default-mirror
174 file=/etc/schroot/setup.d
179 file=/etc/ferm/conf.d
185 <% if classes.include?('roles::buildd_master') -%>
186 file=/etc/ssh/userkeys/wb-buildd.more
189 <%- if @hostname == "sibelius" then -%>
191 file=/etc/tsm/TSM.PWD
193 file=/etc/ssl/private
198 ## for these files, changes in signature, timestamps, and size are ignored
202 # is on tmpfs, ignore.
206 #####################################################################
208 # This would be the proper syntax for parts that should only be
209 # included for certain hosts.
210 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
211 # result still has the proper syntax for the config file.
212 # You may have any number of @HOSTNAME/@end brackets.
213 # HOSTNAME should be the fully qualified 'official' name
214 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
215 # No IP number - except if samhain cannot determine the
216 # fully qualified hostname.
222 # These are two examples for conditional inclusion/exclusion
223 # of a machine based on the output from 'uname -srm'
233 #####################################################################
237 ## for these files, changes in signature, timestamps, and increase in size
241 file=/var/log/messages
243 file=/var/log/faillog
244 file=/var/log/auth.log
245 file=/var/log/daemon.log
246 file=/var/log/user.log
247 file=/var/log/kern.log
254 ## for these files, no modifications are reported
256 ## This file might be created or removed by the system sometimes.
258 file=/etc/resolv.conf
259 <% if classes.include?('roles::buildd') -%>
260 file=/etc/dupload.conf
261 file=/etc/buildd/buildd.conf
262 file=/etc/sbuild/sbuild.conf
264 file=/etc/resolv.conf.pcmcia.save
266 file=/etc/postfix/debian.db
267 file=/etc/postfix/debian
268 file=/etc/ssh/ssh_known_hosts
269 file=/etc/ssh/ssh-rsa-shadow
270 file=/var/lib/misc/ssh-rsa-shadow
271 file=/etc/.da-backup.trace
272 file=/etc/postfix/debianhosts
273 file=/etc/postfix/debianhosts.db
275 file=/etc/blkid.tab.old
276 file=/etc/resolv.conf.dhclient-new
278 # We handle these files with puppet - please to not be bothering us
279 file=/etc/dsa/pubsub.conf
280 file=/etc/nsswitch.conf
283 file=/etc/update-motd.d/
284 file=/etc/update-motd.d/puppet-motd
286 file=/etc/samhain/samhainrc
287 file=/etc/munin/munin-node.conf
288 file=/etc/munin/plugin-conf.d/munin-node
289 dir=2/etc/munin/munin-conf.d
290 file=/etc/userdir-ldap.confc
291 file=/etc/exim4/blacklist
292 file=/etc/exim4/host_blacklist
293 file=/etc/exim4/callout_users
294 file=/etc/exim4/exim4.conf
295 file=/etc/exim4/grey_users
296 file=/etc/exim4/helo-check
297 file=/etc/exim4/locals
298 file=/etc/exim4/localusers
299 file=/etc/exim4/manualroute
300 file=/etc/exim4/rbllist
301 file=/etc/exim4/rhsbllist
302 file=/etc/exim4/submission-domains
303 file=/etc/exim4/virtualdomains
304 file=/etc/exim4/email-virtualdomains
305 file=/etc/exim4/whitelist
306 file=/etc/exim4/local-settings.conf
307 file=/etc/exim4/ssl/ca.crt
308 file=/etc/exim4/ssl/ca.crl
309 file=/etc/exim4/ssl/thishost.crt
310 file=/etc/exim4/ssl/thishost.key
311 dir=3/etc/exim4/email-virtualdomains
312 file=/etc/ssh/ssh_config
313 file=/etc/ssh/sshd_config
314 file=/etc/dsa/cron.ignore.puppet-crontab
315 file=/etc/vsftpd.conf
317 file=/etc/multipath.conf
318 file=/etc/static-components.conf
319 file=/etc/rabbitmq/rabbitmq.config
320 file=/etc/rabbitmq/enabled_plugins
321 dir=/etc/bacula/storages-list.d
322 dir=/etc/bacula/storage-conf.d
323 dir=/etc/bacula/conf.d
326 if scope.lookupvar('deprecated::nodeinfo')['heavy_exim']
328 file=/etc/exim4/surbl_whitelist.txt
329 file=/etc/exim4/exim_surbl.pl
330 file=/etc/exim4/ccTLD.txt
331 file=/etc/clamav-unofficial-sigs.conf
332 file=/etc/clamav-unofficial-sigs.dsa.conf
337 file=/etc/munin/plugins/bind
338 file=/etc/munin/plugins/bind_views
339 file=/etc/munin/plugins/cpu
340 file=/etc/munin/plugins/df
341 file=/etc/munin/plugins/df_abs
342 file=/etc/munin/plugins/df_inode
343 file=/etc/munin/plugins/entropy
344 file=/etc/munin/plugins/forks
345 file=/etc/munin/plugins/interrupts
346 file=/etc/munin/plugins/iostat
347 file=/etc/munin/plugins/irqstats
348 file=/etc/munin/plugins/load
349 file=/etc/munin/plugins/memory
350 file=/etc/munin/plugins/ntp_offset
351 file=/etc/munin/plugins/ntp_states
352 file=/etc/munin/plugins/open_files
353 file=/etc/munin/plugins/open_inodes
354 file=/etc/munin/plugins/processes
355 file=/etc/munin/plugins/ps_apache2
356 file=/etc/munin/plugins/ps_exim4
357 file=/etc/munin/plugins/ps_vsftpd
358 file=/etc/munin/plugins/spamassassin
359 file=/etc/munin/plugins/swap
360 file=/etc/munin/plugins/uptime
361 file=/etc/munin/plugins/vmstat
362 file=/etc/munin/plugins/vfstpd
363 file=/etc/munin/plugins/apache_accesses
364 file=/etc/munin/plugins/apache_processes
365 file=/etc/munin/plugins/apache_volume
366 file=/etc/munin/plugins/apache_servers
367 file=/etc/munin/plugins/exim_mailqueue
368 file=/etc/munin/plugins/exim_mailstats
369 file=/etc/munin/plugins/postfix_mailqueue
370 file=/etc/munin/plugins/postfix_mailvolume
371 file=/etc/apache2/conf.d/resource-limits
372 file=/etc/apache2/mods-enabled/info.conf
373 file=/etc/apache2/mods-enabled/info.load
374 file=/etc/apache2/mods-enabled/server.conf
375 file=/etc/apache2/mods-enabled/server.load
376 file=/etc/apache2/conf.d/server-status
377 file=/etc/apache2/conf.d/local-serverinfo
378 file=/etc/apache2/sites-available/www.debian.org
379 file=/etc/apt/preferences
380 file=/etc/apt/sources.list.d/volatile.list
381 file=/etc/apt/sources.list.d/security.list
382 file=/etc/apt/sources.list.d/geoip.list
383 file=/etc/apt/sources.list.d/backports.debian.org.list
384 file=/etc/apt/sources.list.d/debian.org.list
385 file=/etc/apt/sources.list.d/db.debian.org.list
386 file=/etc/apt/sources.list.d/db.debian.org.restricted.list
387 file=/etc/apt/sources.list.d/debian.list
388 file=/etc/apt/sources.list.d/backports.org.list
389 file=/etc/apt/apt.conf.d/local-compression
390 file=/etc/apt/apt.conf.d/local-recommends
391 file=/etc/apt/apt.conf.d/local-pdiffs
392 file=/etc/apt/apt.conf.d/local-ssl-ca-global
393 file=/etc/apt/preferences.d/buildd
394 file=/etc/puppet/puppet.conf
395 file=/etc/default/puppet
396 file=/etc/default/postgrey
397 file=/etc/default/syslog-ng
398 file=/etc/logrotate.d/exim4-paniclog
399 file=/etc/logrotate.d/exim4-base
400 file=/etc/logrotate.d/syslog-ng
401 file=/etc/syslog-ng/syslog-ng.conf
402 file=/usr/sbin/dsa-update-apt-status
403 file=/usr/sbin/dsa-update-samhain-status
404 file=/etc/nagios/nrpe.d/nrpe_dsa.cfg
405 file=/etc/nagios/nrpe.d/debianorg.cfg
406 file=/etc/nagios/obsolete-packages-ignore
407 file=/etc/nagios/obsolete-packages-ignore.d/hostspecific
408 file=/etc/nagios/check-libs.conf
409 file=/usr/lib/nagios/plugins/dsa-check-packages
410 file=/usr/lib/nagios/plugins/dsa-check-soas
411 file=/usr/lib/nagios/plugins/dsa-check-mirrorsync
412 file=/usr/lib/nagios/plugins/dsa-check-samhain
413 file=/usr/lib/nagios/plugins/dsa-check-statusfile
414 file=/usr/lib/nagios/plugins/dsa-check-dabackup-server
415 file=/usr/lib/nagios/plugins/dsa-check-config
416 file=/usr/lib/nagios/plugins/dsa-check-hpacucli
417 file=/usr/lib/nagios/plugins/dsa-check-raid-mpt
418 file=/usr/lib/nagios/plugins/dsa-check-puppet
419 file=/usr/lib/nagios/plugins/dsa-check-running-kernel
420 file=/usr/lib/nagios/plugins/dsa-check-raid-3ware
421 file=/usr/lib/nagios/plugins/dsa-check-dabackup
422 file=/usr/lib/nagios/plugins/dsa-check-raid-dac960
423 file=/usr/lib/nagios/plugins/dsa-check-udldap-freshness
424 file=/usr/lib/nagios/plugins/dsa-check-raid-areca
425 file=/usr/lib/nagios/plugins/dsa-check-raid-sw
426 file=/usr/lib/nagios/plugins/dsa-update-samhain-status
428 file=/etc/stunnel/puppet-ekeyd-peer.pem
429 file=/etc/stunnel/puppet-ekeyd.conf
431 file=/etc/monit/monitrc
432 file=/etc/monit/monit.d/01puppet
433 file=/etc/monit/monit.d/00debian.org
434 file=/etc/cron.d/puppet-crontab
435 file=/etc/cron.weekly/stunnel-ekey-restart
436 file=/etc/default/schroot
437 file=/etc/schroot/default/nssdatabases
438 file=/etc/schroot/setup.d/99builddsourceslist
439 file=/etc/schroot/setup.d/99porterbox-extra-sources
440 file=/etc/schroot/setup.d/99porterbox-extra-apt-options
441 file=/etc/openvswitch/conf.db
443 <% if scope.function_has_role(['nagiosmaster']) -%>
444 file=/etc/nagios3/puppetconf.d/auto-hostgroups.cfg
445 file=/etc/nagios3/puppetconf.d/auto-hosts.cfg
446 file=/etc/nagios3/puppetconf.d/auto-services.cfg
447 file=/etc/nagios3/puppetconf.d/auto-dependencies.cfg
448 file=/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg
449 file=/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg
450 file=/etc/nagios3/puppetconf.d/auto-servicegroups.cfg
451 file=/etc/nagios3/puppetconf.d/contacts.cfg
453 <% if scope.function_has_role(['muninmaster']) -%>
454 file=/etc/munin/munin.conf
456 <% if classes.include?('roles::puppetmaster') -%>
459 <% if classes.include?('named::geodns') -%>
460 dir=1/etc/bind/geodns
462 <% if classes.include?('named::authoritative') -%>
464 file=/etc/bind/named.conf.debian-zones
466 dir=3/etc/lvm/archive
469 dir=1/etc/ferm/conf.d
471 file=/etc/ferm/conf.d/me.conf
472 file=/etc/ferm/conf.d/defs.conf
473 file=/etc/ferm/ferm.conf
477 dir=1/etc/ssl/ca-debian
478 dir=1/etc/ssl/ca-global
479 file=/etc/ca-certificates.conf
480 file=/etc/ca-certificates-debian.conf
481 file=/etc/ca-certificates-global.conf
482 file=/etc/ssl/private/ssl-cert-snakeoil.key
483 file=/etc/unbound/unbound.conf
484 <% if scope.lookupvar('::fqdn') == "draghi.debian.org" -%>
485 file=/etc/openvpn/deb-mgmt-clients.pool
487 file=/etc/rsyncd/debian.secrets
490 <% if classes.include?('roles::puppetmaster') -%>
492 # Damn you rails apps and your shoddy packaging
493 file=/usr/share/puppet-dashboard/public/stylesheets
494 file=/usr/share/puppet-dashboard/public/javascripts
495 file=/usr/share/puppet-dashboard/public/stylesheets/all.css
496 file=/usr/share/puppet-dashboard/public/javascripts/all.js
497 dir=1/usr/share/puppet-dashboard/tmp/pids
500 file=/etc/ssl/private/*.key-certchain
501 dir=10/var/lib/puppet/clientbucket
505 ## for these files, all modifications (even access time) are reported
506 ## - you may create some interesting-looking file (like /etc/safe_passwd),
507 ## just to watch whether someone will access it ...
512 ## Use for prelinked files or directories holding them
518 ## for these files, only access time is ignored
521 <%- if has_variable?("merged_usr") && @merged_usr -%>
528 # SuSE (old) has the boot init scripts in /sbin/init.d/*,
529 # so we go 3 levels deep
531 <%- if has_variable?("merged_usr") && @merged_usr -%>
542 # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*,
543 # so we go 3 levels deep there too
547 # Various directories / files that may include / be SUID/SGID binaries
550 file=/usr/lib/pt_chown
551 # X11, in Debian X7 this is now a symlink
553 #dir=/usr/X11R6/lib/X11/xmcd/bin
555 #file=/usr/lib/apache/suexec
556 #file=/usr/lib/apache/suexec.disabled
563 ## User0 and User1 are sections for files/dirs with user-definable checking
569 ## Here you can assign severities to policy violations.
570 ## If this severity exceeds the treshold of a log facility (see below),
571 ## a policy violation will be logged to that facility.
573 ## Severity for verification failures.
575 # SeverityReadOnly=crit
576 # SeverityLogFiles=crit
577 # SeverityGrowingLogs=crit
578 # SeverityIgnoreNone=crit
579 # SeverityAttributes=crit
584 SeverityReadOnly=crit
585 SeverityLogFiles=crit
586 SeverityGrowingLogs=warn
587 SeverityIgnoreNone=crit
588 SeverityAttributes=crit
592 ## We have a file in IgnoreAll that might or might not be present.
593 ## Setting the severity to 'info' prevents messages about deleted/new file.
595 # SeverityIgnoreAll=crit
596 SeverityIgnoreAll=info
598 ## Files : file access problems
601 ## Dirs : directory access problems
604 ## Names : suspect (non-printable) characters in a pathname
615 ## Switch on/OFF log facilities and set their threshold severity
617 ## Values: debug, info, notice, warn, mark, err, crit, alert, none.
618 ## 'mark' is used for timestamps.
621 ## Use 'none' to SWITCH OFF a log facility
623 ## By default, everything equal to and above the threshold is logged.
624 ## The specifiers '*', '!', and '=' are interpreted as
625 ## 'all', 'all but', and 'only', respectively (like syslogd(8) does,
626 ## at least on Linux). Examples:
628 ## MailSeverity=!warn
629 ## MailSeverity==crit
645 # SyslogSeverity=none
647 ## Remote server (yule)
649 # ExportSeverity=none
651 ## External script or program
653 # ExternalSeverity = none
655 ## Logging to a database
657 # DatabaseSeverity = none
670 #####################################################
674 #####################################################
678 ## --- Check the filesystem for SUID/SGID binaries
685 ## Interval for check (seconds)
687 # SuidCheckInterval = 7200
689 ## Alternative: crontab-like schedule
691 # SuidCheckSchedule = NULL
693 ## Directory to exclude
695 # SuidCheckExclude = NULL
697 ## Limit on files per second (0 == no limit)
701 ## Alternative: yield after every file
703 # SuidCheckYield = no
705 ## Severity of a detection
707 # SeveritySuidCheck = crit
709 ## Quarantine SUID/SGID files if found
711 # SuidCheckQuarantineFiles = yes
713 ## Method for Quarantining files:
714 # 0 - Delete or truncate the file.
715 # 1 - Remove SUID/SGID permissions from file.
716 # 2 - Move SUID/SGID file to quarantine dir.
718 # SuidCheckQuarantineMethod = 0
720 ## For method 1 and 3, really delete instead of truncating
722 # SuidCheckQuarantineDelete = yes
726 ## --- Check for loadable kernel module rootkits (Linux/FreeBSD only)
731 #KernelCheckActive = True
733 ## Check interval (seconds); btw., the check is VERY fast
735 # KernelCheckInterval = 300
739 # SeverityKernel = crit
744 ## --- Logging of login/logout events
749 # LoginCheckActive = True
751 ## Severity for logins, multiple logins, logouts
754 # SeverityLoginMulti=warn
755 # SeverityLogout=info
757 ## Interval for login/logout checks
759 # LoginCheckInterval = 300
764 ## --- Logging to a relational database
769 # SetDBName = samhain
777 # SetDBUser = samhain
781 # SetDBPassword = (default: none)
785 # SetDBHost = localhost
787 ## Log the server timestamp for received messages
789 # SetDBServerTstamp = True
791 ## Use a persistent connection
793 # UsePersistent = True
797 ## Interface to call external scripts/programs for logging
800 ## The absolute path to the command
801 ## - Each invocation of this directive will end the definition of the
802 ## preceding command, and start the definition of
803 ## an additional, new command
805 # OpenCommand = (no default)
808 ## - log for log messages, srv for messages received by the server
812 ## The command (full command line) to execute
814 # SetCommandLine = (no default)
816 ## The environment (KEY=value; repeat for more)
818 # SetEnviron = TZ=(your timezone)
820 ## The TIGER192 checksum (optional)
822 # SetChecksum = (no default)
824 ## User who runs the command
826 # SetCredentials = (default: samhain process uid)
828 ## Words not allowed in message
830 # SetFilterNot = (none)
832 ## Words required (ALL of them)
834 # SetFilterAnd = (none)
836 ## Words required (at least one)
838 # SetFilterOr = (none)
840 ## Deadtime between consecutive calls
844 ## Add default environment (HOME, PATH, SHELL)
848 <% if scope.call_function('versioncmp', [@lsbmajdistrelease, '9']) >= 0 -%>
854 #####################################################
856 # Miscellaneous configuration options
858 #####################################################
862 ## whether to become a daemon process
863 ## (this is not honoured on database initialisation)
868 ## whether to test signature of files (init/check/none)
869 ## - if 'none', then we have to decide this on the command line -
871 # ChecksumTest = none
874 ## whether to drop linux capabilities that are not required
875 ## - will make a root process a 'mere mortal' in many respects
879 ## Set nice level (-19 to 19, see 'man nice'),
880 ## and I/O limit (kilobytes per second; 0 == off)
881 ## to reduce load on host.
886 ## The version string to embed in file signature databases
888 # VersionString = NULL
890 ## Interval between time stamp messages
895 ## Interval between file checks
897 # SetFileCheckTime = 600
898 SetFileCheckTime = 7200
900 ## Alternative: crontab-like schedule
902 # FileCheckScheduleOne = NULL
904 ## Alternative: crontab-like schedule(2)
906 # FileCheckScheduleTwo = NULL
908 ## Report only once on modified fles
909 ## Setting this to 'FALSE' will generate a report for any policy
910 ## violation (old and new ones) each time the daemon checks the file system.
912 # ReportOnlyOnce = True
914 ## Report in full detail
916 # ReportFullDetail = False
918 ## Report file timestamps in local time rather than GMT
922 ## The console device (can also be a file or named pipe)
923 ## - There are two console devices. Accordingly, you can use
924 ## this directive a second time to set the second console device.
925 ## If you have not defined the second device at compile time,
926 ## and you don't want to use it, then:
927 ## setting it to /dev/null is less effective than just leaving
928 ## it alone (setting to /dev/null will waste time by opening
929 ## /dev/null and writing to it)
931 # SetConsole = /dev/console
933 ## Activate the SysV IPC message queue
935 # MessageQueueActive = False
938 ## If false, skip reverse lookup when connecting to a host known
939 ## by name rather than IP address (i.e. trust the DNS)
941 # SetReverseLookup = True
945 # Only highest-level (alert) reports will be mailed immediately,
946 # others will be queued. Here you can define, when the queue will
947 # be flushed (Note: the queue is automatically flushed after
948 # completing a file check).
952 ## Maximum number of mails to queue
956 ## Recipient (max. 8)
958 SetMailAddress=samhain-reports@<%= @fqdn -%>
960 SetMailRelay = localhost
962 ## Custom subject format
964 MailSubject = [Samhain at %H] %T: %S
966 ## --- end E-Mail ---
968 ## Path to the prelink executable
970 # SetPrelinkPath = /usr/sbin/prelink
972 ## TIGER192 checksum of the prelink executable
974 # SetPrelinkChecksum = (no default)
977 ## Path to the executable. If set, will be checksummed after startup
980 # SamhainPath = (no default)
983 ## The IP address of the log server
985 # SetLogServer = (default: compiled-in)
987 ## The IP address of the time server
989 # SetTimeServer = (default: compiled-in)
991 ## Trusted Users (comma delimited list of user names)
993 # TrustedUser = (no default; this adds to the compiled-in list)
995 ## Path to the file signature database
997 # SetDatabasePath = (default: compiled-in)
999 ## Path to the log file
1001 # SetLogfilePath = (default: compiled-in)
1003 ## Path to the PID file
1005 # SetLockPath = (default: compiled-in)
1008 ## The digest/checksum/hash algorithm
1010 # DigestAlgo = TIGER192
1013 ## Custom format for message header.
1014 ## CAREFUL if you use XML logfile format.
1023 # MessageHeader="%S %T "
1026 ## Don't log path to config/database file on startup
1030 ## The syslog facility, if you log to syslog
1032 # SyslogFacility = LOG_AUTHPRIV
1033 SyslogFacility=LOG_LOCAL2
1035 ## The message authentication method
1036 ## - If you change this, you *must* change it
1037 ## on client *and* server
1039 # MACType = HMAC-TIGER
1042 ## everything below is ignored
1045 #####################################################################
1046 # This would be the proper syntax for parts that should only be
1047 # included for certain hosts.
1048 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
1049 # result still has the proper syntax for the config file.
1050 # You may have any number of @HOSTNAME/@end brackets.
1051 # HOSTNAME should be the fully qualified 'official' name
1052 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
1053 # No IP number - except if samhain cannot determine the
1054 # fully qualified hostname.
1060 # These are two examples for conditional inclusion/exclusion
1061 # of a machine based on the output from 'uname -srm'
1066 # !$Linux:2.*.7:i686
1070 #####################################################################