David Rothenberger wrote: > After upgrading to 4.4.2, "shorewall check" yields this error if my > routestopped file includes the "routeback" option: > > ERROR: Internal error in Shorewall::Config::emit at > /usr/share/shorewall/Shorewall/Config.pm line 823 : > /etc/shorewall/routestopped (line 2) > > "shorewall restart" works fine, as does "shorewall check" when > routeback isn't specified. >
The attached patch corrects the problem: patch /usr/share/shorewall/Shorewall/Compiler.pm < routestopped.diff I've also uploaded 4.4.2.1 that corrects the problem. -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/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm
index ac7b958..620ed4d 100644
--- a/Shorewall/Perl/Shorewall/Compiler.pm
+++ b/Shorewall/Perl/Shorewall/Compiler.pm
@@ -837,6 +837,7 @@ sub compiler {
# compile_stop_firewall() also validates the routestopped file. Since we don't
# call that function during 'check', we must validate routestopped here.
#
+ enable_object;
process_routestopped;
if ( $family == F_IPV4 ) {
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
