<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hi Darren,</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Thanks for the link! I actually have already done so, but for a few reasons (I believe
 it is slower than a hook, and <a href="https://gitlab.isc.org/isc-projects/kea/-/issues/2622" title="https://gitlab.isc.org/isc-projects/kea/-/issues/2622" id="LPNoLPOWALinkPreview">
it's limited</a>) I would prefer to write a "native" one.<br>
</span></div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I sure wish it would have been implemented <a href="https://github.com/mozilla/application-services/issues/612" title="https://github.com/mozilla/application-services/issues/612" id="LPNoLPOWALinkPreview_1">
differently</a>, as something like gRPC + protobuf!<br>
</div>
<br>
<div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size: 11pt;" face="Calibri, sans-serif" color="#000000"><b>From:</b> Darren Ankney <darren.ankney@gmail.com><br>
<b>Sent:</b> Thursday, December 8, 2022 7:34 PM<br>
<b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> Re: [Kea-users] Hook Development - Rust</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">If nothing else, perhaps you could make use of the run_script hook:<br>
<a href="https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#run-script-run-script-support-for-external-hook-scripts" data-auth="NotApplicable">https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#run-script-run-script-support-for-external-hook-scripts</a><br>
You could probably write the "script" in whatever language you want,<br>
including rust, or at least that's the way I interpret it.<br>
<br>
On Thu, Dec 8, 2022 at 2:16 PM Eric Graham <eric.graham@vantagepnt.com> wrote:<br>
><br>
> Hello! First time using this / any mailing list, so critiques welcome.<br>
><br>
> I am looking into the possibility of writing a Rust hook. I understand that using C++ is likely the simplest alternative, but Rust is attractive for its memory safety and speed. I have not had luck finding any Kea hook in Rust to use as a starting point.
 The C FFI is a complicating factor. In fact, I have not had luck getting a very basic PoC to register with Kea, just implementing version(). Does anyone know of a hook even partially implemented in Rust, or have interest in doing so?<br>
><br>
> Thank you,<br>
> Eric<br>
><br>
> If this email belongs in the dev list, please correct me. Thanks.<br>
> This message is intended solely for the use of the individual and entity to whom it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable state and federal laws. If you are not the addressee
 or are not authorized to receive for the intended addressee you are hereby notified that you may not use, copy, distribute, or disclose to anyone this message or the information contained herein. If you have received this message in error, immediately advise
 the sender by reply email and destroy this message.<br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/" data-auth="NotApplicable">https://www.isc.org/contact/</a> for more information.<br>
><br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">
https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
><br>
> Kea-users mailing list<br>
> Kea-users@lists.isc.org<br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">
https://lists.isc.org/mailman/listinfo/kea-users</a><br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>