From efd3264ee30652d03afd09db97cd318c36c76de0 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 7 Aug 2004 00:50:26 +0000 Subject: permit icmp6-type routersol out, and icmp6-type routeradv in, at boot time --- etc/rc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index 140ad389647..3c5dae52c45 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.249 2004/07/06 04:05:27 henning Exp $ +# $OpenBSD: rc,v 1.250 2004/08/07 00:50:25 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -138,6 +138,8 @@ if [ "X${pf}" != X"NO" ]; then 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" RULES="$RULES\npass out inet proto icmp all icmp-type echoreq keep state" + RULES="$RULES\npass out inet6 proto icmp6 all icmp6-type routersol" + RULES="$RULES\npass in inet6 proto icmp6 all icmp6-type routeradv" RULES="$RULES\npass proto { pfsync, carp }" case `sysctl vfs.mounts.nfs 2>/dev/null` in *[1-9]*) -- cgit v1.2.3