On Sun, 2011-10-09 at 14:54 +0100, Steven Jan Springl wrote:
> The routes config. file is not mentioned in the 'pairs' documentation.
> It works using the following column names:
> 
> provider dest gateway device

I've updated the doc.

> 
> ----------------------------------------------------------------------------------------------------------
> 
> Routestopped entry:
> 
> ;interface=eth0  hosts=192.168.99.0/24
> 
> Produces the following error message:
> 
> ERROR: INTERFACE must be specified : /etc/shorewallT6/routestopped (line 17)
> 

The attached patch should fix that.

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/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm
index b7dd639..ee8036d 100644
--- a/Shorewall/Perl/Shorewall/Misc.pm
+++ b/Shorewall/Perl/Shorewall/Misc.pm
@@ -360,7 +360,7 @@ sub process_routestopped() {
 	while ( read_a_line ) {
 
 	    my ($interface, $hosts, $options , $proto, $ports, $sports ) =
-		split_line 'routestopped file', { interface => 1, hosts => 2, options => 3, proto => 4, dport => 5, sport => 6 };
+		split_line 'routestopped file', { interface => 0, hosts => 1, options => 2, proto => 3, dport => 4, sport => 5 };
 
 	    my $interfaceref;
 

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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to