summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-12-24 15:53:18 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-12-24 15:53:18 +0000
commitac33d245cdca0de6872bb2c021b6ccace193024f (patch)
tree8febbdc97b4f04425ea5ed156fc117a74763b3a8 /etc/rc
parentdf7f07967fd3582c473686b83dc919a313ccb390 (diff)
Simpler default block.
ok deraadt@
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 0d8e1917f2d..2704922505a 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.210 2002/12/13 10:20:25 henning Exp $
+# $OpenBSD: rc,v 1.211 2002/12/24 15:53:17 mcbride Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -119,7 +119,7 @@ echo 'setting tty flags'
ttyflags -a
if [ "X${pf}" != X"NO" ]; then
- RULES="block in all\nblock out all"
+ RULES="block all"
RULES="$RULES\npass in proto tcp from any to any port 22 keep state"
RULES="$RULES\npass out proto { tcp, udp } from any to any port 53 keep state"
case `sysctl vfs.mounts.nfs 2>/dev/null` in