On 06/09/2011 10:36 AM, Tom Eastep wrote:
> On 06/09/2011 02:50 AM, Florian Piekert wrote:
>> Hello,
>>
>> I am experiencing problems getting shorewall restarted after today's update
>> to 4.4.20.1 (from the last recent one, 4.4.19something) whereas the former
>> version was not returning any problems.
> 
> Where did you download 4.4.20.1 from? A SuSE repository?

Florian responded off-list that it was from the SuSE security: repository.

Florian: Please confirm that the attached patch corrects the problem.

patch /usr/lib/perl5/vendor_perl/4.12.3/Shorewall/Chains.pm <CHAIN.patch

-Thanks
-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 e83a414..e1893b9 100644
--- a/Shorewall/Perl/Shorewall/Chains.pm
+++ b/Shorewall/Perl/Shorewall/Chains.pm
@@ -1026,6 +1026,10 @@ sub use_forward_chain($$) {
 
     return 1 if @{$chainref->{rules}} && ( $config{OPTIMIZE} & 4096 );
     #
+    # Use it if we already have jumps to it
+    #
+    return 1 if keys %{$chainref->{references}};
+    #
     # We must use the interfaces's chain if the interface is associated with multiple zones
     #
     return 1 if ( keys %{interface_zones $interface} ) > 1;

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to