On 1/25/2015 3:39 AM, Ed W wrote: > On 23/01/2015 16:24, Tom Eastep wrote: > >> The preferred way to do that is by adding LOCKFILE to the >> @propagateconfig array in Config.pm. >> >> Patch will be included in 4.6.6.1. >> >> -Tom > > Extremely fast work - thanks Tom! > > I'm trying to test 4.6.6.1 and running into something which is surely a > failure to read the upgrade instructions, can I ask for advice though: > > - I have the following line in mangle: > > MARK(|0x8000):P +cp1[2] 0.0.0.0/0 ALL - - - 0/0x8000 > > - It gives an error "ERROR: Unknown ipset option (2)...", I presume it's > not liking the "+cp1[2]" bit? > > Any chance of referring me to the relevant bit of the upgrade > instructions as I assume I'm not reading the ipset options correctly > now? (Note this was doing something expected in 4.5)
Looks like I managed to break that particular syntax :-( -- 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 \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Chains.pm
b/Shorewall/Perl/Shorewall/Chains.pm
index 8e7604c..d5bc3de 100644
--- a/Shorewall/Perl/Shorewall/Chains.pm
+++ b/Shorewall/Perl/Shorewall/Chains.pm
@@ -5510,7 +5510,7 @@ sub get_set_flags( $$ ) {
my $rest = '';
- if ( $setname =~ /^(.*)\[([1-6])(?:,(.*))\]$/ ) {
+ if ( $setname =~ /^(.*)\[([1-6])(?:,(.*))?\]$/ ) {
$setname = $1;
my $count = $2;
$rest = $3;
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
