Steven Jan Springl wrote:
> On Saturday 21 November 2009 18:32:06 Tom Eastep wrote:
>> ---------------------------------------------------------------------------
>> - N E W   F E A T U R E S   I N   4 . 4 . 4
>> ---------------------------------------------------------------------------
>> -
>> 2)  The limit of 15 entries in a port list has been relaxed in
>>     /etc/shorewall/routestopped.
>>
> 
> Tom 
> 
> If I specify more than 15 ports in routestopped the following message is 
> produced:
> 
> ERROR: A port list in this file may only have up to 15 
> ports : /etc/shorewall2/routestopped (line 12)

Crap -- I changed all of the rule generation but neglected to remove the
test. Attached patch should fix it.

-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/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm
index 631462d..7398752 100644
--- a/Shorewall/Perl/Shorewall/Rules.pm
+++ b/Shorewall/Perl/Shorewall/Rules.pm
@@ -322,7 +322,7 @@ sub process_routestopped() {
 
 	$seq++;
 
-	my $rule = do_proto( $proto, $ports, $sports, 1 );
+	my $rule = do_proto( $proto, $ports, $sports, 0 );
 
 	for my $host ( split /,/, $hosts ) {
 	    validate_host $host, 1;

Attachment: 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to