Page MenuHomeFreeBSD

dhclient: Ignore vendor-identifying DHCP options defined in RFC 3925
ClosedPublic

Authored by michaelo on Sep 23 2024, 12:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 28, 3:36 AM
Unknown Object (File)
Mon, Jan 27, 4:34 PM
Unknown Object (File)
Sun, Jan 26, 5:57 PM
Unknown Object (File)
Sun, Jan 12, 1:53 PM
Unknown Object (File)
Dec 17 2024, 5:29 AM
Unknown Object (File)
Dec 5 2024, 10:16 PM
Unknown Object (File)
Dec 5 2024, 5:51 AM
Unknown Object (File)
Nov 24 2024, 3:24 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jlduran requested changes to this revision.Sep 23 2024, 5:40 PM
jlduran added a subscriber: jlduran.
sbin/dhclient/dhcp.h
177

For me, either DHO_V_I_VENDOR_CLASS or DHO_VI_VENDOR_CLASS are fine, however, they must match the definition in the header file (same for DHO_V_I_VENDOR_OPTS and DHO_VI_VENDOR_OPTS).

This revision now requires changes to proceed.Sep 23 2024, 5:40 PM

Tested against a Kea server, with a simplified version of the following example:
https://github.com/isc-projects/kea/blob/master/doc/examples/kea4/vivso.json

NOTE: For my future reference/testing:

Basically, just add:

{
    "data": "1",
    "name": "vivso-suboptions",
    "always-send": true
}

The essential part is always-send, by default Kea will send this option only if requested.

This revision is now accepted and ready to land.Sep 24 2024, 12:52 PM

Thank you Jose and Tom.