Feature #8191
closedIPv6 - Support for configuring multiple DUID types
100%
Description
There are currently four types of DUID (DHCP Unique Identifier) defined in IETF RFCs - DUID-LLT, DUID-EN, and DUID-LL (types 1, 3, and 4, cf. https://tools.ietf.org/html/rfc3315#section-9.1) and DUID-UUID (type 3, cf. https://tools.ietf.org/html/rfc6355) - and more may be defined in the future.
Since https://redmine.pfsense.org/issues/3971 was resolved, pfSense allows configuring a DUID-LLT in webConfigurator under System->Advanced->Networking. Whatever the user inputs there is written to dhcp6c's DUID file at /var/db/dhcp6c_duid. Although dhcp6c will only create a DUID-LLT on its own, it stores the entirety of the OPTION_CLIENTID option in the DHCPv6 datagrams it sends in its DUID file, except for the DHCPv6 option code of OPTION_CLIENTID itself. Therefore, by writing a correctly formed DUID file, the current DUID-LLT configuration facility in pfSense could be extended to allow configuring all current and future DUID types.
Updated by kang tastic almost 7 years ago
There are currently four types of DUID (DHCP Unique Identifier) defined in IETF RFCs - DUID-LLT, DUID-EN, and DUID-LL (types 1, 2, and 3, cf. https://tools.ietf.org/html/rfc3315#section-9.1) and DUID-UUID (type 4, cf. https://tools.ietf.org/html/rfc6355) - and more may be defined in the future.
Since https://redmine.pfsense.org/issues/3971 was resolved, pfSense allows configuring a DUID-LLT in webConfigurator under System->Advanced->Networking. Whatever the user inputs there is written to dhcp6c's DUID file at /var/db/dhcp6c_duid. Although dhcp6c will only create a DUID-LLT on its own, it stores the entirety of the OPTION_CLIENTID option in the DHCPv6 datagrams it sends in its DUID file, except for the DHCPv6 option code of OPTION_CLIENTID itself. Therefore, by writing a correctly formed DUID file, the current DUID-LLT configuration facility in pfSense could be extended to allow configuring all current and future DUID types.
Updated by kang tastic almost 7 years ago
Sorry about Post 1, I typo'd the type numbers. Post 2 is correct.
Updated by Jim Pingle almost 7 years ago
- Category set to Interfaces
Updated by Jim Pingle over 6 years ago
- Status changed from New to Feedback
- Target version set to 2.4.3
- % Done changed from 0 to 100
PR was merged a month ago
Updated by Anonymous over 6 years ago
The different DUID types also appear to be formatted and stored in config.xml correctly for each respective option.
(On latest CE master.)