Backport reference count fix to 4.4.8

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-04-07 19:56:08 -07:00
parent e0e83281b4
commit 1294ef4df4
3 changed files with 12 additions and 1 deletions

View File

@ -1424,6 +1424,7 @@ sub replace_references1( $$$ ) {
#
s/ -p [^ ]+ / / if / -p / && $matches =~ / -p /;
s/\s+-([jg]) $chainref->{name}(\b)/$matches -$1 ${target}$2/;
add_reference( $fromref, $chain_table{$table}{$target} );
$count++;
}
}

View File

@ -1,3 +1,7 @@
Changes in Shorewall 4.4.8.2
1) Fix OPTIMIZE 4 bug.
Changes in Shorewall 4.4.8.1
1) Correct handling of a logical interface name in the EXTERNAL column

View File

@ -218,6 +218,12 @@ VI. PROBLEMS CORRECTED AND NEW FEATURES IN PRIOR RELEASES
I I I. P R O B L E M S C O R R E C T E D I N T H I S R E L E A S E
----------------------------------------------------------------------------
4.4.8.2
1) If an unnecessary NONAT rule is included in /etc/shorewall/rules,
'shorewall start' and/or 'shorewall restart' can fail with invalid
iptables-restore input.
4.4.8.1
1) Logical interface names in the EXTERNAL column of