[Kea-users] Inter-process communication with the kea server?

Templin (US), Fred L Fred.L.Templin at boeing.com
Tue Sep 24 20:23:50 UTC 2024


Thank you - Fred

From: Kea-users <kea-users-bounces at lists.isc.org> On Behalf Of David Farje
Sent: Tuesday, September 24, 2024 1:21 PM
To: Kea user's list <kea-users at lists.isc.org>
Subject: Re: [Kea-users] Inter-process communication with the kea server?

The kea control channel can do what you need. disregard last email.

On Tue, Sep 24, 2024 at 2:42 PM David Farje <davidabelfarje at gmail.com<mailto:davidabelfarje at gmail.com>> wrote:
Sorry I just realized you're looking for something different.
You can use libkea-dhcpsrv libraries to interact with the allocation engine at a lower level. Handle with care. See:
https://reports.kea.isc.org/dev_guide/d8/d5f/libdhcpsrv.html
Hope this helps!
-David

On Tue, Sep 24, 2024 at 1:03 PM David Farje <davidabelfarje at gmail.com<mailto:davidabelfarje at gmail.com>> wrote:
Kea provides a control channel that supports Unix Domain Sockets which is a form of local inter-process communication.
You'll be using a file to communicate with kea instead of the network.  The file path can be configured in kea-dhcp6.conf

    "control-socket": {
        "socket-type": "unix",
        "socket-name": "/tmp/kea6-ctrl-socket"
    },

You can send your JSON configs directly there.

Hope this helps!
David Farje


On Tue, Sep 24, 2024 at 12:25 PM Templin (US), Fred L via Kea-users <kea-users at lists.isc.org<mailto:kea-users at lists.isc.org>> wrote:
Hi, I have an application that runs on the same system as the kea server from which I want
to perform inter-process IPv6 address/prefix delegation requests with kea without having
to engage the network stack. Does kea provide an API for inter-process communication in
that way?

Thank you - Fred
--
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users at lists.isc.org<mailto:Kea-users at lists.isc.org>
https://lists.isc.org/mailman/listinfo/kea-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240924/95edabf8/attachment-0001.htm>


More information about the Kea-users mailing list