OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Feature Request
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Eric Luehrsen - 18.01.2017

FS#401 - odhcpd: lease trigger script receives no arguments

when odhcpd calls the “lease trigger” script it does not pass any arguments to the script. The reason for the trigger and the host involved in the trigger are not shared. There is no discretion for RENEW, REBIND, CONFIRM, or RELEASE. Scripts which wish to load DNS with limited data, need to store their own copy of DHCP lease file and do differences. Otherwise a raw translate and dump of a large DHCP network could cause a lot of congestion as DHCP clients come on line. Reseting a network can cause an “in rush” flow like air conditioning loads on a power grid during a summer power outage.
This is exacerbated if the DNS is served on a separate device over the network, such as nsd and nsd-control (bind or unbound also). It would be good to at least pass the command and parameters common to a odhcpd lease file line.

Dave Täht commented on 19.01.2017 21:18

Eric I am going to take a hard look at  bug 388 , and I see all these odhpcd features you just opened.

Would you have time to code/test with me?


Available keyboard shortcuts


Task Details

Task Editing