Don't assume that IP services are disabled just because firewall_enable

is not set to YES in rc.conf.

Noticed by:	Mikael Karpberg <karpen@ocean.campus.luth.se>
This commit is contained in:
Alexander Langer 1998-02-07 04:56:56 +00:00
parent dad3b88ae3
commit ad4463e18b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33149
7 changed files with 42 additions and 21 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.14 1998/01/10 03:33:39 alex Exp $
# $Id: rc.network,v 1.15 1998/02/01 00:20:56 wollman Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -81,8 +81,11 @@ network_pass1() {
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules are not enabled."
echo " All ip services are disabled."
if ipfw l 65535 | grep deny; then
echo -n "Warning: kernel has firewall functionality, "
echo "but firewall rules are not enabled."
echo " All ip services are disabled."
fi
fi
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.14 1998/01/10 03:33:39 alex Exp $
# $Id: rc.network,v 1.15 1998/02/01 00:20:56 wollman Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -81,8 +81,11 @@ network_pass1() {
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules are not enabled."
echo " All ip services are disabled."
if ipfw l 65535 | grep deny; then
echo -n "Warning: kernel has firewall functionality, "
echo "but firewall rules are not enabled."
echo " All ip services are disabled."
fi
fi
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.14 1998/01/10 03:33:39 alex Exp $
# $Id: rc.network,v 1.15 1998/02/01 00:20:56 wollman Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -81,8 +81,11 @@ network_pass1() {
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules are not enabled."
echo " All ip services are disabled."
if ipfw l 65535 | grep deny; then
echo -n "Warning: kernel has firewall functionality, "
echo "but firewall rules are not enabled."
echo " All ip services are disabled."
fi
fi
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.14 1998/01/10 03:33:39 alex Exp $
# $Id: rc.network,v 1.15 1998/02/01 00:20:56 wollman Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -81,8 +81,11 @@ network_pass1() {
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules are not enabled."
echo " All ip services are disabled."
if ipfw l 65535 | grep deny; then
echo -n "Warning: kernel has firewall functionality, "
echo "but firewall rules are not enabled."
echo " All ip services are disabled."
fi
fi
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.14 1998/01/10 03:33:39 alex Exp $
# $Id: rc.network,v 1.15 1998/02/01 00:20:56 wollman Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -81,8 +81,11 @@ network_pass1() {
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules are not enabled."
echo " All ip services are disabled."
if ipfw l 65535 | grep deny; then
echo -n "Warning: kernel has firewall functionality, "
echo "but firewall rules are not enabled."
echo " All ip services are disabled."
fi
fi
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.14 1998/01/10 03:33:39 alex Exp $
# $Id: rc.network,v 1.15 1998/02/01 00:20:56 wollman Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -81,8 +81,11 @@ network_pass1() {
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules are not enabled."
echo " All ip services are disabled."
if ipfw l 65535 | grep deny; then
echo -n "Warning: kernel has firewall functionality, "
echo "but firewall rules are not enabled."
echo " All ip services are disabled."
fi
fi
fi

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: rc.network,v 1.14 1998/01/10 03:33:39 alex Exp $
# $Id: rc.network,v 1.15 1998/02/01 00:20:56 wollman Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@ -81,8 +81,11 @@ network_pass1() {
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules are not enabled."
echo " All ip services are disabled."
if ipfw l 65535 | grep deny; then
echo -n "Warning: kernel has firewall functionality, "
echo "but firewall rules are not enabled."
echo " All ip services are disabled."
fi
fi
fi