Netgate SG-1000 microFirewall

Author Topic: 2.4.2 update broke DHCPv6 lease list and/or reservations?  (Read 329 times)

0 Members and 1 Guest are viewing this topic.

Offline ruthenium

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
2.4.2 update broke DHCPv6 lease list and/or reservations?
« on: November 30, 2017, 07:46:55 pm »
After installing 2.4.2 update I have discovered that the client machines (Mac and Linux) are not getting their statically mapped addresses. The DHCPv6 Leases list does not show any dynamic leases, though all client machines have valid IPv6 addresses, just not the statically mapped ones. Is it the same for everyone or just me?

/var/dhcpd/var/db/dhcpd6.leases file shows that the leases are actually handed out, but the GUI does not show them. As it does not show, it is hard to tell if DUID interpretation in the new pfSense update somehow changed. I am not sure how to translate the string like \000\000\000\000\000\001\000\001!\263\007\334\250 fOf\201 in the leases table to the reservation format DUID-LLT - ETH -- TIME --- ---- address ---- xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx, which pfSense wants. Can anyone advise?

(Update) Apparently DUID interpretation somehow changed in pfSense. Just found out how to translate "ia-na" strings in dhcpd6.leases to the DUID format, which pfSense expects. If anyone interested, it goes like this. The string is in ASCII format, where the unprintable characters are replaced by their octal representation. For instance, \334 stands for DC in hexadecimal. Since the target is a hexadecimal string, all that is needed is to convert all characters and all octals into hexadecimals and take off first four. The remaining string is what pfSense expects. I did this conversion for a couple of clients and reservation for them started working. Of course, it would have been nice to avoid the whole computation by looking them up in the list of dynamic leases, but, as I said, it is probably broken.
« Last Edit: November 30, 2017, 09:12:31 pm by ruthenium »

marjohh

  • Guest
Re: 2.4.2 update broke DHCPv6 lease list and/or reservations?
« Reply #1 on: December 01, 2017, 08:32:42 am »
Strange, mine does. However I am running 2.4.3.

Offline ruthenium

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: 2.4.2 update broke DHCPv6 lease list and/or reservations?
« Reply #2 on: December 01, 2017, 10:42:10 am »
False alarm with changing DUIDs. OS upgrade would do that. But the dynamic leases are indeed not showing for me. Will see if 2.4.3 fixes it.

Offline virgiliomi

  • Sr. Member
  • ****
  • Posts: 573
  • Karma: +74/-4
    • View Profile
Re: 2.4.2 update broke DHCPv6 lease list and/or reservations?
« Reply #3 on: December 02, 2017, 06:25:22 am »
There's a known issue with the DHCPv6 lease list not working right... Bug 7413

It's been kicked down the road a couple of versions now, since at least 2.4.0... hopefully it gets fixed soon.