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