Ok, all good. A colleague found the correct spot that explained that we now had
to establish this API access with a specific http control socket within the
dhcp config.
"control-sockets": [
{
"socket-type": "unix",
"socket-name": "/var/run/kea/kea4-ctrl-socket"
},
{
"socket-type": "http",
"socket-address": "x.x.x.x",
"socket-port": 8017,
"authentication": {
"type": "basic",
"realm": "kea-control-agent",
"clients": [
{
"user": "the-user",
"password": "the-password"
}
]
}
}
],
Thanks,
Jason Creviston
Sr. Network Administrator
P: 765-795-9305 2 S. West Street – P.O. Box 237, Cloverdale, IN
46120
Book an appointment with
me!<https://outlook.office365.com/owa/calendar/[email protected]/bookings/>
[cid:codetwo-signature-logo-endeavor_1c9b8f6f-f797-4b22-a7d8-b9c8f1b0c327.png]
[cid:codetwo-gigtel-logo2_e109b7e4-b185-40fc-94f2-947f96c612cf.png]
[cid:endeavor-it-signature-2_cad37e9b-ad7b-4219-a677-f37914c8d32a.png]
weEndeavor.com<http://weendeavor.com/> GigTel.com<http://gigtel.com/>
EndeavorIT.com<http://EndeavorIT.com>
CONFIDENTIALITY NOTICE: The information in this Email and my attachments are
confidential and may be privileged. This Email is intended solely for the named
recipient or recipients. If you are not the intended recipient, any use,
disclosure, copying or distribution of this Email is prohibited. If you are not
the intended recipient, please inform us by replying with the subject line
"Wrong Address" and then delete this Email and any attachments. Endeavor
Communications uses regularly updated anti-virus software in an attempt to
reduce the possibility of transmitting computer viruses. We do not guarantee,
however, that any attachments to this Email are virus-free.
________________________________
From: Kea-users <[email protected]> on behalf of Jason Creviston
<[email protected]>
Sent: Friday, October 31, 2025 11:10 AM
To: Kea user's list <[email protected]>
Subject: [Kea-users] version 3 API access credentials
CAUTION: This email is from OUTSIDE our organization. Please do not
open/download any attachment or click any link unless you know it's safe.
I failed to realize that the v3 software release enables API authentication.
This broke a tool's ability to communicate with the servers.
I've tried to scour docs, to figure out how to add auth, but nothing is
working. I found the user and password, but my javascript fetch is still
yielding a 403 forbidden.
const getIpInfo = await fetch(`http://${server}:8000`, {
method: 'POST',
body,
headers: {
'Content-Type': 'application/json',
'Authorization': `Basic the-user:the-password`
}
})
Thanks,
Jason Creviston
Sr. Network Administrator
P: 765-795-9305 2 S. West Street – P.O. Box 237, Cloverdale, IN
46120
Book an appointment with
me!<https://outlook.office365.com/owa/calendar/[email protected]/bookings/>
[cid:codetwo-signature-logo-endeavor_1c9b8f6f-f797-4b22-a7d8-b9c8f1b0c327.png]
[cid:codetwo-gigtel-logo2_e109b7e4-b185-40fc-94f2-947f96c612cf.png]
[cid:endeavor-it-signature-2_cad37e9b-ad7b-4219-a677-f37914c8d32a.png]
weEndeavor.com<http://weendeavor.com/> GigTel.com<http://gigtel.com/>
EndeavorIT.com<http://EndeavorIT.com>
CONFIDENTIALITY NOTICE: The information in this Email and my attachments are
confidential and may be privileged. This Email is intended solely for the named
recipient or recipients. If you are not the intended recipient, any use,
disclosure, copying or distribution of this Email is prohibited. If you are not
the intended recipient, please inform us by replying with the subject line
"Wrong Address" and then delete this Email and any attachments. Endeavor
Communications uses regularly updated anti-virus software in an attempt to
reduce the possibility of transmitting computer viruses. We do not guarantee,
however, that any attachments to this Email are virus-free.
--
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.
[email protected]