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