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