Up to [local] / src / sbin / dhcpleased
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 25 12:00:39 2023 UTC (6 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
HEAD
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)
First stab at IPv6-only preferred from RFC8925. This lets dhcpleased(8) request "IPv6-only preferred". If the server replies with this option dhcpleased stops and does not request a lease and deconfigures IPv4 on the interface. For now this is pretty much useless unless one dynamically configures pf(4) to act as a CLAT. gelatod(8) from ports can help with this. However, this helps me while hacking on a kernel based stateless CLAT by moving dhcpleased out of the way while having an IPv6-mostly network configured to compare behaviour with macOS. Input jmc OK phessler Input & OK sthen
Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 2 17:09:52 2023 UTC (15 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)
improve the Nd lines such that the format is consistent for the various *d, *conf, *ctl files (where relevant) and simple; also makes "man -k routing" more useful; help from claudio and florian ok claudio florian millert
Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 14 15:49:58 2022 UTC (23 months, 2 weeks ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)
The curly braces are tokens in the described language, so add the missing .Cm macros; markup error reported by espie@; OK florian@ espie@
Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:19 2022 UTC (2 years, 2 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)
man pages: add missing commas between subordinate and main clauses jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 4 06:20:37 2022 UTC (2 years, 4 months ago) by florian
Branch: MAIN
Changes since 1.8: +9 -2 lines
Diff to previous 1.8 (colored)
Make host name DHCP option configurable. Diff from hagen@sdf.org, tweaks by me. OK phessler testing & OK bket
Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 21 17:23:24 2021 UTC (2 years, 8 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)
Use upercase DHCP and sprinkle in some ":". Committing on behalf of jmc OK deraadt
Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 20 17:08:43 2021 UTC (2 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.6: +16 -2 lines
Diff to previous 1.6 (colored)
Document how a 0 byte can be encoded for client-id. Requested by & OK sthen mdoc clue by schwarze
Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 20 11:46:22 2021 UTC (2 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
According to RFC 2132 (9.14. Client identifier) a hardware type of 0 should be used when the client identifier is not a hardware address, for example if it's just a string. It turns out that the majority of dhcp clients (and possibly servers?) does not do this but rather transmits the client identifier verbatim if a string is configured. The first character becomes the hardware type. Make dhcpleased(8) behave the same. Difference in behavior with dhclient(8) and interoperability issues with dhcp(8) first pointed out by Olivier Cherrier on misc@ OK sthen fine to get it in for 7.0 deraadt
Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 12 12:41:08 2021 UTC (2 years, 9 months ago) by florian
Branch: MAIN
Changes since 1.4: +12 -1 lines
Diff to previous 1.4 (colored)
Make it possible to ignore routes or nameservers from a lease as well as ignoring servers entirely. Tested by bket Parser looks reasonable to benno man page OK jmc
Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 27 14:38:36 2021 UTC (2 years, 10 months ago) by florian
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)
Improve markup. Suggested by schwarze
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 27 14:12:41 2021 UTC (2 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
zap trailing comma in SEE ALSO;
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 26 12:59:41 2021 UTC (2 years, 10 months ago) by sthen
Branch: MAIN
Changes since 1.1: +7 -5 lines
Diff to previous 1.1 (colored)
small tweaks to dhcpleased.conf(5), ok jmc florian
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 26 09:26:36 2021 UTC (2 years, 10 months ago) by florian
Branch: MAIN
Implement possibility to send vendor class identifier (option 60) and client identifier (option 61). Some dhcp servers expect these options and refuse to hand out a lease without them. Need for vendor class identifier pointed out & tested by bket Need for client identifier pointed out by sthen Input & reads OK sthen (as part of a larger diff) OK kn (as part of a larger diff)