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