|
From: Rainer W. <rwe...@mo...> - 2012-09-09 18:44:22
|
The racoons I have to deal with as part of my job needed to be able to include all files located in some directory in order to make 'machine reconfiguration' of the daemon easier. As it turned out to be, the inclusion code already supported this but the corresponding behaviour isn't documented in the raccon.conf(5) manpage. Below is a patch agains 0.8.0 adding this. ----------------- diff -rNu ipsec-tools-0.8.0/src/racoon/racoon.conf.5 ipsec-tools-0.8.0.patched//src/racoon/racoon.conf.5 --- ipsec-tools-0.8.0/src/racoon/racoon.conf.5 2010-06-22 21:51:04.000000000 +0100 +++ ipsec-tools-0.8.0.patched//src/racoon/racoon.conf.5 2012-09-09 19:23:24.645315390 +0100 @@ -234,7 +234,11 @@ .Ss File Inclusion .Bl -tag -width Ds -compact .It Ic include Ar file -Specifies other configuration files to be included. +Specifies other configuration files to be included. Shell-style wildcard expanison +of the argument is performed via +.Xr glob 3 , +using GLOB_TILDE as flags argument. This can, for instance, be used to +include all files in a certain directory. .El .\" .Ss Timer Specification |