Allow Shorewall6 on kernel 4.2.24

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2009-04-17 09:00:14 -07:00
parent 061ba85624
commit b8828d6ee1
3 changed files with 7 additions and 2 deletions

View File

@ -68,8 +68,8 @@ COMMAND="$1"
[ -n "${PRODUCT:=Shorewall6}" ] [ -n "${PRODUCT:=Shorewall6}" ]
kernel=$(printf "%2d%02d%02d\n" $(echo $(uname -r) 2> /dev/null | sed 's/-.*//' | tr '.' ' ' ) | head -n1) kernel=$(printf "%2d%02d%02d\n" $(echo $(uname -r) 2> /dev/null | sed 's/-.*//' | tr '.' ' ' ) | head -n1)
if [ $kernel -lt 20625 ]; then if [ $kernel -lt 20624 ]; then
error_message "ERROR: $PRODUCT requires Linux kernel 2.6.25 or later" error_message "ERROR: $PRODUCT requires Linux kernel 2.6.24 or later"
status=2 status=2
else else
case "$COMMAND" in case "$COMMAND" in

View File

@ -4,6 +4,8 @@ Changes in Shorewall 4.3.9
2) Fix netmask genereation in tcfilters. 2) Fix netmask genereation in tcfilters.
3) Allow Shorewall6 with kernel 2.6.24
Changes in Shorewall 4.3.8 Changes in Shorewall 4.3.8
1) Apply Tuomo Soini's patch for USE_DEFAULT_RT. 1) Apply Tuomo Soini's patch for USE_DEFAULT_RT.

View File

@ -110,6 +110,9 @@ None.
Notice also that the new LOG rule reflects the original action Notice also that the new LOG rule reflects the original action
("REJECT") rather than what Shorewall maps that to ("reject"). ("REJECT") rather than what Shorewall maps that to ("reject").
2) Shorewall6 has now been tested on kernel 2.6.24 (Ubuntu Hardy) and
hence will now start successfully when running on that kernel.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
N E W F E A T U R E S IN 4 . 3 N E W F E A T U R E S IN 4 . 3
---------------------------------------------------------------------------- ----------------------------------------------------------------------------