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") -%>
107 file=/etc/apache2/sites-available/static-vhosts-simple
108 file=/etc/static-clients.conf
109 <% elsif classes.include?("roles::static_master") -%>
110 file=/etc/static-clients.conf
111 <% elsif classes.include?("roles::static_source") -%>
112 file=/etc/static-clients.conf
114 <% if classes.include?("apache2") -%>
115 file=/etc/apache2/conf-available/puppet-ssl-key-pins.conf
117 file=/etc/multipath/wwids
118 <%- if has_variable?("bgpd") && @bgpd -%>
119 file=/etc/quagga/bgpd.conf
121 <%- if has_variable?("zebra") && @zebra -%>
122 file=/etc/quagga/zebra.conf
126 # There are files in /etc that might change, thus changing the directory
127 # timestamps. Put it here as 'file', and in the ReadOnly section as 'dir'.
131 file=/etc/network/run
133 file=/etc/spamassassin/sa-update-keys
134 file=/etc/init.d/.depend.boot
135 file=/etc/init.d/.depend.start
136 file=/etc/init.d/.depend.stop
138 # These are the directories for the files we handle with puppet
139 <% if classes.include?("apache2") -%>
140 file=/etc/apache2/conf-available
141 files=/etc/apache2/mods-enabled
142 files=/etc/apache2/sites-available
147 file=/etc/munin/plugins
148 file=/etc/munin/plugin-conf.d
149 file=/etc/munin/munin-conf.d
152 file=/etc/exim4/conf.d
154 file=/etc/apt/apt.conf.d
155 file=/etc/apt/sources.list.d
156 file=/etc/apt/preferences.d
158 file=/etc/logrotate.d
160 file=/etc/nagios/nrpe.d
161 file=/etc/nagios/obsolete-packages-ignore.d
162 file=/etc/bind/geodns
163 <% if scope.function_has_role(['nagiosmaster']) -%>
164 file=/etc/nagios3/puppetconf.d
168 file=/etc/cron.weekly
169 file=/usr/lib/nagios/plugins
172 file=/etc/monit/monit.d
174 file=/etc/schroot/default
175 file=/etc/schroot/dsa
176 file=/etc/schroot/dsa/default-mirror
177 file=/etc/schroot/setup.d
182 file=/etc/ferm/conf.d
188 <% if scope.function_has_role(['static_mirror']) or scope.function_has_role(['static_source']) or scope.function_has_role(['static_master']) -%>
189 file=/etc/ssh/userkeys
190 file=/etc/ssh/userkeys/staticsync
192 <% if scope.function_has_role(['ssh.upload.d.o']) -%>
193 file=/etc/ssh/userkeys/buildd-uploader
195 <% if classes.include?('roles::buildd_master') -%>
196 file=/etc/ssh/userkeys/wb-buildd.more
199 <%- if @hostname == "sibelius" then -%>
201 file=/etc/tsm/TSM.PWD
203 file=/etc/ssl/private
208 ## for these files, changes in signature, timestamps, and size are ignored
212 # is on tmpfs, ignore.
216 #####################################################################
218 # This would be the proper syntax for parts that should only be
219 # included for certain hosts.
220 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
221 # result still has the proper syntax for the config file.
222 # You may have any number of @HOSTNAME/@end brackets.
223 # HOSTNAME should be the fully qualified 'official' name
224 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
225 # No IP number - except if samhain cannot determine the
226 # fully qualified hostname.
232 # These are two examples for conditional inclusion/exclusion
233 # of a machine based on the output from 'uname -srm'
243 #####################################################################
247 ## for these files, changes in signature, timestamps, and increase in size
251 file=/var/log/messages
253 file=/var/log/faillog
254 file=/var/log/auth.log
255 file=/var/log/daemon.log
256 file=/var/log/user.log
257 file=/var/log/kern.log
264 ## for these files, no modifications are reported
266 ## This file might be created or removed by the system sometimes.
268 file=/etc/resolv.conf
269 <% if classes.include?('roles::buildd') -%>
270 file=/etc/dupload.conf
271 file=/etc/buildd/buildd.conf
272 file=/etc/sbuild/sbuild.conf
274 file=/etc/resolv.conf.pcmcia.save
276 file=/etc/postfix/debian.db
277 file=/etc/postfix/debian
278 file=/etc/ssh/ssh_known_hosts
279 file=/etc/ssh/ssh-rsa-shadow
280 file=/var/lib/misc/ssh-rsa-shadow
281 file=/etc/.da-backup.trace
282 file=/etc/postfix/debianhosts
283 file=/etc/postfix/debianhosts.db
285 file=/etc/blkid.tab.old
286 file=/etc/resolv.conf.dhclient-new
288 # We handle these files with puppet - please to not be bothering us
289 file=/etc/dsa/pubsub.conf
290 file=/etc/nsswitch.conf
293 file=/etc/update-motd.d/
294 file=/etc/update-motd.d/puppet-motd
296 file=/etc/samhain/samhainrc
297 file=/etc/munin/munin-node.conf
298 file=/etc/munin/plugin-conf.d/munin-node
299 dir=2/etc/munin/munin-conf.d
300 file=/etc/userdir-ldap.confc
301 file=/etc/exim4/blacklist
302 file=/etc/exim4/host_blacklist
303 file=/etc/exim4/callout_users
304 file=/etc/exim4/exim4.conf
305 file=/etc/exim4/grey_users
306 file=/etc/exim4/helo-check
307 file=/etc/exim4/locals
308 file=/etc/exim4/localusers
309 file=/etc/exim4/manualroute
310 file=/etc/exim4/rbllist
311 file=/etc/exim4/rhsbllist
312 file=/etc/exim4/submission-domains
313 file=/etc/exim4/virtualdomains
314 file=/etc/exim4/email-virtualdomains
315 file=/etc/exim4/whitelist
316 file=/etc/exim4/local-settings.conf
317 file=/etc/exim4/ssl/ca.crt
318 file=/etc/exim4/ssl/ca.crl
319 file=/etc/exim4/ssl/thishost.crt
320 file=/etc/exim4/ssl/thishost.key
321 dir=3/etc/exim4/email-virtualdomains
322 file=/etc/ssh/ssh_config
323 file=/etc/ssh/sshd_config
324 file=/etc/dsa/cron.ignore.dsa-puppet-stuff
325 file=/etc/vsftpd.conf
327 file=/etc/multipath.conf
328 file=/etc/static-components.conf
329 file=/etc/rabbitmq/rabbitmq.config
330 file=/etc/rabbitmq/enabled_plugins
331 dir=/etc/bacula/storages-list.d
332 dir=/etc/bacula/storage-conf.d
333 dir=/etc/bacula/conf.d
336 if scope.lookupvar('site::nodeinfo')['heavy_exim']
338 file=/etc/exim4/surbl_whitelist.txt
339 file=/etc/exim4/exim_surbl.pl
340 file=/etc/exim4/ccTLD.txt
341 file=/etc/clamav-unofficial-sigs.conf
342 file=/etc/clamav-unofficial-sigs.dsa.conf
347 file=/etc/munin/plugins/bind
348 file=/etc/munin/plugins/bind_views
349 file=/etc/munin/plugins/cpu
350 file=/etc/munin/plugins/df
351 file=/etc/munin/plugins/df_abs
352 file=/etc/munin/plugins/df_inode
353 file=/etc/munin/plugins/entropy
354 file=/etc/munin/plugins/forks
355 file=/etc/munin/plugins/interrupts
356 file=/etc/munin/plugins/iostat
357 file=/etc/munin/plugins/irqstats
358 file=/etc/munin/plugins/load
359 file=/etc/munin/plugins/memory
360 file=/etc/munin/plugins/ntp_offset
361 file=/etc/munin/plugins/ntp_states
362 file=/etc/munin/plugins/open_files
363 file=/etc/munin/plugins/open_inodes
364 file=/etc/munin/plugins/processes
365 file=/etc/munin/plugins/ps_apache2
366 file=/etc/munin/plugins/ps_exim4
367 file=/etc/munin/plugins/ps_vsftpd
368 file=/etc/munin/plugins/spamassassin
369 file=/etc/munin/plugins/swap
370 file=/etc/munin/plugins/uptime
371 file=/etc/munin/plugins/vmstat
372 file=/etc/munin/plugins/vfstpd
373 file=/etc/munin/plugins/apache_accesses
374 file=/etc/munin/plugins/apache_processes
375 file=/etc/munin/plugins/apache_volume
376 file=/etc/munin/plugins/apache_servers
377 file=/etc/munin/plugins/exim_mailqueue
378 file=/etc/munin/plugins/exim_mailstats
379 file=/etc/munin/plugins/postfix_mailqueue
380 file=/etc/munin/plugins/postfix_mailvolume
381 file=/etc/apache2/conf.d/resource-limits
382 file=/etc/apache2/mods-enabled/info.conf
383 file=/etc/apache2/mods-enabled/info.load
384 file=/etc/apache2/mods-enabled/server.conf
385 file=/etc/apache2/mods-enabled/server.load
386 file=/etc/apache2/conf.d/server-status
387 file=/etc/apache2/conf.d/local-serverinfo
388 file=/etc/apache2/sites-available/www.debian.org
389 file=/etc/apt/preferences
390 file=/etc/apt/sources.list.d/volatile.list
391 file=/etc/apt/sources.list.d/security.list
392 file=/etc/apt/sources.list.d/geoip.list
393 file=/etc/apt/sources.list.d/backports.debian.org.list
394 file=/etc/apt/sources.list.d/debian.org.list
395 file=/etc/apt/sources.list.d/db.debian.org.list
396 file=/etc/apt/sources.list.d/db.debian.org.restricted.list
397 file=/etc/apt/sources.list.d/debian.list
398 file=/etc/apt/sources.list.d/backports.org.list
399 file=/etc/apt/apt.conf.d/local-compression
400 file=/etc/apt/apt.conf.d/local-recommends
401 file=/etc/apt/apt.conf.d/local-pdiffs
402 file=/etc/apt/apt.conf.d/local-ssl-ca-global
403 file=/etc/apt/preferences.d/buildd
404 file=/etc/puppet/puppet.conf
405 file=/etc/default/puppet
406 file=/etc/default/postgrey
407 file=/etc/default/syslog-ng
408 file=/etc/logrotate.d/exim4-paniclog
409 file=/etc/logrotate.d/exim4-base
410 file=/etc/logrotate.d/syslog-ng
411 file=/etc/syslog-ng/syslog-ng.conf
412 file=/usr/sbin/dsa-update-apt-status
413 file=/usr/sbin/dsa-update-samhain-status
414 file=/etc/nagios/nrpe.d/nrpe_dsa.cfg
415 file=/etc/nagios/nrpe.d/debianorg.cfg
416 file=/etc/nagios/obsolete-packages-ignore
417 file=/etc/nagios/obsolete-packages-ignore.d/hostspecific
418 file=/etc/nagios/check-libs.conf
419 file=/usr/lib/nagios/plugins/dsa-check-packages
420 file=/usr/lib/nagios/plugins/dsa-check-soas
421 file=/usr/lib/nagios/plugins/dsa-check-mirrorsync
422 file=/usr/lib/nagios/plugins/dsa-check-samhain
423 file=/usr/lib/nagios/plugins/dsa-check-statusfile
424 file=/usr/lib/nagios/plugins/dsa-check-dabackup-server
425 file=/usr/lib/nagios/plugins/dsa-check-config
426 file=/usr/lib/nagios/plugins/dsa-check-hpacucli
427 file=/usr/lib/nagios/plugins/dsa-check-raid-mpt
428 file=/usr/lib/nagios/plugins/dsa-check-puppet
429 file=/usr/lib/nagios/plugins/dsa-check-running-kernel
430 file=/usr/lib/nagios/plugins/dsa-check-raid-3ware
431 file=/usr/lib/nagios/plugins/dsa-check-dabackup
432 file=/usr/lib/nagios/plugins/dsa-check-raid-dac960
433 file=/usr/lib/nagios/plugins/dsa-check-udldap-freshness
434 file=/usr/lib/nagios/plugins/dsa-check-raid-areca
435 file=/usr/lib/nagios/plugins/dsa-check-raid-sw
436 file=/usr/lib/nagios/plugins/dsa-update-samhain-status
438 file=/etc/stunnel/puppet-ekeyd-peer.pem
439 file=/etc/stunnel/puppet-ekeyd.conf
441 file=/etc/monit/monitrc
442 file=/etc/monit/monit.d/01puppet
443 file=/etc/monit/monit.d/00debian.org
444 file=/etc/cron.d/dsa-puppet-stuff
445 file=/etc/cron.weekly/stunnel-ekey-restart
446 file=/etc/default/schroot
447 file=/etc/schroot/default/nssdatabases
448 file=/etc/schroot/setup.d/99builddsourceslist
449 file=/etc/schroot/setup.d/99porterbox-extra-sources
450 file=/etc/schroot/setup.d/99porterbox-extra-apt-options
451 file=/etc/openvswitch/conf.db
453 <% if scope.function_has_role(['nagiosmaster']) -%>
454 file=/etc/nagios3/puppetconf.d/auto-hostgroups.cfg
455 file=/etc/nagios3/puppetconf.d/auto-hosts.cfg
456 file=/etc/nagios3/puppetconf.d/auto-services.cfg
457 file=/etc/nagios3/puppetconf.d/auto-dependencies.cfg
458 file=/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg
459 file=/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg
460 file=/etc/nagios3/puppetconf.d/auto-servicegroups.cfg
461 file=/etc/nagios3/puppetconf.d/contacts.cfg
463 <% if scope.function_has_role(['muninmaster']) -%>
464 file=/etc/munin/munin.conf
466 <% if classes.include?('roles::puppetmaster') -%>
469 <% if classes.include?('named::geodns') -%>
470 dir=1/etc/bind/geodns
472 <% if classes.include?('named::authoritative') -%>
474 file=/etc/bind/named.conf.debian-zones
476 dir=3/etc/lvm/archive
479 dir=1/etc/ferm/conf.d
481 file=/etc/ferm/conf.d/me.conf
482 file=/etc/ferm/conf.d/defs.conf
483 file=/etc/ferm/ferm.conf
487 dir=1/etc/ssl/ca-debian
488 dir=1/etc/ssl/ca-global
489 file=/etc/ca-certificates.conf
490 file=/etc/ca-certificates-debian.conf
491 file=/etc/ca-certificates-global.conf
492 file=/etc/ssl/private/ssl-cert-snakeoil.key
493 file=/etc/unbound/unbound.conf
494 <% if scope.lookupvar('::fqdn') == "draghi.debian.org" -%>
495 file=/etc/openvpn/deb-mgmt-clients.pool
497 file=/etc/rsyncd/debian.secrets
500 <% if classes.include?('roles::puppetmaster') -%>
502 # Damn you rails apps and your shoddy packaging
503 file=/usr/share/puppet-dashboard/public/stylesheets
504 file=/usr/share/puppet-dashboard/public/javascripts
505 file=/usr/share/puppet-dashboard/public/stylesheets/all.css
506 file=/usr/share/puppet-dashboard/public/javascripts/all.js
507 dir=1/usr/share/puppet-dashboard/tmp/pids
510 file=/etc/ssl/private/*.key-certchain
511 dir=10/var/lib/puppet/clientbucket
515 ## for these files, all modifications (even access time) are reported
516 ## - you may create some interesting-looking file (like /etc/safe_passwd),
517 ## just to watch whether someone will access it ...
522 ## Use for prelinked files or directories holding them
528 ## for these files, only access time is ignored
531 <%- if has_variable?("merged_usr") && @merged_usr -%>
538 # SuSE (old) has the boot init scripts in /sbin/init.d/*,
539 # so we go 3 levels deep
541 <%- if has_variable?("merged_usr") && @merged_usr -%>
552 # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*,
553 # so we go 3 levels deep there too
557 # Various directories / files that may include / be SUID/SGID binaries
560 file=/usr/lib/pt_chown
561 # X11, in Debian X7 this is now a symlink
563 #dir=/usr/X11R6/lib/X11/xmcd/bin
565 #file=/usr/lib/apache/suexec
566 #file=/usr/lib/apache/suexec.disabled
573 ## User0 and User1 are sections for files/dirs with user-definable checking
579 ## Here you can assign severities to policy violations.
580 ## If this severity exceeds the treshold of a log facility (see below),
581 ## a policy violation will be logged to that facility.
583 ## Severity for verification failures.
585 # SeverityReadOnly=crit
586 # SeverityLogFiles=crit
587 # SeverityGrowingLogs=crit
588 # SeverityIgnoreNone=crit
589 # SeverityAttributes=crit
594 SeverityReadOnly=crit
595 SeverityLogFiles=crit
596 SeverityGrowingLogs=warn
597 SeverityIgnoreNone=crit
598 SeverityAttributes=crit
602 ## We have a file in IgnoreAll that might or might not be present.
603 ## Setting the severity to 'info' prevents messages about deleted/new file.
605 # SeverityIgnoreAll=crit
606 SeverityIgnoreAll=info
608 ## Files : file access problems
611 ## Dirs : directory access problems
614 ## Names : suspect (non-printable) characters in a pathname
625 ## Switch on/OFF log facilities and set their threshold severity
627 ## Values: debug, info, notice, warn, mark, err, crit, alert, none.
628 ## 'mark' is used for timestamps.
631 ## Use 'none' to SWITCH OFF a log facility
633 ## By default, everything equal to and above the threshold is logged.
634 ## The specifiers '*', '!', and '=' are interpreted as
635 ## 'all', 'all but', and 'only', respectively (like syslogd(8) does,
636 ## at least on Linux). Examples:
638 ## MailSeverity=!warn
639 ## MailSeverity==crit
655 # SyslogSeverity=none
657 ## Remote server (yule)
659 # ExportSeverity=none
661 ## External script or program
663 # ExternalSeverity = none
665 ## Logging to a database
667 # DatabaseSeverity = none
680 #####################################################
684 #####################################################
688 ## --- Check the filesystem for SUID/SGID binaries
695 ## Interval for check (seconds)
697 # SuidCheckInterval = 7200
699 ## Alternative: crontab-like schedule
701 # SuidCheckSchedule = NULL
703 ## Directory to exclude
705 # SuidCheckExclude = NULL
707 ## Limit on files per second (0 == no limit)
711 ## Alternative: yield after every file
713 # SuidCheckYield = no
715 ## Severity of a detection
717 # SeveritySuidCheck = crit
719 ## Quarantine SUID/SGID files if found
721 # SuidCheckQuarantineFiles = yes
723 ## Method for Quarantining files:
724 # 0 - Delete or truncate the file.
725 # 1 - Remove SUID/SGID permissions from file.
726 # 2 - Move SUID/SGID file to quarantine dir.
728 # SuidCheckQuarantineMethod = 0
730 ## For method 1 and 3, really delete instead of truncating
732 # SuidCheckQuarantineDelete = yes
736 ## --- Check for loadable kernel module rootkits (Linux/FreeBSD only)
741 #KernelCheckActive = True
743 ## Check interval (seconds); btw., the check is VERY fast
745 # KernelCheckInterval = 300
749 # SeverityKernel = crit
754 ## --- Logging of login/logout events
759 # LoginCheckActive = True
761 ## Severity for logins, multiple logins, logouts
764 # SeverityLoginMulti=warn
765 # SeverityLogout=info
767 ## Interval for login/logout checks
769 # LoginCheckInterval = 300
774 ## --- Logging to a relational database
779 # SetDBName = samhain
787 # SetDBUser = samhain
791 # SetDBPassword = (default: none)
795 # SetDBHost = localhost
797 ## Log the server timestamp for received messages
799 # SetDBServerTstamp = True
801 ## Use a persistent connection
803 # UsePersistent = True
807 ## Interface to call external scripts/programs for logging
810 ## The absolute path to the command
811 ## - Each invocation of this directive will end the definition of the
812 ## preceding command, and start the definition of
813 ## an additional, new command
815 # OpenCommand = (no default)
818 ## - log for log messages, srv for messages received by the server
822 ## The command (full command line) to execute
824 # SetCommandLine = (no default)
826 ## The environment (KEY=value; repeat for more)
828 # SetEnviron = TZ=(your timezone)
830 ## The TIGER192 checksum (optional)
832 # SetChecksum = (no default)
834 ## User who runs the command
836 # SetCredentials = (default: samhain process uid)
838 ## Words not allowed in message
840 # SetFilterNot = (none)
842 ## Words required (ALL of them)
844 # SetFilterAnd = (none)
846 ## Words required (at least one)
848 # SetFilterOr = (none)
850 ## Deadtime between consecutive calls
854 ## Add default environment (HOME, PATH, SHELL)
858 <% if scope.call_function('versioncmp', [@lsbmajdistrelease, '9']) >= 0 -%>
864 #####################################################
866 # Miscellaneous configuration options
868 #####################################################
872 ## whether to become a daemon process
873 ## (this is not honoured on database initialisation)
878 ## whether to test signature of files (init/check/none)
879 ## - if 'none', then we have to decide this on the command line -
881 # ChecksumTest = none
884 ## whether to drop linux capabilities that are not required
885 ## - will make a root process a 'mere mortal' in many respects
889 ## Set nice level (-19 to 19, see 'man nice'),
890 ## and I/O limit (kilobytes per second; 0 == off)
891 ## to reduce load on host.
896 ## The version string to embed in file signature databases
898 # VersionString = NULL
900 ## Interval between time stamp messages
905 ## Interval between file checks
907 # SetFileCheckTime = 600
908 SetFileCheckTime = 7200
910 ## Alternative: crontab-like schedule
912 # FileCheckScheduleOne = NULL
914 ## Alternative: crontab-like schedule(2)
916 # FileCheckScheduleTwo = NULL
918 ## Report only once on modified fles
919 ## Setting this to 'FALSE' will generate a report for any policy
920 ## violation (old and new ones) each time the daemon checks the file system.
922 # ReportOnlyOnce = True
924 ## Report in full detail
926 # ReportFullDetail = False
928 ## Report file timestamps in local time rather than GMT
932 ## The console device (can also be a file or named pipe)
933 ## - There are two console devices. Accordingly, you can use
934 ## this directive a second time to set the second console device.
935 ## If you have not defined the second device at compile time,
936 ## and you don't want to use it, then:
937 ## setting it to /dev/null is less effective than just leaving
938 ## it alone (setting to /dev/null will waste time by opening
939 ## /dev/null and writing to it)
941 # SetConsole = /dev/console
943 ## Activate the SysV IPC message queue
945 # MessageQueueActive = False
948 ## If false, skip reverse lookup when connecting to a host known
949 ## by name rather than IP address (i.e. trust the DNS)
951 # SetReverseLookup = True
955 # Only highest-level (alert) reports will be mailed immediately,
956 # others will be queued. Here you can define, when the queue will
957 # be flushed (Note: the queue is automatically flushed after
958 # completing a file check).
962 ## Maximum number of mails to queue
966 ## Recipient (max. 8)
968 SetMailAddress=samhain-reports@<%= @fqdn -%>
970 SetMailRelay = localhost
972 ## Custom subject format
974 MailSubject = [Samhain at %H] %T: %S
976 ## --- end E-Mail ---
978 ## Path to the prelink executable
980 # SetPrelinkPath = /usr/sbin/prelink
982 ## TIGER192 checksum of the prelink executable
984 # SetPrelinkChecksum = (no default)
987 ## Path to the executable. If set, will be checksummed after startup
990 # SamhainPath = (no default)
993 ## The IP address of the log server
995 # SetLogServer = (default: compiled-in)
997 ## The IP address of the time server
999 # SetTimeServer = (default: compiled-in)
1001 ## Trusted Users (comma delimited list of user names)
1003 # TrustedUser = (no default; this adds to the compiled-in list)
1005 ## Path to the file signature database
1007 # SetDatabasePath = (default: compiled-in)
1009 ## Path to the log file
1011 # SetLogfilePath = (default: compiled-in)
1013 ## Path to the PID file
1015 # SetLockPath = (default: compiled-in)
1018 ## The digest/checksum/hash algorithm
1020 # DigestAlgo = TIGER192
1023 ## Custom format for message header.
1024 ## CAREFUL if you use XML logfile format.
1033 # MessageHeader="%S %T "
1036 ## Don't log path to config/database file on startup
1040 ## The syslog facility, if you log to syslog
1042 # SyslogFacility = LOG_AUTHPRIV
1043 SyslogFacility=LOG_LOCAL2
1045 ## The message authentication method
1046 ## - If you change this, you *must* change it
1047 ## on client *and* server
1049 # MACType = HMAC-TIGER
1052 ## everything below is ignored
1055 #####################################################################
1056 # This would be the proper syntax for parts that should only be
1057 # included for certain hosts.
1058 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
1059 # result still has the proper syntax for the config file.
1060 # You may have any number of @HOSTNAME/@end brackets.
1061 # HOSTNAME should be the fully qualified 'official' name
1062 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
1063 # No IP number - except if samhain cannot determine the
1064 # fully qualified hostname.
1070 # These are two examples for conditional inclusion/exclusion
1071 # of a machine based on the output from 'uname -srm'
1076 # !$Linux:2.*.7:i686
1080 #####################################################################