Project

General

Profile

Actions

Feature #8191

closed
KT

IPv6 - Support for configuring multiple DUID types

Feature #8191: IPv6 - Support for configuring multiple DUID types

Added by kang tastic almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
12/11/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

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.

KT Updated by kang tastic almost 9 years ago Actions #1

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.

KT Updated by kang tastic almost 9 years ago Actions #2

Sorry about Post 1, I typo'd the type numbers. Post 2 is correct.

JP Updated by Jim Pingle almost 9 years ago Actions #3

  • Category set to Interfaces

JP Updated by Jim Pingle over 8 years ago Actions #4

  • 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 8 years ago Actions #5

The different DUID types also appear to be formatted and stored in config.xml correctly for each respective option.

(On latest CE master.)

JP Updated by Jim Pingle over 8 years ago Actions #6

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom