CVS commit: src/usr.sbin/pf/etc/defaults

2019-02-17 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sun Feb 17 20:45:47 UTC 2019

Modified Files:
src/usr.sbin/pf/etc/defaults: pf.boot.conf

Log Message:
pf.boot.conf: remove lingering references to dhclient(8), and while
here, capitalize acronyms. Addresses part of PR misc/53669.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/pf/etc/defaults/pf.boot.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/pf/etc/defaults/pf.boot.conf
diff -u src/usr.sbin/pf/etc/defaults/pf.boot.conf:1.4 src/usr.sbin/pf/etc/defaults/pf.boot.conf:1.5
--- src/usr.sbin/pf/etc/defaults/pf.boot.conf:1.4	Fri May 26 15:40:27 2017
+++ src/usr.sbin/pf/etc/defaults/pf.boot.conf	Sun Feb 17 20:45:47 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: pf.boot.conf,v 1.4 2017/05/26 15:40:27 hauke Exp $
+#	$NetBSD: pf.boot.conf,v 1.5 2019/02/17 20:45:47 gutteridge Exp $
 #
 # /etc/defaults/pf.boot.conf --
 #	initial configuration for pf(4)
@@ -15,12 +15,12 @@ block all
 # Don't block loopback.
 pass on lo0
 
-# Allow outgoing dns, needed by pfctl to resolve names.
+# Allow outgoing DNS, needed by pfctl to resolve names.
 pass out proto { tcp, udp } from any to any port 53 keep state
 
-# Allow outgoing ping request, might be needed by dhclient to validate
-# old (but valid) leases in /var/db/dhclient.leases in case it needs to
-# fall back to such a lease (the dhcp server can be down or not responding).
+# Allow outgoing ping request, might be used by a DHCP client to validate
+# old (but valid) leases in case it needs to fall back to such a lease
+# (the DHCP server can be down or not responding).
 pass out inet proto icmp all icmp-type echoreq keep state
 
 # Allow IPv6 router/neighbor solicitation and advertisement.
@@ -29,5 +29,5 @@ pass in inet6 proto ipv6-icmp all icmp6-
 pass out inet6 proto ipv6-icmp all icmp6-type routersol
 pass in inet6 proto ipv6-icmp all icmp6-type routeradv
 
-# Enable carp, to avoid spurious failovers.
+# Enable CARP, to avoid spurious failovers.
 pass proto carp



CVS commit: src/usr.sbin/pf/etc/defaults

2017-05-26 Thread Hauke Fath
Module Name:src
Committed By:   hauke
Date:   Fri May 26 15:40:27 UTC 2017

Modified Files:
src/usr.sbin/pf/etc/defaults: pf.boot.conf

Log Message:
Enable carp packets early during boot, to avoid gratuitous failovers.

Okayed by christos@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/pf/etc/defaults/pf.boot.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/pf/etc/defaults/pf.boot.conf
diff -u src/usr.sbin/pf/etc/defaults/pf.boot.conf:1.3 src/usr.sbin/pf/etc/defaults/pf.boot.conf:1.4
--- src/usr.sbin/pf/etc/defaults/pf.boot.conf:1.3	Sun Sep  2 15:28:43 2007
+++ src/usr.sbin/pf/etc/defaults/pf.boot.conf	Fri May 26 15:40:27 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: pf.boot.conf,v 1.3 2007/09/02 15:28:43 tron Exp $
+#	$NetBSD: pf.boot.conf,v 1.4 2017/05/26 15:40:27 hauke Exp $
 #
 # /etc/defaults/pf.boot.conf --
 #	initial configuration for pf(4)
@@ -28,3 +28,6 @@ pass out inet6 proto ipv6-icmp all icmp6
 pass in inet6 proto ipv6-icmp all icmp6-type neighbradv
 pass out inet6 proto ipv6-icmp all icmp6-type routersol
 pass in inet6 proto ipv6-icmp all icmp6-type routeradv
+
+# Enable carp, to avoid spurious failovers.
+pass proto carp