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