On 8/14/2015 7:47 AM, Tom Eastep wrote: > RC 2 is now available for testing. I am breaking with my usual practice > and am including new functionality after RC1 is released. I have been > working on Shorewall 5 where I want to drop support for several old > configuration files: > > - blacklist > - tcrules > - routestopped > - notrack > > Since the 'update' command wasn't complete with respect to this set of > files, I've added a couple of options to the command -- see below.
RC 2 is missing the attached patch. Without it, the notrack file is not processed during normal start/restart/check operations. -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/Raw.pm b/Shorewall/Perl/Shorewall/Raw.pm
index ac7864d..c8340fc 100644
--- a/Shorewall/Perl/Shorewall/Raw.pm
+++ b/Shorewall/Perl/Shorewall/Raw.pm
@@ -278,9 +278,8 @@ sub process_format( $ ) {
sub setup_conntrack($) {
my $convert = shift;
my $fn;
- my @files = $convert ? ( qw/notrack conntrack/ ) : ( 'conntrack' );
- for my $name ( @files ) {
+ for my $name ( qw/notrack conntrack/ ) {
$fn = open_file( $name, 3 , 1 );
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
