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