OpenBSD CVS

CVS log for src/usr.sbin/dhcpd/tables.c


[BACK] Up to [local] / src / usr.sbin / dhcpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 22 18:06:44 2023 UTC (6 months, 1 week ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Recognize option ipv6-only-preferred (RFC8925).

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

OK denis, kn, deraadt

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 8 22:00:55 2019 UTC (5 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.13: +6 -3 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 13 19:13:14 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

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

ok benno@

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 6 23:50:10 2016 UTC (8 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.11: +12 -1 lines
Diff to previous 1.11 (colored)

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@.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 27 14:29:39 2015 UTC (8 years, 11 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored)

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@

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 21 03:07:51 2014 UTC (10 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

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!

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 1 08:42:31 2009 UTC (14 years, 9 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

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)

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 13 21:11:57 2009 UTC (15 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 4 22:44:21 2008 UTC (16 years, 2 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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

ok henning@ krw@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 17 00:17:52 2008 UTC (16 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

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

ok krw@ henning@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 29 16:51:02 2007 UTC (16 years, 7 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.4: +9 -6 lines
Diff to previous 1.4 (colored)

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@

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 28 15:19:18 2007 UTC (16 years, 7 months ago) by krw
Branch: MAIN
Changes since 1.3: +22 -18 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 18 00:43:27 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

various knf; henning ok

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 14 01:27:49 2004 UTC (20 years, 1 month ago) by henning
Branch: MAIN
Changes since 1.1: +40 -35 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 13 23:41:49 2004 UTC (20 years, 1 month ago) by henning
Branch: MAIN

may the whacking begin

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.