Latest IPFilter requires flushing rules for IPv6 separately
from IPv4.
This commit is contained in:
parent
4bfc36240e
commit
b209d7e493
@ -84,6 +84,7 @@ ipfilter_start()
|
||||
${ipfilter_program:-/sbin/ipf} \
|
||||
-f "${ipfilter_rules}" ${ipfilter_flags}
|
||||
fi
|
||||
${ipfilter_program:-/sbin/ipf} -6 -Fa
|
||||
if [ -r "${ipv6_ipfilter_rules}" ]; then
|
||||
${ipfilter_program:-/sbin/ipf} -6 \
|
||||
-f "${ipv6_ipfilter_rules}" ${ipfilter_flags}
|
||||
@ -127,6 +128,7 @@ ipfilter_reload()
|
||||
${ipfilter_program:-/sbin/ipf} -I \
|
||||
-f "${ipfilter_rules}" ${ipfilter_flags}
|
||||
fi
|
||||
${ipfilter_program:-/sbin/ipf} -I -6 -Fa
|
||||
if [ -r "${ipv6_ipfilter_rules}" ]; then
|
||||
${ipfilter_program:-/sbin/ipf} -I -6 \
|
||||
-f "${ipv6_ipfilter_rules}" ${ipfilter_flags}
|
||||
|
@ -110,6 +110,7 @@ network_pass1() {
|
||||
-f "${ipfilter_rules}" \
|
||||
${ipfilter_flags}
|
||||
fi
|
||||
${ipfilter_program:-/sbin/ipf} -6 -Fa
|
||||
if [ -r "${ipv6_ipfilter_rules}" ]; then
|
||||
${ipfilter_program:-/sbin/ipf} -6 \
|
||||
-f "${ipv6_ipfilter_rules}" \
|
||||
|
Loading…
Reference in New Issue
Block a user