On 10/7/2014 6:09 AM, Steven Jan Springl wrote:
> On Monday 06 Oct 2014 23:57:55 Tom Eastep wrote:
> Tom
> 
> The following line in /var/lib/shorewall/.start  section  save_ipsets()
> 
>   $IPSET -S brd2_br2 >> >> ${VARDIR}/ipsets.tmp
> 
> produces the following error message:
> 
> Shorewall configuration compiled to /var/lib/shorewall/.start
> /var/lib/shorewall/.start: 125491: /var/lib/shorewall/.start: Syntax error: 
> redirection unexpected

Please verify that the attached patch resolves this issue.

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 \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Chains.pm 
b/Shorewall/Perl/Shorewall/Chains.pm
index 6f252f8..a46af4a 100644
--- a/Shorewall/Perl/Shorewall/Chains.pm
+++ b/Shorewall/Perl/Shorewall/Chains.pm
@@ -8028,7 +8028,7 @@ sub create_save_ipsets() {
 
                if ( @ipsets ) {
                    emit '';
-                   emit( "    \$IPSET -S $_ >> >> \$file" ) for @ipsets;
+                   emit( "    \$IPSET -S $_ >> \$file" ) for @ipsets;
                }
 
                emit( '',
@@ -8060,7 +8060,7 @@ sub create_save_ipsets() {
 
            if ( @ipsets ) {
                emit '';
-               emit( "    \$IPSET -S $_ >> >> \${VARDIR}/ipsets.tmp" ) for 
@ipsets;
+               emit( "    \$IPSET -S $_ >> \${VARDIR}/ipsets.tmp" ) for 
@ipsets;
            }
 
            emit( '' ,

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to