From 067f435ac5ea2ba9a7c1f5236591e05b5c55354b Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 6 May 2018 13:31:54 -0700 Subject: [PATCH] Update BLACKLIST_DEFAULT if Drop or Reject Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 339bf483a..c361e76ba 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -5459,7 +5459,7 @@ sub update_config_file( $ ) { update_default( 'BLACKLIST_DEFAULT', 'AllowICMPs,dropBcasts,dropNotSyn,dropInvalid' ); } - for ( qw/DROP_DEFAULT REJECT_DEFAULT/ ) { + for ( qw/DROP_DEFAULT REJECT_DEFAULT BLACKLIST_DEFAULT/ ) { my $policy = $config{ $_ }; if ( $policy =~ /\bA_(?:Drop|Reject)\b/ ) {