<div dir="auto">Darren,</div><div dir="auto"><br></div><div dir="auto">Thank you for your reply, could you give high level working model to achieve this ? Would like to try implementing it.<br clear="all"><br clear="all"><div dir="auto"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">With Regards<div>Anil Kumar S N</div></div></div></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 21 Apr 2024 at 16:14, Darren Ankney <<a href="mailto:darren.ankney@gmail.com">darren.ankney@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Anil,<br>
<br>
It sounds like you need to write a custom hook to be able to<br>
accomplish those goals. There is a developer's guide which is a good<br>
starting point:<br>
<a href="https://reports.kea.isc.org/dev_guide/df/d46/hooksdgDevelopersGuide.html" rel="noreferrer" target="_blank">https://reports.kea.isc.org/dev_guide/df/d46/hooksdgDevelopersGuide.html</a><br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
On Sat, Apr 20, 2024 at 2:12 AM Anil kumar <<a href="mailto:anil.patna@gmail.com" target="_blank">anil.patna@gmail.com</a>> wrote:<br>
><br>
> Hi Peter,<br>
><br>
> Let's say we go the async way, I will post a message to my process from kea process's hook callback to my process which is bookkeeping.<br>
><br>
> Can KEAI hold off packet processing till it gets a green signal to proceed further with the packet from my bookkeeping process ?<br>
><br>
> If my bookkeeping code and kea were running on the same process I would have done all necessary things in the hook callback and let KEA continue processing the packet; Is there a way to make this step ASYNC with a different process. ?<br>
><br>
> With Regards<br>
> Anil Kumar S N<br>
><br>
> On Sat, 20 Apr 2024 at 11:29, Peter Davies <<a href="mailto:peterd@isc.org" target="_blank">peterd@isc.org</a>> wrote:<br>
>><br>
>> Hi Anil,<br>
>> I have no idea how you would go about doing this.<br>
>> However, the run script hooks library may be useful if you need Kea to send data<br>
>> to external processes.<br>
>><br>
>> See: <a href="https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#libdhcp-run-script-so-run-script-support-for-external-hook-scripts" rel="noreferrer" target="_blank">https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#libdhcp-run-script-so-run-script-support-for-external-hook-scripts</a><br>
>><br>
>> Kind Regards Peter<br>
>><br>
>><br>
>> On 20/04/2024 06.49, Anil kumar wrote:<br>
>><br>
>> Hi All,<br>
>><br>
>> 1. Would it be possible to compile KEA as a shared object and link it to my process ?<br>
>><br>
>> 2. I would like book keep and track all the clients as part of hook callbacks so that once address is assigned would want to updated Linux IP Routes tables and IP neighbor tables ?<br>
>><br>
>> Any suggestions and guidance from the community is highly appreciated.<br>
>><br>
>> With Regards<br>
>> Anil Kumar S N<br>
>><br>
>> --<br>
>> Peter Davies<br>
>> Support Engineer<br>
>> Internet Systems Corporation<br>
>><br>
>> --<br>
>> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
>><br>
>> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
>><br>
>> Kea-users mailing list<br>
>> <a href="mailto:Kea-users@lists.isc.org" target="_blank">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/listinfo/kea-users</a><br>
><br>
><br>
><br>
> --<br>
> With Regards<br>
> Anil Kumar S N<br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
><br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
><br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org" target="_blank">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/listinfo/kea-users</a><br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">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/listinfo/kea-users</a><br>
</blockquote></div></div>