summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/dhcpd.conf.5
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2017-04-24 14:58:36 +0000
committerkrw <krw@openbsd.org>2017-04-24 14:58:36 +0000
commita51e987248c39601466de9e183d3901b5b7303cf (patch)
treee9528c1a32e4d1d47b44af3a93bed35bdd708a04 /usr.sbin/dhcpd/dhcpd.conf.5
parentProcess fdt before iobus devices. Needed later when interrupt and (diff)
downloadwireguard-openbsd-a51e987248c39601466de9e183d3901b5b7303cf.tar.xz
wireguard-openbsd-a51e987248c39601466de9e183d3901b5b7303cf.zip
Add 'echo-client-id' statment, so that RFC 6842 behaviour can be
turned off for those clients and networks that find it impossible to move past RFC 2131. Modelled on the same statement in recent ISC versions, though we default to 'on' (a.k.a. RFC 6842) rather that 'off' (a.k.a. RFC 2131). Problems reported by Bastien Durel (Xerox Phaser 6022 printer) and Bryan Vyhmeister (Hon Hai Precision router) via misc@. Thanks!
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.conf.5')
-rw-r--r--usr.sbin/dhcpd/dhcpd.conf.521
1 files changed, 19 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.conf.5 b/usr.sbin/dhcpd/dhcpd.conf.5
index 0910a67c5fd..459756bef14 100644
--- a/usr.sbin/dhcpd/dhcpd.conf.5
+++ b/usr.sbin/dhcpd/dhcpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dhcpd.conf.5,v 1.18 2017/02/04 22:21:57 jca Exp $
+.\" $OpenBSD: dhcpd.conf.5,v 1.19 2017/04/24 14:58:36 krw Exp $
.\"
.\" Copyright (c) 1995, 1996, 1997, 1998, 1998, 1999
.\" The Internet Software Consortium. All rights reserved.
@@ -36,7 +36,7 @@
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
.\"
-.Dd $Mdocdate: February 4 2017 $
+.Dd $Mdocdate: April 24 2017 $
.Dt DHCPD.CONF 5
.Os
.Sh NAME
@@ -919,6 +919,23 @@ Supplying a value for the
option is equivalent to using the
.Ic server-identifier
statement.
+.Pp
+The
+.Ic echo-client-id
+statement
+.Pp
+.D1 Ic echo-client-id Ar flag ;
+.Pp
+is used to enable or disable RFC 6842 compliant behavior.
+If the
+.Ic echo-client-id
+statement is present and has a
+value of true or on, and a DHCP DISCOVER or REQUEST is received which contains
+the client identifier option (Option code 61), the server will copy the option
+into its response (DHCP ACK or NAK) per RFC 6842.
+In other words if the client sends the option it will receive it back.
+By default, this flag is on
+and client identifiers will be echoed back to the client.
.Sh REFERENCE: OPTION STATEMENTS
DHCP option statements are documented in the
.Xr dhcp-options 5