pfSense Support Subscription

Author Topic: IPv6 lease files needed; Working on a patch for #7413  (Read 385 times)

0 Members and 1 Guest are viewing this topic.

Offline al

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +1/-0
    • View Profile
IPv6 lease files needed; Working on a patch for #7413
« on: June 27, 2017, 02:29:23 pm »
Hi all,

I'm working on a patch for #7413
( https://redmine.pfsense.org/issues/7413 - 'status_dhcpv6_leases.php: Some DHCPv6 leases are not displayed in the GUI' )
concerning different issues of parsing the DHCPv6 lease file.

I try to fix it once and for all - and hopefully in a more precise and readable way.
However I need some lease files to cover all the keywords used under different configurations.

Would anyone be able to supply me with lease files that contain some (or all) of the below keywords:

failover
starts
tstp
tsfp
atsfp

(below from binding state)
free
backup
released

next
hardware
client-hostname
uid



Thanks!

Offline al

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +1/-0
    • View Profile
Re: IPv6 lease files needed; Working on a patch for #7413
« Reply #1 on: December 03, 2017, 03:10:53 pm »
I have created a patch and wrote about it here:
https://redmine.pfsense.org/issues/7413#change-35288

Offline marjohn56

  • Sr. Member
  • ****
  • Posts: 526
  • Karma: +51/-2
    • View Profile
Re: IPv6 lease files needed; Working on a patch for #7413
« Reply #2 on: December 04, 2017, 02:29:09 am »
Tried adding the patch using system patches and get Patch Fetch failed.
pfSense 2.4.3 on Qotom Q355G4 or APU2C4 - Billion 8800NL (bridge) - ISP Zen U.K.
Please do not PM me for help. I have a life to live too.

Offline al

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +1/-0
    • View Profile
Re: IPv6 lease files needed; Working on a patch for #7413
« Reply #3 on: December 07, 2017, 03:24:44 pm »
Hi marjohn56,

I wait for feedback re. the patch - I have not sent an official pull request yet, but mentioned where my github repo is with the files:
https://github.com/al-right/pfSense-dhcpv6-gui-leases-patch

The reason is that there are many changes and the patch rather big, but if I get time this weekend I will
make a patch where I move most of the files into a sub directory of /usr/local/www/ and also make a smaller
amend to one of the files.

But thanks for your interest - I'll update this forum thread once there is news.

Offline marjohn56

  • Sr. Member
  • ****
  • Posts: 526
  • Karma: +51/-2
    • View Profile
Re: IPv6 lease files needed; Working on a patch for #7413
« Reply #4 on: December 07, 2017, 04:08:41 pm »
It's not a requirement to have issued a PR to use the pfSense patches system. As long as the commit you have issued is complete.
pfSense 2.4.3 on Qotom Q355G4 or APU2C4 - Billion 8800NL (bridge) - ISP Zen U.K.
Please do not PM me for help. I have a life to live too.