On Sun, 2011-08-28 at 22:57 +0100, Steven Jan Springl wrote:
> On Sunday 28 August 2011 15:59:52 Tom Eastep wrote:

> > Just discovered another rather bad bug. The entries
> > in /etc/shorewall/routing_rules are being applied twice while those
> > in /etc/shorewall/routes are not being applied at all.
> >
> > Patch attached.
> 
> I have recreated the problem and can confirm the patch corrects it.
> 

I've discovered another oversight; routing_rules and routes entries for
the main and default tables are not being added. Patch attached.

-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 \________________________________________________

--- Perl/Shorewall/Providers.pm.orig	2011-08-29 06:44:03.000000000 -0700
+++ Perl/Shorewall/Providers.pm	2011-08-29 06:47:01.000000000 -0700
@@ -1037,6 +1037,13 @@
 
 	start_providers;
 		
+	for my $provider ( qw/main default/ ) {
+	    emit $_ for @{$providers{$provider}{routes}};
+	    emit $_ for @{$providers{$provider}{rules}};
+	}
+
+	emit '';
+
 	emit "start_provider_$_" for @providers;
 
 	emit '';

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to