summaryrefslogtreecommitdiffstats
path: root/debian/patches/0011-kea-ctrl-agent-authentication.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:45 +0000
commit7997b0d23671890191a2269fdea8d16c53dfbe05 (patch)
treeabfb4de3de840068ad7a123981cc2198e7a17827 /debian/patches/0011-kea-ctrl-agent-authentication.patch
parentAdding upstream version 2.4.1. (diff)
downloadisc-kea-7997b0d23671890191a2269fdea8d16c53dfbe05.tar.xz
isc-kea-7997b0d23671890191a2269fdea8d16c53dfbe05.zip
Adding debian version 2.4.1-2.debian/2.4.1-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0011-kea-ctrl-agent-authentication.patch')
-rw-r--r--debian/patches/0011-kea-ctrl-agent-authentication.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0011-kea-ctrl-agent-authentication.patch b/debian/patches/0011-kea-ctrl-agent-authentication.patch
new file mode 100644
index 0000000..1262bbc
--- /dev/null
+++ b/debian/patches/0011-kea-ctrl-agent-authentication.patch
@@ -0,0 +1,23 @@
+diff --git a/src/bin/keactrl/kea-ctrl-agent.conf.pre b/src/bin/keactrl/kea-ctrl-agent.conf.pre
+index e6ae8b8a..f7e3fed2 100644
+--- a/src/bin/keactrl/kea-ctrl-agent.conf.pre
++++ b/src/bin/keactrl/kea-ctrl-agent.conf.pre
+@@ -26,6 +26,18 @@
+ // is specifically for HA updates only.
+ "http-port": 8000,
+
++ "authentication": {
++ "type": "basic",
++ "realm": "Kea Control Agent",
++ "directory": "/etc/kea",
++ "clients": [
++ {
++ "user": "kea-api",
++ "password-file": "kea-api-password"
++ }
++ ]
++ },
++
+ // Specify location of the files to which the Control Agent
+ // should connect to forward commands to the DHCPv4, DHCPv6
+ // and D2 servers via unix domain sockets.