From 818b927b731d35bfd24013901f53603e2739b69d Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 3 Jun 2011 18:26:46 -0700 Subject: [PATCH 1/2] Make Kernel Config article unmaintained --- docs/kernel.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/kernel.xml b/docs/kernel.xml index 6a08bc07a..5b251f43d 100644 --- a/docs/kernel.xml +++ b/docs/kernel.xml @@ -34,11 +34,10 @@ - - For information regarding configuring and building GNU/Linux - kernels, see http://www.kernelnewbies.org. - + + This article is + unmaintained. +
Network Options Configuration From a9c0824a307999166fb90fe8205527816a064d04 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 4 Jun 2011 07:44:07 -0700 Subject: [PATCH 2/2] Correct BLACKLIST_DISPOSITION=A_xxx with BLACKLIST_LOG_LEVEL Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Misc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index 6379ef105..8a48a7be8 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -203,7 +203,7 @@ sub setup_blacklist() { my $chainref; my $chainref1; my ( $level, $disposition ) = @config{'BLACKLIST_LOGLEVEL', 'BLACKLIST_DISPOSITION' }; - my $audit = $disposition =~ /^A_/; + my $audit = $disposition =~ s/^A_//; my $target = $disposition eq 'REJECT' ? 'reject' : $disposition; my $orig_target = $target; @@ -233,7 +233,7 @@ sub setup_blacklist() { $target = 'blacklog'; } elsif ( $audit ) { require_capability 'AUDIT_TARGET', "BLACKLIST_DISPOSITION=$disposition", 's'; - $target = verify_audit( $disposition ); + $target = verify_audit( $config{BLACKLIST_DISPOSITION} ); } }