History log of /openbsd-src/usr.sbin/dhcpd/tables.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 89b82454 22-Nov-2023 florian <florian@openbsd.org>

Recognize option ipv6-only-preferred (RFC8925).

"option option-108 00:00:07:08;" is unwieldy and error prone.

OK denis, kn, deraadt


# 1fef8917 08-May-2019 krw <krw@openbsd.org>

Switch domain-search parsing from hand rolled hex string to
human readable list of strings.

Slightly tweaked version of a diff from William Ahern via tech@.

Long silence on all fronts leads to comm

Switch domain-search parsing from hand rolled hex string to
human readable list of strings.

Slightly tweaked version of a diff from William Ahern via tech@.

Long silence on all fronts leads to community based testing.

show more ...


# c525a185 13-Feb-2017 krw <krw@openbsd.org>

Switch from old errwarn.c logging to shiny new log.[ch].

ok benno@


# 837cddff 06-Feb-2016 krw <krw@openbsd.org>

Eliminate #include inside *.h files and include only needed headers in
each *.c file.

Inspired by mention of header silliness by Edgar Pettijohn and mmcc@
on tech@.


# 3f461432 27-Jun-2015 krw <krw@openbsd.org>

Do not send routers (option 3) or static routes (option 33) when
classless static routes (option 121, 249) are sent. RFC 3442 says
servers SHOULD NOT send those options.

This avoids confusing client

Do not send routers (option 3) or static routes (option 33) when
classless static routes (option 121, 249) are sent. RFC 3442 says
servers SHOULD NOT send those options.

This avoids confusing clients who fail to ignore the routers or
static routes options in the presence of classless static routes
options. RFC 3442 says clients MUST ignore those options.

Incorrect behavior in MS and Linux clients reported by Juan on
misc@.

ok millert@

show more ...


# 171f404e 21-Jan-2014 krw <krw@openbsd.org>

Add parsing for options 121 (classless-static-routes) and 249
(classless-ms-static-routes). dhcpd can now specify and serve
these options and dhclient can recognize and use supersede, etc.
statements

Add parsing for options 121 (classless-static-routes) and 249
(classless-ms-static-routes). dhcpd can now specify and serve
these options and dhclient can recognize and use supersede, etc.
statements on them.

Based on a diff from Stefan Rinke. Thanks!

show more ...


# 5b44f46d 01-Sep-2009 reyk <reyk@openbsd.org>

Echo back the Relay Agent Information option if present (RFC 3046).
Also add support for the "ipsec-tunnel" hardware type as described in
RFC 3456.

ok henning@ krw@ (but needs more testing from othe

Echo back the Relay Agent Information option if present (RFC 3046).
Also add support for the "ipsec-tunnel" hardware type as described in
RFC 3456.

ok henning@ krw@ (but needs more testing from others)

show more ...


# b506ca88 13-Jan-2009 sthen <sthen@openbsd.org>

add option 150, voip-configuration-server, as an array of IP addresses;
draft-raj-dhc-tftp-addr-option-05, req by Michael van der Westhuizen.

ok henning, krw, dlg


# 54fd98c3 04-Apr-2008 dlg <dlg@openbsd.org>

option 144 is commonly used for tftp-config-file.

ok henning@ krw@


# def86216 17-Mar-2008 dlg <dlg@openbsd.org>

option 252 is generally used to specify an autoproxy-script on a subnet.

ok krw@ henning@


# cd4ecb23 29-Oct-2007 krw <krw@openbsd.org>

More tweaking of option processing, this time around the creation of
the priority list. Add create_priority_list() and use it to
consistantly merge mandatory, supplied and default option priority
lis

More tweaking of option processing, this time around the creation of
the priority list. Add create_priority_list() and use it to
consistantly merge mandatory, supplied and default option priority
lists into a reliable and complete list of options sorted by priority.
No intended functional change other than ensuring all options
available are returned.

"looks good" henning@ "OK, fair enough" millert@

show more ...


# ba64cb98 28-Oct-2007 krw <krw@openbsd.org>

Remove duplicate DHO_HOST_NAME entry and add missing
DHO_DHCP_USER_CLASS_ID entry to dhcp_option_default_priority_list[].
Reformat list of numbers at the end of dhcp_option_default_priority_list[]
so

Remove duplicate DHO_HOST_NAME entry and add missing
DHO_DHCP_USER_CLASS_ID entry to dhcp_option_default_priority_list[].
Reformat list of numbers at the end of dhcp_option_default_priority_list[]
so it is easy to see which options are defined. No functional change.

show more ...


# 8e1c2028 18-Apr-2004 deraadt <deraadt@openbsd.org>

various knf; henning ok


# c824f21b 14-Apr-2004 henning <henning@openbsd.org>

the ones from dhclient do, and they're already KNF'd and annsified...


# e853bc5d 13-Apr-2004 henning <henning@openbsd.org>

may the whacking begin