<div dir="ltr">Thank you for this, Baptiste! We're are preparing our Kea deployment now, and will test it out.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 24, 2017 at 6:21 AM, Baptiste Jonglez <span dir="ltr"><<a href="mailto:baptiste@bitsofnetworks.org" target="_blank">baptiste@bitsofnetworks.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have developed a generic hook that calls an external script at all hook<br>
points provided by Kea.  The goal is to simplify integration with Kea: for<br>
many simple use-cases, it is overkill to have to write a full-blown Kea<br>
hook, where a simple shell script can do the job.<br>
<br>
This could be useful for several use-cases, but we currently use it to<br>
add/remove routes in the kernel routing table when DHCP clients connect or<br>
disconnect.<br>
<br>
The code and documentation are here:<br>
<br>
  <a href="https://code.ffdn.org/zorun/kea-hook-runscript" rel="noreferrer" target="_blank">https://code.ffdn.org/zorun/<wbr>kea-hook-runscript</a><br>
  <a href="https://github.com/zorun/kea-hook-runscript" rel="noreferrer" target="_blank">https://github.com/zorun/kea-<wbr>hook-runscript</a> (mirror)<br>
<br>
If you find this useful or would like more variables to be provided to the<br>
external script, please send feedback or pull requests!  In particular,<br>
feel free to provide more examples (Kea config + script).<br>
<br>
Note that the code is still a bit rough, especially for DHCPv6: see the<br>
TODO list at <a href="https://code.ffdn.org/zorun/kea-hook-runscript#todo" rel="noreferrer" target="_blank">https://code.ffdn.org/zorun/<wbr>kea-hook-runscript#todo</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Baptiste<br>
</font></span><br>______________________________<wbr>_________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/kea-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Eron Lloyd<div>President and Chief Analyst</div><div>Lloyd Analytics LLC</div></div></div>
</div>