Hi Fred,

David, a Unix Domain Socket sounds like a good fit. What I want to have
happen

over the socket is for my application to mimic a DHCPv6 Client and request
IA_NA

and/or IA_PD delegations from kea acting as the DHCPv6 Server.


Is that possible?


I don't think this is possible. The only thing exposed via the unix socket
is a control channel.

The actual implementation of DHCP will always require a network stack.

If you want to keep  DHCPv6 communications local try to use localhost or
virtual interfaces.



On Tue, Sep 24, 2024 at 2:42 PM Templin (US), Fred L <
fred.l.temp...@boeing.com> wrote:

> David, a Unix Domain Socket sounds like a good fit. What I want to have
> happen
>
> over the socket is for my application to mimic a DHCPv6 Client and request
> IA_NA
>
> and/or IA_PD delegations from kea acting as the DHCPv6 Server. Is that
> possible?
>
>
>
> Thank you - Fred
>
>
>
> *From:* David Farje <davidabelfa...@gmail.com>
> *Sent:* Tuesday, September 24, 2024 10:03 AM
> *To:* Kea user's list <kea-users@lists.isc.org>
> *Cc:* Templin (US), Fred L <fred.l.temp...@boeing.com>
> *Subject:* Re: [Kea-users] Inter-process communication with the kea
> server?
>
>
>
> 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> 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
> 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