summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/network.subr14
-rw-r--r--etc/rc.d/netoptions14
-rw-r--r--etc/rc.d/network114
-rw-r--r--etc/rc.d/network214
-rw-r--r--etc/rc.d/network314
-rw-r--r--etc/rc.d/routing14
-rw-r--r--etc/rc.network14
7 files changed, 98 insertions, 0 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 340be28..1f50bea 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -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
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index 340be28..1f50bea 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -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
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index 340be28..1f50bea 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -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
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index 340be28..1f50bea 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -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
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index 340be28..1f50bea 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -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
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 340be28..1f50bea 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -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
diff --git a/etc/rc.network b/etc/rc.network
index 340be28..1f50bea 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -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
OpenPOWER on IntegriCloud