[Kea-users] New Kea hook to call external scripts: kea-hook-runscript

Baptiste Jonglez baptiste at bitsofnetworks.org
Sun Oct 22 17:52:39 UTC 2017


I have just released version 1.1.0 of kea-hook-runscript:

  https://code.ffdn.org/zorun/kea-hook-runscript/src/master/CHANGELOG.md
  https://github.com/zorun/kea-hook-runscript/releases

Full documentation is in the README:

  https://github.com/zorun/kea-hook-runscript/blob/master/README.md

The hook should now work fine with DHCPv6!  Feedback is welcome.

Baptiste

On 24-08-17, Baptiste Jonglez wrote:
> I have developed a generic hook that calls an external script at all hook
> points provided by Kea.  The goal is to simplify integration with Kea: for
> many simple use-cases, it is overkill to have to write a full-blown Kea
> hook, where a simple shell script can do the job.
> 
> This could be useful for several use-cases, but we currently use it to
> add/remove routes in the kernel routing table when DHCP clients connect or
> disconnect.
> 
> The code and documentation are here:
> 
>   https://code.ffdn.org/zorun/kea-hook-runscript
>   https://github.com/zorun/kea-hook-runscript (mirror)
> 
> If you find this useful or would like more variables to be provided to the
> external script, please send feedback or pull requests!  In particular,
> feel free to provide more examples (Kea config + script).
> 
> Note that the code is still a bit rough, especially for DHCPv6: see the
> TODO list at https://code.ffdn.org/zorun/kea-hook-runscript#todo
> 
> Baptiste



> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20171022/88463b20/attachment.bin>


More information about the Kea-users mailing list