mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 11:33:28 +01:00
More RESTOREBASE woes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1458 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4da17f6d9b
commit
4f5166ed26
@ -1,3 +1,7 @@
|
||||
Changes since 2.0.3c
|
||||
Changes in 2.0.4
|
||||
|
||||
1) Fix DNAT logging with 'fw' as the source zone.
|
||||
|
||||
Change in 2.0.5
|
||||
|
||||
2) Eradicate more RESTOREBASE messages.
|
||||
|
@ -1229,6 +1229,21 @@ disable_ipv6() {
|
||||
fi
|
||||
}
|
||||
|
||||
disable_ipv6_1() {
|
||||
local foo=$(ip -f inet6 addr ls 2> /dev/null)
|
||||
|
||||
if [ -n "$foo" ]; then
|
||||
if qt which ip6tables; then
|
||||
progress_message "Disabling IPV6..."
|
||||
ip6tables -P FORWARD DROP
|
||||
ip6tables -P INPUT DROP
|
||||
ip6tables -P OUTPUT DROP
|
||||
else
|
||||
error_message "WARNING: DISABLE_IPV6=Yes in shorewall.conf but this system does not appear to have ip6tables"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Stop the Firewall
|
||||
#
|
||||
@ -1280,7 +1295,7 @@ stop_firewall() {
|
||||
delete_proxy_arp
|
||||
[ -n "$CLEAR_TC" ] && delete_tc1
|
||||
|
||||
[ -n "$DISABLE_IPV6" ] && disable_ipv6
|
||||
[ -n "$DISABLE_IPV6" ] && disable_ipv6_1
|
||||
|
||||
if [ -z "$ADMINISABSENTMINDED" ]; then
|
||||
for chain in INPUT OUTPUT FORWARD; do
|
||||
|
@ -1,10 +1,17 @@
|
||||
Shorewall 2.0.4
|
||||
Shorewall 2.0.5
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Problems Corrected since 2.0.3c
|
||||
Problems Corrected in version 2.0.4
|
||||
|
||||
1) A DNAT rule with 'fw' as the source that specified logging caused
|
||||
"shorewall start" to fail.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Problems Corrected in version 2.0.5
|
||||
|
||||
1) Eliminated "$RESTOREBASE: ambiguous redirect" messages during
|
||||
"shorewll stop" in the case where DISABLE_IPV6=Yes in
|
||||
shorewall.conf.
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user