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