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)
Mon, Mar 3, 10:17 PM
Unknown Object (File)
Sun, Mar 2, 6:55 AM
Unknown Object (File)
Feb 10 2025, 5:16 AM
Unknown Object (File)
Feb 10 2025, 5:09 AM
Unknown Object (File)
Feb 3 2025, 2:48 PM
Unknown Object (File)
Feb 3 2025, 11:43 AM
Unknown Object (File)
Jan 28 2025, 3:36 AM
Unknown Object (File)
Jan 27 2025, 4:34 PM
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.