Ruud Baart wrote: > I have a problem with installing shorewall-perl version 4.2.11. I think > that I have configured the firewall correctly. I have done this many > times. Running "shorewall check" gives: > > Variable "%filter_table" is not imported at > /usr/share/shorewall-perl/Shorewall/Policy.pm line 452. > Global symbol "%filter_table" requires explicit package name at > /usr/share/shorewall-perl/Shorewall/Policy.pm line 452. > Compilation failed in require at > /usr/share/shorewall-perl/Shorewall/Compiler.pm line 30. > BEGIN failed--compilation aborted at > /usr/share/shorewall-perl/Shorewall/Compiler.pm line 30. > Compilation failed in require at /usr/share/shorewall-perl/compiler.pl > line 43. > BEGIN failed--compilation aborted at > /usr/share/shorewall-perl/compiler.pl line 43. > > > I can't find what I'm doing wrong. Any suggestions?
Please apply this patch: patch /usr/share/shorewall-perl/Shorewall/Policy.pm < fix-4.2.diff -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/4.2/Shorewall-perl/Shorewall/Policy.pm b/4.2/Shorewall-perl/Shorewall/Policy.pm index 02c2b01..adf6a4b 100644 --- a/4.2/Shorewall-perl/Shorewall/Policy.pm +++ b/4.2/Shorewall-perl/Shorewall/Policy.pm @@ -449,7 +449,7 @@ sub complete_standard_chain ( $$$$ ) { run_user_exit $stdchainref; - my $ruleschainref = $filter_table->{"${zone}2${zone2}"} || $filter_table{all2all}; + my $ruleschainref = $filter_table->{"${zone}2${zone2}"} || $filter_table->{all2all}; my ( $policy, $loglevel, $defaultaction ) = ( $default , 6, $config{$default . '_DEFAULT'} ); my $policychainref;
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users