Bug 210933 - net/dhcp6 ifid is not recognized as valid syntax in dhcp6c.conf
Summary: net/dhcp6 ifid is not recognized as valid syntax in dhcp6c.conf
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-08 22:00 UTC by lordsith49
Modified: 2018-08-23 20:26 UTC (History)
4 users (show)

See Also:
driesm.michiels: maintainer-feedback? (hrs)


Attachments
dhcp6c.conf file (862 bytes, text/plain)
2016-07-08 22:00 UTC, lordsith49
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lordsith49 2016-07-08 22:00:27 UTC
Created attachment 172261 [details]
dhcp6c.conf file

I believe ifid is supported in KAME DHCP6, or at least it is in the Linux version. Whenever I attempt to use it within a prefix-delegation I get the following error:

Jul  8 15:38:13 firewall dhcp6c[60585]: failed to decode base64 string
Jul  8 15:38:13 firewall dhcp6c[60585]: /usr/local/etc/dhcp6c.conf 29: syntax error
Jul  8 15:38:13 firewall dhcp6c[60585]: /usr/local/etc/dhcp6c.conf 29: fatal parse failure: exiting (1 errors)
Jul  8 15:38:13 firewall dhcp6c[60585]: failed to parse configuration file
Jul  8 15:38:13 firewall jonathan: /usr/local/etc/rc.d/dhcp6c: WARNING: failed to start dhcp6c

I've attached my config showing line 29 as the "ifid 1;" statement.
Comment 1 Hiroki Sato freebsd_committer 2016-07-09 09:30:36 UTC
ifid option is supported only in a patched version which is used in Linux distributions, not in the original KAME DHCP6.  Do you want us to add this feature?
Comment 2 lordsith49 2016-07-11 00:09:38 UTC
I was browsing freshports.org recently and saw a January 4th commit to "Update ifid on interface restart, it may have changed" so I thought maybe it wasn't just a Linux patch.

Most of the help I found when I originally configured my DHCPv6 client was from Linux forums and blogs so it probably wouldn't hurt to have.  I'll defer to your judgement on the value of adding it.
Comment 3 Andrey Pevnev 2017-03-01 17:01:53 UTC
I'd like ifid support to be added since that way address won't change if I have to replace the NIC.
Comment 4 Dries Michiels 2018-03-06 14:24:29 UTC
Could this be implemented as an option for the port? I could try to tackle this if someone can tell me where I can find the patch files.