Thank you - Fred

From: Kea-users <kea-users-boun...@lists.isc.org> On Behalf Of David Farje
Sent: Tuesday, September 24, 2024 1:21 PM
To: Kea user's list <kea-users@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 
<davidabelfa...@gmail.com<mailto:davidabelfa...@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 
<davidabelfa...@gmail.com<mailto:davidabelfa...@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@lists.isc.org<mailto:kea-users@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@lists.isc.org<mailto:Kea-users@lists.isc.org>
https://lists.isc.org/mailman/listinfo/kea-users
-- 
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to