Change default value of LOG_MARTIANS to 'On'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8186 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-02-13 20:05:18 +00:00
parent 667e76f8bf
commit 1c8a0e0eb0
5 changed files with 18 additions and 3 deletions

View File

@ -2,6 +2,8 @@ Changes in 4.1.5
1) More ruleset optimization. 1) More ruleset optimization.
2) Make LOG_MARTIANS=Yes the default.
Changes in 4.1.4 Changes in 4.1.4
1) Fix do_test() to accept 0 and to use the same mask as 1) Fix do_test() to accept 0 and to use the same mask as

View File

@ -1916,7 +1916,7 @@ do_initialize() {
;; ;;
esac esac
else else
LOG_MARTIANS= LOG_MARTIANS=yes
fi fi
[ -n "${BLACKLIST_DISPOSITION:=DROP}" ] [ -n "${BLACKLIST_DISPOSITION:=DROP}" ]

View File

@ -34,6 +34,15 @@ Migration Issues.
REDIRECT- REDIRECT-
DNAT- DNAT-
4) The default value for LOG_MARTIANS is now 'On'. Previously, the
default value was 'Keep'. You can either:
a) Accept the new default -- martians will be logged from all
interfaces except those with log_martians=0 in shorewall.conf.
b) Explicitly set LOG_MARTIANS=keep to maintain compatibility with
prior versions of Shorewall.
Problems corrected in 4.1.5. Problems corrected in 4.1.5.
None. None.
@ -45,6 +54,10 @@ New Features in 4.1.5.
the effect of reducing the average number of rules that each packet the effect of reducing the average number of rules that each packet
must traverse. must traverse.
4) The default value for LOG_MARTIANS is now 'On'. Previously, the
default value was 'Keep'. The shorewall.conf file has also been
updated to specify a value of 'On'.
New Features in Shorewall 4.1. New Features in Shorewall 4.1.
1) Shorewall 4.1 contains experimental support for multiple Internet 1) Shorewall 4.1 contains experimental support for multiple Internet

View File

@ -62,7 +62,7 @@ RFC1918_LOG_LEVEL=info
SMURF_LOG_LEVEL=info SMURF_LOG_LEVEL=info
LOG_MARTIANS=No LOG_MARTIANS=On
############################################################################### ###############################################################################
# L O C A T I O N O F F I L E S A N D D I R E C T O R I E S # L O C A T I O N O F F I L E S A N D D I R E C T O R I E S

View File

@ -1799,7 +1799,7 @@ sub get_configuration( $ ) {
check_trivalue ( 'IP_FORWARDING', 'on' ); check_trivalue ( 'IP_FORWARDING', 'on' );
check_trivalue ( 'ROUTE_FILTER', '' ); check_trivalue ( 'ROUTE_FILTER', '' );
check_trivalue ( 'LOG_MARTIANS', '' ); check_trivalue ( 'LOG_MARTIANS', 'on' );
default 'STARTUP_LOG' , ''; default 'STARTUP_LOG' , '';