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
461 dir=1/etc/ssl/ca-debian
462 dir=1/etc/ssl/ca-global
463 file=/etc/ca-certificates.conf
464 file=/etc/ca-certificates-debian.conf
465 file=/etc/ca-certificates-global.conf
466 file=/etc/ssl/private/ssl-cert-snakeoil.key
467 file=/etc/unbound/unbound.conf
468 <% if scope.lookupvar('::fqdn') == "draghi.debian.org" -%>
469 file=/etc/openvpn/deb-mgmt-clients.pool
473 <% if scope.function_has_role(['puppetmaster']) %>
475 # Damn you rails apps and your shoddy packaging
476 file=/usr/share/puppet-dashboard/public/stylesheets
477 file=/usr/share/puppet-dashboard/public/javascripts
478 file=/usr/share/puppet-dashboard/public/stylesheets/all.css
479 file=/usr/share/puppet-dashboard/public/javascripts/all.js
480 dir=1/usr/share/puppet-dashboard/tmp/pids
483 <% if classes.include?("porterbox") %>
484 file=/etc/cron.weekly/puppet-mail-big-homedirs
489 ## for these files, all modifications (even access time) are reported
490 ## - you may create some interesting-looking file (like /etc/safe_passwd),
491 ## just to watch whether someone will access it ...
496 ## Use for prelinked files or directories holding them
502 ## for these files, only access time is ignored
508 # SuSE (old) has the boot init scripts in /sbin/init.d/*,
509 # so we go 3 levels deep
517 # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*,
518 # so we go 3 levels deep there too
522 # Various directories / files that may include / be SUID/SGID binaries
525 file=/usr/lib/pt_chown
526 # X11, in Debian X7 this is now a symlink
528 #dir=/usr/X11R6/lib/X11/xmcd/bin
530 #file=/usr/lib/apache/suexec
531 #file=/usr/lib/apache/suexec.disabled
538 ## User0 and User1 are sections for files/dirs with user-definable checking
544 ## Here you can assign severities to policy violations.
545 ## If this severity exceeds the treshold of a log facility (see below),
546 ## a policy violation will be logged to that facility.
548 ## Severity for verification failures.
550 # SeverityReadOnly=crit
551 # SeverityLogFiles=crit
552 # SeverityGrowingLogs=crit
553 # SeverityIgnoreNone=crit
554 # SeverityAttributes=crit
559 SeverityReadOnly=crit
560 SeverityLogFiles=crit
561 SeverityGrowingLogs=warn
562 SeverityIgnoreNone=crit
563 SeverityAttributes=crit
567 ## We have a file in IgnoreAll that might or might not be present.
568 ## Setting the severity to 'info' prevents messages about deleted/new file.
570 # SeverityIgnoreAll=crit
571 SeverityIgnoreAll=info
573 ## Files : file access problems
576 ## Dirs : directory access problems
579 ## Names : suspect (non-printable) characters in a pathname
590 ## Switch on/OFF log facilities and set their threshold severity
592 ## Values: debug, info, notice, warn, mark, err, crit, alert, none.
593 ## 'mark' is used for timestamps.
596 ## Use 'none' to SWITCH OFF a log facility
598 ## By default, everything equal to and above the threshold is logged.
599 ## The specifiers '*', '!', and '=' are interpreted as
600 ## 'all', 'all but', and 'only', respectively (like syslogd(8) does,
601 ## at least on Linux). Examples:
603 ## MailSeverity=!warn
604 ## MailSeverity==crit
620 # SyslogSeverity=none
622 ## Remote server (yule)
624 # ExportSeverity=none
626 ## External script or program
628 # ExternalSeverity = none
630 ## Logging to a database
632 # DatabaseSeverity = none
645 #####################################################
649 #####################################################
653 ## --- Check the filesystem for SUID/SGID binaries
658 # SuidCheckActive = yes
660 ## Interval for check (seconds)
662 # SuidCheckInterval = 7200
664 ## Alternative: crontab-like schedule
666 # SuidCheckSchedule = NULL
668 ## Directory to exclude
670 # SuidCheckExclude = NULL
672 ## Limit on files per second (0 == no limit)
676 ## Alternative: yield after every file
678 # SuidCheckYield = no
680 ## Severity of a detection
682 # SeveritySuidCheck = crit
684 ## Quarantine SUID/SGID files if found
686 # SuidCheckQuarantineFiles = yes
688 ## Method for Quarantining files:
689 # 0 - Delete or truncate the file.
690 # 1 - Remove SUID/SGID permissions from file.
691 # 2 - Move SUID/SGID file to quarantine dir.
693 # SuidCheckQuarantineMethod = 0
695 ## For method 1 and 3, really delete instead of truncating
697 # SuidCheckQuarantineDelete = yes
701 ## --- Check for loadable kernel module rootkits (Linux/FreeBSD only)
706 #KernelCheckActive = True
708 ## Check interval (seconds); btw., the check is VERY fast
710 # KernelCheckInterval = 300
714 # SeverityKernel = crit
719 ## --- Logging of login/logout events
724 # LoginCheckActive = True
726 ## Severity for logins, multiple logins, logouts
729 # SeverityLoginMulti=warn
730 # SeverityLogout=info
732 ## Interval for login/logout checks
734 # LoginCheckInterval = 300
739 ## --- Logging to a relational database
744 # SetDBName = samhain
752 # SetDBUser = samhain
756 # SetDBPassword = (default: none)
760 # SetDBHost = localhost
762 ## Log the server timestamp for received messages
764 # SetDBServerTstamp = True
766 ## Use a persistent connection
768 # UsePersistent = True
772 ## Interface to call external scripts/programs for logging
775 ## The absolute path to the command
776 ## - Each invocation of this directive will end the definition of the
777 ## preceding command, and start the definition of
778 ## an additional, new command
780 # OpenCommand = (no default)
783 ## - log for log messages, srv for messages received by the server
787 ## The command (full command line) to execute
789 # SetCommandLine = (no default)
791 ## The environment (KEY=value; repeat for more)
793 # SetEnviron = TZ=(your timezone)
795 ## The TIGER192 checksum (optional)
797 # SetChecksum = (no default)
799 ## User who runs the command
801 # SetCredentials = (default: samhain process uid)
803 ## Words not allowed in message
805 # SetFilterNot = (none)
807 ## Words required (ALL of them)
809 # SetFilterAnd = (none)
811 ## Words required (at least one)
813 # SetFilterOr = (none)
815 ## Deadtime between consecutive calls
819 ## Add default environment (HOME, PATH, SHELL)
824 #####################################################
826 # Miscellaneous configuration options
828 #####################################################
832 ## whether to become a daemon process
833 ## (this is not honoured on database initialisation)
838 ## whether to test signature of files (init/check/none)
839 ## - if 'none', then we have to decide this on the command line -
841 # ChecksumTest = none
844 ## whether to drop linux capabilities that are not required
845 ## - will make a root process a 'mere mortal' in many respects
849 ## Set nice level (-19 to 19, see 'man nice'),
850 ## and I/O limit (kilobytes per second; 0 == off)
851 ## to reduce load on host.
856 ## The version string to embed in file signature databases
858 # VersionString = NULL
860 ## Interval between time stamp messages
865 ## Interval between file checks
867 # SetFileCheckTime = 600
868 SetFileCheckTime = 7200
870 ## Alternative: crontab-like schedule
872 # FileCheckScheduleOne = NULL
874 ## Alternative: crontab-like schedule(2)
876 # FileCheckScheduleTwo = NULL
878 ## Report only once on modified fles
879 ## Setting this to 'FALSE' will generate a report for any policy
880 ## violation (old and new ones) each time the daemon checks the file system.
882 # ReportOnlyOnce = True
884 ## Report in full detail
886 # ReportFullDetail = False
888 ## Report file timestamps in local time rather than GMT
892 ## The console device (can also be a file or named pipe)
893 ## - There are two console devices. Accordingly, you can use
894 ## this directive a second time to set the second console device.
895 ## If you have not defined the second device at compile time,
896 ## and you don't want to use it, then:
897 ## setting it to /dev/null is less effective than just leaving
898 ## it alone (setting to /dev/null will waste time by opening
899 ## /dev/null and writing to it)
901 # SetConsole = /dev/console
903 ## Activate the SysV IPC message queue
905 # MessageQueueActive = False
908 ## If false, skip reverse lookup when connecting to a host known
909 ## by name rather than IP address (i.e. trust the DNS)
911 # SetReverseLookup = True
915 # Only highest-level (alert) reports will be mailed immediately,
916 # others will be queued. Here you can define, when the queue will
917 # be flushed (Note: the queue is automatically flushed after
918 # completing a file check).
922 ## Maximum number of mails to queue
926 ## Recipient (max. 8)
928 SetMailAddress=samhain-reports@<%= fqdn -%>
930 SetMailRelay = localhost
932 ## Custom subject format
934 MailSubject = [Samhain at %H] %T: %S
936 ## --- end E-Mail ---
938 ## Path to the prelink executable
940 # SetPrelinkPath = /usr/sbin/prelink
942 ## TIGER192 checksum of the prelink executable
944 # SetPrelinkChecksum = (no default)
947 ## Path to the executable. If set, will be checksummed after startup
950 # SamhainPath = (no default)
953 ## The IP address of the log server
955 # SetLogServer = (default: compiled-in)
957 ## The IP address of the time server
959 # SetTimeServer = (default: compiled-in)
961 ## Trusted Users (comma delimited list of user names)
963 # TrustedUser = (no default; this adds to the compiled-in list)
965 ## Path to the file signature database
967 # SetDatabasePath = (default: compiled-in)
969 ## Path to the log file
971 # SetLogfilePath = (default: compiled-in)
973 ## Path to the PID file
975 # SetLockPath = (default: compiled-in)
978 ## The digest/checksum/hash algorithm
980 # DigestAlgo = TIGER192
983 ## Custom format for message header.
984 ## CAREFUL if you use XML logfile format.
993 # MessageHeader="%S %T "
996 ## Don't log path to config/database file on startup
1000 ## The syslog facility, if you log to syslog
1002 # SyslogFacility = LOG_AUTHPRIV
1003 SyslogFacility=LOG_LOCAL2
1005 ## The message authentication method
1006 ## - If you change this, you *must* change it
1007 ## on client *and* server
1009 # MACType = HMAC-TIGER
1012 ## everything below is ignored
1015 #####################################################################
1016 # This would be the proper syntax for parts that should only be
1017 # included for certain hosts.
1018 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
1019 # result still has the proper syntax for the config file.
1020 # You may have any number of @HOSTNAME/@end brackets.
1021 # HOSTNAME should be the fully qualified 'official' name
1022 # (e.g. 'nixon.watergate.com', not 'nixon'), no aliases.
1023 # No IP number - except if samhain cannot determine the
1024 # fully qualified hostname.
1030 # These are two examples for conditional inclusion/exclusion
1031 # of a machine based on the output from 'uname -srm'
1036 # !$Linux:2.*.7:i686
1040 #####################################################################