Do an ipf -y after bringing up ppp to ensure rules which mention ppp get

matched.  Moification on PR to handle ipnat not being dependant on
ipfilter_enable

PR:	22859
This commit is contained in:
Darren Reed 2001-10-20 04:46:32 +00:00
parent 9645656d2c
commit f645349388
7 changed files with 98 additions and 0 deletions

View File

@ -275,6 +275,20 @@ network_pass1() {
;;
esac
# Re-Sync ipfilter
#
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
*)
case ${ipnat_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
esac
esac
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then

View File

@ -275,6 +275,20 @@ network_pass1() {
;;
esac
# Re-Sync ipfilter
#
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
*)
case ${ipnat_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
esac
esac
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then

View File

@ -275,6 +275,20 @@ network_pass1() {
;;
esac
# Re-Sync ipfilter
#
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
*)
case ${ipnat_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
esac
esac
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then

View File

@ -275,6 +275,20 @@ network_pass1() {
;;
esac
# Re-Sync ipfilter
#
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
*)
case ${ipnat_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
esac
esac
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then

View File

@ -275,6 +275,20 @@ network_pass1() {
;;
esac
# Re-Sync ipfilter
#
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
*)
case ${ipnat_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
esac
esac
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then

View File

@ -275,6 +275,20 @@ network_pass1() {
;;
esac
# Re-Sync ipfilter
#
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
*)
case ${ipnat_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
esac
esac
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then

View File

@ -275,6 +275,20 @@ network_pass1() {
;;
esac
# Re-Sync ipfilter
#
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
*)
case ${ipnat_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf -y}
;;
esac
esac
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then