Beta 1 is now available for testing. New Features: 1) The ''mss'' option is now supported in the /etc/shorewall[6]/hosts files. See the manpages for details. 2) It is now possible to conditionally include or omit configuration entries based on the settings of shell variables. See http://www.shorewall.net/configuration_file_basics.htm#Conditional for details. 3) The MARK/CLASSIFY column in /etc/shorewall[6]/tcrules has been renamed ACTION to reflect the expanded set of actions that can be specified in the column. Thank you for testing, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
Tom IF ?ELSE is specified without a preceding ?IF in the rules file, the following error is produced: Can''t use an undefined value as an ARRAY reference at /usr/share/shorewall/Shorewall/Config.pm line 2068, <$currentfile> line 14. Steven. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
On Sunday 18 Mar 2012 21:16:31 Steven Jan Springl wrote:> Tom > > IF ?ELSE is specified without a preceding ?IF in the rules file, the > following error is produced: > > Can''t use an undefined value as an ARRAY reference at > /usr/share/shorewall/Shorewall/Config.pm line 2068, <$currentfile> line 14. > > Steven. >Tom Please disregard this report. I will resubmit a more accurate one shortly. Steven. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
Tom Sorry for the earlier noise. My original report was correct, I have pasted it below along with a couple of other issues. If ?ELSE is specified without a preceding ?IF in the rules file, the following error is produced: Can''t use an undefined value as an ARRAY reference at /usr/share/shorewall/Shorewall/Config.pm line 2068, <$currentfile> line 14. ----------------------------------------------------------------------------------------------- If ?IF is specified and ?ENDIF is not, the following message stating ?END is missing is produced: ERROR: Missing "?END" to match ?IF at line number 14 : /etc/shorewallT8/rules (EOF) ----------------------------------------------------------------------------------------------- ?anything can be specified between an ?IF and ?ENDIF e.g.: ?IF $testvar . . ?FOOBAR . . ?ENDIF is accepted by shorewall. Steven. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
On 3/18/12 3:22 PM, "Steven Jan Springl" <steven@springl.ukfsn.org> wrote:>Sorry for the earlier noise. My original report was correct, I have >pasted it >below along with a couple of other issues. > >If ?ELSE is specified without a preceding ?IF in the rules file, the >following >error is produced: > > Can''t use an undefined value as an ARRAY reference at >/usr/share/shorewall/Shorewall/Config.pm line 2068, <$currentfile> line >14.I''ve fixed this one in my tree but it is so different from Beta 1 that I''ll have to wait until Beta 2 to get you a fix.> >-------------------------------------------------------------------------- >--------------------- > >If ?IF is specified and ?ENDIF is not, the following message stating ?END >is >missing is produced: > >ERROR: Missing "?END" to match ?IF at line number 14 : >/etc/shorewallT8/rules >(EOF)I''d already fixed that one.> >-------------------------------------------------------------------------- >--------------------- > >?anything can be specified between an ?IF and ?ENDIF e.g.: > >?IF $testvar >. >. >?FOOBAR >. >. >?ENDIF > >is accepted by shorewall.Yeah, I suppose that the compiler should check any line whose first non-blank character is ''?''; I''ve added that to my tree as well. I''ll do a little more testing and then upload Beta 2. Thanks, Steven -Tom You do not need a parachute to skydive. You only need a parachute to skydive twice. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
On 3/18/12 4:28 PM, "Tom Eastep" <teastep@shorewall.net> wrote:>On 3/18/12 3:22 PM, "Steven Jan Springl" <steven@springl.ukfsn.org> wrote: > >>Sorry for the earlier noise. My original report was correct, I have >>pasted it >>below along with a couple of other issues. >> >>If ?ELSE is specified without a preceding ?IF in the rules file, the >>following >>error is produced: >> >> Can''t use an undefined value as an ARRAY reference at >>/usr/share/shorewall/Shorewall/Config.pm line 2068, <$currentfile> line >>14. > >I''ve fixed this one in my tree but it is so different from Beta 1 that >I''ll have to wait until Beta 2 to get you a fix. > >> >>------------------------------------------------------------------------- >>- >>--------------------- >> >>If ?IF is specified and ?ENDIF is not, the following message stating ?END >>is >>missing is produced: >> >>ERROR: Missing "?END" to match ?IF at line number 14 : >>/etc/shorewallT8/rules >>(EOF) > >I''d already fixed that one. > >> >>------------------------------------------------------------------------- >>- >>--------------------- >> >>?anything can be specified between an ?IF and ?ENDIF e.g.: >> >>?IF $testvar >>. >>. >>?FOOBAR >>. >>. >>?ENDIF >> >>is accepted by shorewall. > >Yeah, I suppose that the compiler should check any line whose first >non-blank character is ''?''; I''ve added that to my tree as well. > >I''ll do a little more testing and then upload Beta 2.Won''t be happening for a while. I''ve discovered that nested ?Ifs don''t work :-( -Tom You do not need a parachute to skydive. You only need a parachute to skydive twice. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
On 3/18/12 5:21 PM, "Tom Eastep" <teastep@shorewall.net> wrote:> >Won''t be happening for a while. I''ve discovered that nested ?Ifs don''t >work :-(Steven, Nested ?Ifs still don''t work correctly, but I think that this patch corrects your issues. -Tom You do not need a parachute to skydive. You only need a parachute to skydive twice. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
Hello - I seem to be having this problem with Shorewall lately: Compiling... ERROR: The variable name SHOREWALL_INIT_SCRIPT is reserved and may not be set in the params file This using Shorewall 4.5.2 Beta 1 on Centos 5.8 This rings a bell that I had a similar problem but I can''t seem to find it in the archives. neal ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
On Monday 19 Mar 2012 02:13:03 Tom Eastep wrote:> On 3/18/12 5:21 PM, "Tom Eastep" <teastep@shorewall.net> wrote: > >Won''t be happening for a while. I''ve discovered that nested ?Ifs don''t > >work :-( > > Steven, > > Nested ?Ifs still don''t work correctly, but I think that this patch > corrects your issues. >Tom Confirmed, the patch fixes the three issues that I had. Thanks. Steven. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
On 03/19/2012 10:11 AM, Steven Jan Springl wrote:> Confirmed, the patch fixes the three issues that I had.Thanks, Steven -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
On 03/19/2012 04:37 AM, Neal Thomsen wrote:> Hello - I seem to be having this problem with Shorewall lately: > > Compiling... > ERROR: The variable name SHOREWALL_INIT_SCRIPT is reserved and may > not be set in the params file > > > This using Shorewall 4.5.2 Beta 1 on Centos 5.8 >Fixed in 4.5.1.1 and 4.5.2 Beta 2 which will both be uploaded today. You can work around the problem for the most part by setting AUTOMAKE=Yes in shorewall.conf. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure