This a hook for the Kea DHCP server that allows to run an external script at various points in the processing of DHCP requests and responses.

Baptiste Jonglez e9d7e1fa0c Use helpers to extract information from Kea data structures il y a 7 ans
src e9d7e1fa0c Use helpers to extract information from Kea data structures il y a 7 ans
.gitignore 5debad2e00 Add gitignore il y a 7 ans
Makefile b7cabeec0f Move all callouts in the same file, to simplify code sharing il y a 7 ans
README.md 663ce1834b Add TODO il y a 7 ans

README.md

TODO

  • handle all hook points
  • extract all relevant information for each hook point
  • document environment variables
  • allow to configure which hook points will trigger the script
  • take into account the return code of the script to set the status of the callout.
  • add proper logging (WIP)