]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/samhain/templates/samhainrc.erb
ignore the new apache files
[dsa-puppet.git] / modules / samhain / templates / samhainrc.erb
1 ##
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
4 ##
5
6 #####################################################################
7 #
8 # Configuration file template for samhain.
9 #
10 #####################################################################
11
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
17 #
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).
21 #
22 #####################################################################
23 #
24 # SETUP for file system checking:
25
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).
34 #
35 #####################################################################
36
37 #####################################################################
38 #
39 # Files are defined with: file = /absolute/path
40 #
41 # Directories are defined with:                  dir = /absolute/path
42 # or with an optional recursion depth (N <= 99): dir = N/absolute/path
43 #
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.):
46 #
47 # [ReadOnly]
48 # dir = /some/directory
49 # [IgnoreAll]
50 # file = /some/directory
51 #
52 # You can use shell-style globbing patterns, like: file = /path/foo*
53
54 ######################################################################
55
56 [Misc]
57 ##
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
61 ##
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
71 [Attributes]
72 ##
73 ## for these files, only changes in permissions and ownership are checked
74 ##
75 file=/etc/mtab
76 file=/etc/ssh_random_seed
77 file=/etc/asound.conf
78 file=/etc/resolv.conf
79 file=/etc/localtime
80 file=/etc/ioctl.save
81 file=/etc/passwd.backup
82 file=/etc/shadow.backup
83 file=/etc/postfix/prng_exch
84 file=/etc/adjtime
85 file=/etc/lvm/.cache
86 file=/etc/lvm/cache
87 file=/etc/lvm/cache/.cache
88 file=/etc/network/run/ifstate
89 file=/var/state/samhain/samhain_file
90 file=/etc/bind/zones/db.debian.net
91 file=/etc/exim4/bsmtp
92 <% if hostname == "geo1" || hostname == "geo2" || hostname == "geo3" -%>
93 file=/etc/bind
94 file=/etc/bind/named.conf.acl
95 file=/etc/bind/named.conf.options
96 file=/etc/bind/named.conf.local
97 file=/etc/bind/geodns/named.conf.geo
98 file=/etc/bind/geodns/recvconf.files
99 <% end -%>
100
101
102 #
103 # There are files in /etc that might change, thus changing the directory
104 # timestamps. Put it here as 'file', and in the ReadOnly section as 'dir'.
105 #
106 file=/etc
107 file=/etc/ssh
108 file=/etc/network/run
109 file=/etc/bind/zones
110 file=/etc/spamassassin/sa-update-keys
111
112 # These are the directories for the files we handle with puppet
113 file=/etc/apache2/conf.d
114 files=/etc/apache2/mods-enabled
115 file=/etc/samhain
116 file=/etc/munin
117 file=/etc/exim4
118 file=/etc/exim4/ssl
119 file=/etc/apt
120 file=/etc/apt/apt.conf.d
121 file=/etc/apt/sources.list.d
122 file=/etc/default
123 file=/etc/logrotate.d
124 file=/etc/nagios
125 file=/etc/nagios/nrpe.d
126 file=/etc/nagios/obsolete-packages-ignore.d
127 file=/etc/bind/geodns
128 <%= extradir=""
129 case fqdn 
130 when "spohr.debian.org": extradir="file=/etc/nagios3/puppetconf.d
131 file=/etc/puppet"
132 else extradir="file=/etc/puppet"
133 end
134 extradir
135 %>
136 file=/etc/cron.d
137 file=/usr/lib/nagios/plugins
138 file=/usr/sbin
139 file=/etc/monit
140 file=/etc/monit/monit.d
141 file=/etc/pam.d
142 file=/etc/sysctl.d
143 file=/etc/syslog-ng
144
145
146 [LogFiles]
147 ##
148 ## for these files, changes in signature, timestamps, and size are ignored 
149 ##
150 file=/var/run/utmp
151 file=/etc/motd
152
153
154
155 #####################################################################
156 #
157 # This would be the proper syntax for parts that should only be
158 #    included for certain hosts.
159 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
160 #    result still has the proper syntax for the config file.
161 # You may have any number of @HOSTNAME/@end brackets.
162 # HOSTNAME should be the fully qualified 'official' name 
163 #    (e.g. 'nixon.watergate.com', not 'nixon'), no aliases. 
164 #    No IP number - except if samhain cannot determine the 
165 #    fully qualified hostname.
166 #
167 # @HOSTNAME
168 # file=/foo/bar
169 # @end
170 #
171 # These are two examples for conditional inclusion/exclusion
172 # of a machine based on the output from 'uname -srm'
173 #
174 # $Linux:2.*.7:i666
175 # file=/foo/bar3
176 # $end
177 #
178 # !$Linux:2.*.7:i686
179 # file=/foo/bar2
180 # $end
181 #
182 #####################################################################
183
184 [GrowingLogFiles]
185 ##
186 ## for these files, changes in signature, timestamps, and increase in size
187 ##                  are ignored 
188 ##
189 file=/var/log/warn
190 file=/var/log/messages
191 file=/var/log/wtmp
192 file=/var/log/faillog
193 file=/var/log/auth.log
194 file=/var/log/daemon.log
195 file=/var/log/user.log
196 file=/var/log/kern.log
197 file=/var/log/syslog
198
199
200 [IgnoreAll]
201 ##
202 ## for these files, no modifications are reported
203 ##
204 ## This file might be created or removed by the system sometimes.
205 ##
206 file=/etc/resolv.conf.pcmcia.save
207 file=/etc/nologin
208 file=/etc/postfix/debian.db
209 file=/etc/postfix/debian
210 file=/etc/ssh/ssh_known_hosts
211 file=/etc/ssh/ssh-rsa-shadow
212 file=/var/lib/misc/ssh-rsa-shadow
213 file=/etc/.da-backup.trace
214 file=/etc/postfix/debianhosts
215 file=/etc/postfix/debianhosts.db
216 file=/etc/blkid.tab
217 file=/etc/blkid.tab.old
218 file=/etc/resolv.conf.dhclient-new
219
220 # We handle these files with puppet - please to not be bothering us
221 file=/etc/timezone
222 file=/etc/motd.tail
223 file=/etc/ntp.conf
224 file=/etc/samhain/samhainrc
225 file=/etc/munin/munin-node.conf
226 file=/etc/userdir-ldap.confc
227 file=/etc/exim4/blacklist
228 file=/etc/exim4/host_blacklist
229 file=/etc/exim4/callout_users
230 file=/etc/exim4/exim4.conf
231 file=/etc/exim4/grey_users
232 file=/etc/exim4/helo-check
233 file=/etc/exim4/locals
234 file=/etc/exim4/localusers
235 file=/etc/exim4/manualroute
236 file=/etc/exim4/rbllist
237 file=/etc/exim4/rcpthosts
238 file=/etc/exim4/rhsbllist
239 file=/etc/exim4/virtualdomains
240 file=/etc/exim4/whitelist
241 file=/etc/exim4/local-auto.conf
242 file=/etc/exim4/local-settings.conf
243 file=/etc/exim4/ssl/ca.crt
244 file=/etc/exim4/ssl/ca.crl
245 file=/etc/exim4/ssl/thishost.crt
246 file=/etc/exim4/ssl/thishost.key
247 file=/etc/ssh/ssh_config
248 file=/etc/ssh/sshd_config
249 <%=
250 out=""
251 if not nodeinfo['heavy_exim'].empty?
252   out = '
253 file=/etc/exim4/surbl_whitelist.txt
254 file=/etc/exim4/exim_surbl.pl
255 file=/etc/exim4/ccTLD.txt
256 file=/etc/clamav-unofficial-sigs.conf
257 file=/etc/clamav-unofficial-sigs.dsa.conf
258 '
259 end
260 out
261 %>
262 files=/etc/munin/plugins/apache_accesses
263 files=/etc/munin/plugins/apache_processes
264 files=/etc/munin/plugins/apache_volume
265 file=/etc/apache2/conf.d/ressource-limits
266 files=/etc/apache2/mods-enabled/info.conf
267 files=/etc/apache2/mods-enabled/info.load
268 files=/etc/apache2/mods-enabled/server.conf
269 files=/etc/apache2/mods-enabled/server.load
270 files=/etc/apache2/conf.d/server-status
271 files=/etc/apache2/conf.d/local-serverinfo
272 file=/etc/apt/preferences
273 file=/etc/apt/sources.list.d/volatile.list
274 file=/etc/apt/sources.list.d/security.list
275 file=/etc/apt/sources.list.d/buildd.list
276 file=/etc/apt/sources.list.d/debian.org.list
277 file=/etc/apt/sources.list.d/debian.restricted.list
278 file=/etc/apt/sources.list.d/debian.list
279 file=/etc/apt/sources.list.d/backports.org.list
280 file=/etc/apt/apt.conf.d/local-recommends
281 file=/etc/apt/apt.conf.d/local-pdiffs
282 file=/etc/puppet/puppet.conf
283 file=/etc/default/puppet
284 file=/etc/default/postgrey
285 file=/etc/logrotate.d/exim4-paniclog
286 file=/etc/logrotate.d/exim4-base
287 file=/etc/logrotate.d/syslog-ng
288 file=/etc/syslog-ng/syslog-ng.conf
289 file=/usr/sbin/dsa-update-apt-status
290 file=/usr/sbin/dsa-update-samhain-status
291 file=/etc/nagios/nrpe.d/nrpe_dsa.cfg
292 file=/etc/nagios/nrpe.d/debianorg.cfg
293 file=/etc/nagios/obsolete-packages-ignore
294 file=/etc/nagios/obsolete-packages-ignore.d/hostspecific
295 file=/usr/lib/nagios/plugins/dsa-check-packages
296 file=/usr/lib/nagios/plugins/dsa-check-soas
297 file=/usr/lib/nagios/plugins/dsa-check-mirrorsync
298 file=/usr/lib/nagios/plugins/dsa-check-samhain
299 file=/usr/lib/nagios/plugins/dsa-check-statusfile
300 file=/usr/lib/nagios/plugins/dsa-check-dabackup-server
301 file=/usr/lib/nagios/plugins/dsa-check-config
302 file=/usr/lib/nagios/plugins/dsa-check-hpacucli
303 file=/usr/lib/nagios/plugins/dsa-check-raid-mpt
304 file=/usr/lib/nagios/plugins/dsa-check-puppet
305 file=/usr/lib/nagios/plugins/dsa-check-running-kernel
306 file=/usr/lib/nagios/plugins/dsa-check-raid-3ware
307 file=/usr/lib/nagios/plugins/dsa-check-dabackup
308 file=/usr/lib/nagios/plugins/dsa-check-raid-dac960
309 file=/usr/lib/nagios/plugins/dsa-check-udldap-freshness
310 file=/usr/lib/nagios/plugins/dsa-check-raid-areca
311 file=/usr/lib/nagios/plugins/dsa-check-raid-sw
312 file=/usr/lib/nagios/plugins/dsa-update-samhain-status
313 file=/etc/sudoers
314 file=/etc/sysctl.d/mmap_min_addr.conf
315 file=/etc/pam.d/sudo
316 file=/etc/monit/monitrc
317 file=/etc/monit/monit.d/01puppet
318 file=/etc/monit/monit.d/00debian.org
319 file=/etc/cron.d/dsa-puppet-stuff
320 <%= extrafiles=""
321 case fqdn 
322 when "spohr.debian.org": extrafiles="file=/etc/nagios3/puppetconf.d/auto-hostgroups.cfg
323 file=/etc/nagios3/puppetconf.d/auto-hosts.cfg
324 file=/etc/nagios3/puppetconf.d/auto-services.cfg
325 file=/etc/nagios3/puppetconf.d/auto-dependencies.cfg
326 file=/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg
327 file=/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg"
328 when "handel.debian.org": extrafiles="dir=8/etc/puppet"
329 when "dijkstra.debian.org": extrafiles="dir=4/etc/dsa-kvm"
330 when /geo[123].debian.org/: extrafiles="dir=1/etc/bind/geodns"
331 end
332 extrafiles
333 %>
334
335 [IgnoreNone]
336 ##
337 ## for these files, all modifications (even access time) are reported
338 ##    - you may create some interesting-looking file (like /etc/safe_passwd),
339 ##      just to watch whether someone will access it ...
340 ##
341
342 [Prelink]
343 ##
344 ## Use for prelinked files or directories holding them
345 ##
346
347
348 [ReadOnly]
349 ##
350 ## for these files, only access time is ignored
351 ##
352 dir=/usr/bin
353 dir=/bin
354 dir=/boot
355 #
356 # SuSE (old) has the boot init scripts in /sbin/init.d/*, 
357 # so we go 3 levels deep
358 #
359 dir=3/sbin
360 dir=/usr/sbin
361 dir=/lib
362 dir=3/usr/lib
363 #
364 # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*, 
365 #        so we go 3 levels deep there too
366 #
367 dir=3/etc
368
369 # Various directories / files that may include / be SUID/SGID binaries
370 #
371 #
372 file=/usr/lib/pt_chown
373 # X11, in Debian X7 this is now a symlink
374 #dir=/usr/X11R6/bin
375 #dir=/usr/X11R6/lib/X11/xmcd/bin
376 # Apache:
377 #file=/usr/lib/apache/suexec
378 #file=/usr/lib/apache/suexec.disabled
379 # Extra directories:
380 #dir=/opt/gnome/bin
381 #dir=/opt/kde/bin
382
383 [User0]
384 [User1]
385 ## User0 and User1 are sections for files/dirs with user-definable checking
386 ## (see the manual) 
387
388
389 [EventSeverity]
390 ##
391 ## Here you can assign severities to policy violations.
392 ## If this severity exceeds the treshold of a log facility (see below),
393 ## a policy violation will be logged to that facility.
394 ##
395 ## Severity for verification failures.
396 ##
397 # SeverityReadOnly=crit
398 # SeverityLogFiles=crit
399 # SeverityGrowingLogs=crit
400 # SeverityIgnoreNone=crit
401 # SeverityAttributes=crit
402 # SeverityUser0=crit
403 # SeverityUser1=crit
404
405 # Default behaviour
406 SeverityReadOnly=crit
407 SeverityLogFiles=crit
408 SeverityGrowingLogs=warn
409 SeverityIgnoreNone=crit
410 SeverityAttributes=crit
411
412
413 ##
414 ## We have a file in IgnoreAll that might or might not be present.
415 ## Setting the severity to 'info' prevents messages about deleted/new file.
416 ##
417 # SeverityIgnoreAll=crit
418 SeverityIgnoreAll=info
419
420 ## Files : file access problems
421 # SeverityFiles=crit
422
423 ## Dirs  : directory access problems
424 # SeverityDirs=crit
425
426 ## Names : suspect (non-printable) characters in a pathname
427 # SeverityNames=crit
428
429 # Default behaviour
430 SeverityFiles=crit
431 SeverityDirs=crit
432 SeverityNames=warn
433
434
435 [Log]
436 ##
437 ## Switch on/OFF log facilities and set their threshold severity
438 ##
439 ## Values: debug, info, notice, warn, mark, err, crit, alert, none.
440 ## 'mark' is used for timestamps.
441 ##
442 ##
443 ## Use 'none' to SWITCH OFF a log facility
444 ## 
445 ## By default, everything equal to and above the threshold is logged.
446 ## The specifiers '*', '!', and '=' are interpreted as  
447 ## 'all', 'all but', and 'only', respectively (like syslogd(8) does, 
448 ## at least on Linux). Examples:
449 ## MailSeverity=*
450 ## MailSeverity=!warn
451 ## MailSeverity==crit
452
453 ## E-mail
454 ##
455 # MailSeverity=none
456
457 ## Console
458 ##
459 # PrintSeverity=info
460
461 ## Logfile
462 ##
463 # LogSeverity=mark
464
465 ## Syslog
466 ##
467 # SyslogSeverity=none
468
469 ## Remote server (yule)
470 ##
471 # ExportSeverity=none
472
473 ## External script or program
474 ##
475 # ExternalSeverity = none
476
477 ## Logging to a database
478 ##
479 # DatabaseSeverity = none
480
481 # Default behaviour
482 MailSeverity=crit
483 PrintSeverity=none
484 LogSeverity=info
485 SyslogSeverity=alert
486 ExportSeverity=none
487
488
489
490
491
492 #####################################################
493 #
494 # Optional modules
495 #
496 #####################################################
497
498 # [SuidCheck]
499 ##
500 ## --- Check the filesystem for SUID/SGID binaries
501 ## 
502
503 ## Switch on
504 #
505 # SuidCheckActive = yes
506
507 ## Interval for check (seconds)
508 #
509 # SuidCheckInterval = 7200
510
511 ## Alternative: crontab-like schedule
512 #
513 # SuidCheckSchedule = NULL
514  
515 ## Directory to exclude 
516 #
517 # SuidCheckExclude = NULL
518
519 ## Limit on files per second (0 == no limit)
520 #
521 # SuidCheckFps = 0
522
523 ## Alternative: yield after every file
524 #
525 # SuidCheckYield = no
526
527 ## Severity of a detection
528 #
529 # SeveritySuidCheck = crit
530
531 ## Quarantine SUID/SGID files if found
532 #
533 # SuidCheckQuarantineFiles = yes
534
535 ## Method for Quarantining files:
536 #  0 - Delete or truncate the file.
537 #  1 - Remove SUID/SGID permissions from file.
538 #  2 - Move SUID/SGID file to quarantine dir.
539 #
540 # SuidCheckQuarantineMethod = 0
541
542 ## For method 1 and 3, really delete instead of truncating
543
544 # SuidCheckQuarantineDelete = yes
545
546 # [Kernel]
547 ##
548 ## --- Check for loadable kernel module rootkits (Linux/FreeBSD only) 
549 ##
550
551 ## Switch on/off
552 #
553 KernelCheckActive = True
554
555 ## Check interval (seconds); btw., the check is VERY fast
556 #
557 # KernelCheckInterval = 300
558
559 ## Severity
560 #
561 # SeverityKernel = crit
562
563
564 # [Utmp]
565 ##
566 ## --- Logging of login/logout events
567 ##
568
569 ## Switch on/off
570 #
571 LoginCheckActive = True
572
573 ## Severity for logins, multiple logins, logouts
574
575 # SeverityLogin=info
576 # SeverityLoginMulti=warn
577 # SeverityLogout=info
578
579 ## Interval for login/logout checks
580 #
581 # LoginCheckInterval = 300
582
583
584 # [Database]
585 ##
586 ## --- Logging to a relational database
587 ##
588
589 ## Database name
590 #
591 # SetDBName = samhain
592
593 ## Database table
594 #
595 # SetDBTable = log
596
597 ## Database user
598 #
599 # SetDBUser = samhain
600
601 ## Database password
602 #
603 # SetDBPassword = (default: none)
604
605 ## Database host
606 #
607 # SetDBHost = localhost
608
609 ## Log the server timestamp for received messages
610 #
611 # SetDBServerTstamp = True
612
613 ## Use a persistent connection
614 #
615 # UsePersistent = True
616
617 # [External]
618 ##
619 ## Interface to call external scripts/programs for logging
620 ##
621
622 ## The absolute path to the command
623 ## - Each invocation of this directive will end the definition of the
624 ##   preceding command, and start the definition of 
625 ##   an additional, new command
626 #
627 # OpenCommand = (no default)
628
629 ## Type (log or rv)
630 ## - log for log messages, srv for messages received by the server
631 #
632 # SetType = log
633
634 ## The command (full command line) to execute
635 #
636 # SetCommandLine = (no default)
637
638 ## The environment (KEY=value; repeat for more)
639 #
640 # SetEnviron = TZ=(your timezone)
641
642 ## The TIGER192 checksum (optional)
643 #
644 # SetChecksum = (no default)
645
646 ## User who runs the command
647 #
648 # SetCredentials = (default: samhain process uid)
649
650 ## Words not allowed in message
651 #
652 # SetFilterNot = (none)
653
654 ## Words required (ALL of them)
655 #
656 # SetFilterAnd = (none)
657
658 ## Words required (at least one)
659 #
660 # SetFilterOr = (none)
661
662 ## Deadtime between consecutive calls
663 #
664 # SetDeadtime = 0
665
666 ## Add default environment (HOME, PATH, SHELL)
667 #
668 # SetDefault = no
669
670
671 #####################################################
672 #
673 # Miscellaneous configuration options
674 #
675 #####################################################
676
677 [Misc]
678
679 ## whether to become a daemon process
680 ## (this is not honoured on database initialisation)
681 #
682 # Daemon = no
683 Daemon = yes
684
685 ## whether to test signature of files (init/check/none)
686 ## - if 'none', then we have to decide this on the command line -
687 #
688 # ChecksumTest = none
689 ChecksumTest=check
690
691 ## whether to drop linux capabilities that are not required
692 ## - will make a root process a 'mere mortal' in many respects
693 #
694 # UseCaps = yes
695
696 ## Set nice level (-19 to 19, see 'man nice'),
697 ## and I/O limit (kilobytes per second; 0 == off)
698 ## to reduce load on host.
699 #
700 # SetNiceLevel = 0
701 # SetIOLimit = 0
702
703 ## The version string to embed in file signature databases
704 #
705 # VersionString = NULL
706
707 ## Interval between time stamp messages
708 #
709 # SetLoopTime = 60
710 SetLoopTime = 600
711
712 ## Interval between file checks 
713 #
714 # SetFileCheckTime = 600
715 SetFileCheckTime = 7200
716
717 ## Alternative: crontab-like schedule
718 #
719 # FileCheckScheduleOne = NULL
720
721 ## Alternative: crontab-like schedule(2)
722 #
723 # FileCheckScheduleTwo = NULL
724
725 ## Report only once on modified fles 
726 ## Setting this to 'FALSE' will generate a report for any policy 
727 ## violation (old and new ones) each time the daemon checks the file system.
728 #
729 # ReportOnlyOnce = True
730
731 ## Report in full detail
732 #
733 # ReportFullDetail = False
734
735 ## Report file timestamps in local time rather than GMT
736 #
737 # UseLocalTime = No
738
739 ## The console device (can also be a file or named pipe)
740 ## - There are two console devices. Accordingly, you can use
741 ##   this directive a second time to set the second console device.
742 ##   If you have not defined the second device at compile time,
743 ##   and you don't want to use it, then:
744 ##   setting it to /dev/null is less effective than just leaving
745 ##   it alone (setting to /dev/null will waste time by opening
746 ##   /dev/null and writing to it)
747 #
748 # SetConsole = /dev/console
749
750 ## Activate the SysV IPC message queue
751 #
752 # MessageQueueActive = False
753
754
755 ## If false, skip reverse lookup when connecting to a host known 
756 ## by name rather than IP address (i.e. trust the DNS)
757 #
758 # SetReverseLookup = True
759
760 ## --- E-Mail ---
761
762 # Only highest-level (alert) reports will be mailed immediately,
763 # others will be queued. Here you can define, when the queue will
764 # be flushed (Note: the queue is automatically flushed after
765 # completing a file check).
766 #
767 SetMailTime = 86400
768
769 ## Maximum number of mails to queue
770 #
771 SetMailNum = 10
772
773 ## Recipient (max. 8)
774 #
775 SetMailAddress=samhain-reports@debian.org
776
777 ## Mail relay (IP address)
778 <%=
779 out=""
780 if not nodeinfo['smarthost'].empty?
781   out = '
782 SetMailRelay = localhost
783 '
784 else
785 out = '
786 SetMailRelay = master.debian.org
787 '
788 end
789 out
790 %>
791 ## Custom subject format
792 #
793 MailSubject = [Samhain at %H] %T: %S
794
795 ## --- end E-Mail ---
796
797 ## Path to the prelink executable
798 #
799 # SetPrelinkPath = /usr/sbin/prelink
800
801 ## TIGER192 checksum of the prelink executable
802 #
803 # SetPrelinkChecksum = (no default)
804
805
806 ## Path to the executable. If set, will be checksummed after startup
807 ## and before exit.
808 #
809 # SamhainPath = (no default)
810
811
812 ## The IP address of the log server
813 #
814 # SetLogServer = (default: compiled-in)
815
816 ## The IP address of the time server
817 #
818 # SetTimeServer = (default: compiled-in)
819
820 ## Trusted Users (comma delimited list of user names) 
821 #
822 # TrustedUser = (no default; this adds to the compiled-in list)
823
824 ## Path to the file signature database
825 #
826 # SetDatabasePath = (default: compiled-in)
827
828 ## Path to the log file
829 #
830 # SetLogfilePath = (default: compiled-in)
831
832 ## Path to the PID file
833 #
834 # SetLockPath = (default: compiled-in)
835
836
837 ## The digest/checksum/hash algorithm
838 #
839 # DigestAlgo = TIGER192
840
841
842 ## Custom format for message header. 
843 ## CAREFUL if you use XML logfile format.
844 ##
845 ## %S severity
846 ## %T timestamp
847 ## %C class
848 ##
849 ## %F source file
850 ## %L source line
851 #
852 # MessageHeader="%S %T "
853
854
855 ## Don't log path to config/database file on startup
856 #
857 # HideSetup = False
858
859 ## The syslog facility, if you log to syslog
860 #
861 # SyslogFacility = LOG_AUTHPRIV
862 SyslogFacility=LOG_LOCAL2
863
864 ## The message authentication method
865 ## - If you change this, you *must* change it
866 ##   on client *and* server
867 #
868 # MACType = HMAC-TIGER
869
870
871 ## everything below is ignored
872 [EOF]
873
874 #####################################################################
875 # This would be the proper syntax for parts that should only be
876 #    included for certain hosts.
877 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
878 #    result still has the proper syntax for the config file.
879 # You may have any number of @HOSTNAME/@end brackets.
880 # HOSTNAME should be the fully qualified 'official' name 
881 #    (e.g. 'nixon.watergate.com', not 'nixon'), no aliases. 
882 #    No IP number - except if samhain cannot determine the 
883 #    fully qualified hostname.
884 #
885 # @HOSTNAME
886 # file=/foo/bar
887 # @end
888 #
889 # These are two examples for conditional inclusion/exclusion
890 # of a machine based on the output from 'uname -srm'
891 # $Linux:2.*.7:i666
892 # file=/foo/bar3
893 # $end
894 #
895 # !$Linux:2.*.7:i686
896 # file=/foo/bar2
897 # $end
898 #
899 #####################################################################