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