On Thu, 27 Mar 2003, Brad Fritz wrote:

> One feature that I would find useful is the ability to include
> configuration directives from arbitrary files.  That ability
> would make management of several firewalls with common rulesets
> more convenient.  An example to help clarify:
> 
>   shorewall/params.mgmt:
>   MGMT_SERVERS=1.1.1.1,2.2.2.2,3.3.3.3
>   TIME_SERVERS=4.4.4.4
>   BACKUP_SERVERS=5.5.5.5
>   ----- end params.mgmt -----
> 
> 
>   shorewall/params:
>   # Shorewall 1.3 /etc/shorewall/params
>   [..]
>   #######################################
> 
>   INCLUDE params.mgmt    # proposed INCLUDE directive to source
>                          # auxiliary file

Already supported -- just use "." in place of INCLUDE:

. /some/dir/params.mgmt

Be sure to fully qualify the file name since you can't make any 
assumptions about the CWD when Shorewall is running.

-Tom
-- 
Tom Eastep    \ Shorewall - iptables made easy
Shoreline,     \ http://www.shorewall.net
Washington USA  \ [EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to