On 06/05/2012 11:12 PM, heriyanto wrote:
Dear All,

I try to upgrade, my old shorewall from 4.4.13-3 to 4.5.2.3-1 on CentOS,
after upgrade i can't start shorewall with this message:

"/Shorewall: Address Ranges require the Multiple Match capability in
your kernel and iptables/"

I try to search on the net about this, but no still no light. Somebody
can help me?

The attached patch should allow you to work around the problem:

        patch /usr/share/shorewall/Shorewall/Chains.pm < IPRANGE.patch

-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 \________________________________________________
--- Shorewall/Chains.pm.orig	2012-06-06 07:19:51.000000000 -0700
+++ Shorewall/Chains.pm	2012-06-06 07:33:27.000000000 -0700
@@ -4683,7 +4683,8 @@
 	 ( $family == F_IPV6 && $net =~  /^(!?)(.*:.*)-(.*:.*)$/ ) ) {
 	my ($addr1, $addr2) = ( $2, $3 );
 	$net =~ s/!// if my $invert = $1 ? '! ' : '';
-	fatal_error "Address Ranges require the Multiple Match capability in your kernel and iptables" unless $globals{KLUDGEFREE};
+	validate_range $addr1, $addr2;
+	require_capability( 'IPRANGE_MATCH' , 'Address Ranges' , '' );
 	return ( iprange => "${invert}--src-range $net" );
     }
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to