hi, it''d be useful if we can have an "include <filename>" statement in all config files. eg i''ve a few server which runs lite and one the admin server there are common params, rules etc. which can be included into each server config files. thanks in advance. -- Levente "Si vis pacem para bellum!" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Farkas Levente wrote:> hi, > it''d be useful if we can have an "include <filename>" statement in all > config files. eg i''ve a few server which runs lite and one the admin > server there are common params, rules etc. which can be included into > each server config files. > thanks in advance. >http://www1.shorewall.net/configuration_file_basics.htm#INCLUDE Been there since before Shorewall 2.0.0. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Doesn´t the functionality provided by params and include overlap? Once things have been defined in params , they can be used in other config files right? therefore include is redundant ? i mean all the stuff indicated by http://www1.shorewall.net/configuration_file_basics.htm#INCLUDE can be done in the normal params file and be used globally right? Sorry, i m just trying to increase my understanding of shorewall. Regards, Marco. --- Tom Eastep <teastep@shorewall.net> wrote:> Farkas Levente wrote: > > hi, > > it''d be useful if we can have an "include > <filename>" statement in all > > config files. eg i''ve a few server which runs lite > and one the admin > > server there are common params, rules etc. which > can be included into > > each server config files. > > thanks in advance. > > > >http://www1.shorewall.net/configuration_file_basics.htm#INCLUDE> > Been there since before Shorewall 2.0.0. > > -Tom > -- > Tom Eastep \ Nothing is foolproof to a > sufficiently talented fool > Shoreline, \ http://shorewall.net > Washington USA \ teastep@shorewall.net > PGP Public Key \ > https://lists.shorewall.net/teastep.pgp.key > > >-------------------------------------------------------------------------> This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using > AJAX and a browser. > Download your FREE copy of Splunk now >>http://get.splunk.com/> _______________________________________________> Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/shorewall-users>____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Linux Advocate wrote:> Doesn´t the functionality provided by params and > include overlap?Yes -- marginally.> > Once things have been defined in params , they can be > used in other config files right? therefore include is > redundant ? i mean all the stuff indicated by > http://www1.shorewall.net/configuration_file_basics.htm#INCLUDE > can be done in the normal params file and be used > globally right?No. The params file provides a very weak analog of C macros; the INCLUDE directive is similar to C''s #include. Each shell variable (params) expands to something that must fit on a single line. INCLUDE files may have many lines in them.> Sorry, i m just trying to increase my understanding of > shorewall.Nothing here is Shorewall-specific. These are basic feature of language processing systems that have been around for the last 40 -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Tom Eastep wrote:> >> Sorry, i m just trying to increase my understanding of >> shorewall. > > Nothing here is Shorewall-specific. These are basic feature of language > processing systems that have been around for the last 40 >The last sentence should end "...basic features of language processing systems that have been around for the last 40 years". -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
thanx tom. at least i understand the difference between params and include. --- Tom Eastep <teastep@shorewall.net> wrote:> Linux Advocate wrote: > > Doesn�t the functionality provided by params and > > include overlap? > > Yes -- marginally. > > > > > Once things have been defined in params , they can > be > > used in other config files right? therefore > include is > > redundant ? i mean all the stuff indicated by > > >http://www1.shorewall.net/configuration_file_basics.htm#INCLUDE> > can be done in the normal params file and be used > > globally right? > > No. > > The params file provides a very weak analog of C > macros; the INCLUDE > directive is similar to C''s #include. Each shell > variable (params) > expands to something that must fit on a single line. > INCLUDE files may > have many lines in them. > > > Sorry, i m just trying to increase my > understanding of > > shorewall. > > Nothing here is Shorewall-specific. These are basic > feature of language > processing systems that have been around for the > last 40 > > -Tom > -- > Tom Eastep \ Nothing is foolproof to a > sufficiently talented fool > Shoreline, \ http://shorewall.net > Washington USA \ teastep@shorewall.net > PGP Public Key \ > https://lists.shorewall.net/teastep.pgp.key > > >-------------------------------------------------------------------------> This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using > AJAX and a browser. > Download your FREE copy of Splunk now >>http://get.splunk.com/> _______________________________________________> Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/shorewall-users>____________________________________________________________________________________ Get the Yahoo! toolbar and be alerted to new email wherever you''re surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/