From 20b6d10f17f30a2b71277c6b1d022f15cecf48a5 Mon Sep 17 00:00:00 2001 From: MaKaNu <32844273+MaKaNu@users.noreply.github.com> Date: Tue, 11 Mar 2025 17:35:13 +0100 Subject: [PATCH 1/4] Fix kea-dhcp4.conf.pre - change chapter number for Section "Host Storage" --- src/bin/keactrl/kea-dhcp4.conf.pre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/keactrl/kea-dhcp4.conf.pre b/src/bin/keactrl/kea-dhcp4.conf.pre index aced2a5261..a3e7e881ef 100644 --- a/src/bin/keactrl/kea-dhcp4.conf.pre +++ b/src/bin/keactrl/kea-dhcp4.conf.pre @@ -77,7 +77,7 @@ // "host": "localhost", // "port": 3306 // }, - // See Section 7.2.3 "Hosts storage" for details. + // See Section 8.2.3 "Hosts storage" for details. // Setup reclamation of the expired leases and leases affinity. // Expired leases will be reclaimed every 10 seconds. Every 25 From 9a0c74a8ed9971ae1cbd16fef76ad62e31b345fb Mon Sep 17 00:00:00 2001 From: MaKaNu <32844273+MaKaNu@users.noreply.github.com> Date: Tue, 11 Mar 2025 17:38:43 +0100 Subject: [PATCH 2/4] Fix Section reference kea-dhcp4.conf.pre - Fix section reference for Lease Storage --- src/bin/keactrl/kea-dhcp4.conf.pre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/keactrl/kea-dhcp4.conf.pre b/src/bin/keactrl/kea-dhcp4.conf.pre index a3e7e881ef..043f70daaa 100644 --- a/src/bin/keactrl/kea-dhcp4.conf.pre +++ b/src/bin/keactrl/kea-dhcp4.conf.pre @@ -56,7 +56,7 @@ // Depending on how Kea was compiled, it may also support SQL databases // (MySQL and/or PostgreSQL). Those database backends require more // parameters, like name, host and possibly user and password. - // There are dedicated examples for each backend. See Section 7.2.2 "Lease + // There are dedicated examples for each backend. See Section 8.2.2 "Lease // Storage" for details. "lease-database": { // Memfile is the simplest and easiest backend to use. It's an in-memory From 9e0570488b71500c803dbfc9d1594677371853ad Mon Sep 17 00:00:00 2001 From: MaKaNu <32844273+MaKaNu@users.noreply.github.com> Date: Tue, 11 Mar 2025 18:32:14 +0100 Subject: [PATCH 3/4] Fix more Sections kea-dhcp4.conf.pre - Section Option - Section Custom Option - Section Vendor Option - Section Classification --- src/bin/keactrl/kea-dhcp4.conf.pre | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/keactrl/kea-dhcp4.conf.pre b/src/bin/keactrl/kea-dhcp4.conf.pre index 043f70daaa..cef1002c3c 100644 --- a/src/bin/keactrl/kea-dhcp4.conf.pre +++ b/src/bin/keactrl/kea-dhcp4.conf.pre @@ -127,9 +127,9 @@ // are actually useful in your network. // // For a complete list of options currently supported by Kea, see - // Section 7.2.8 "Standard DHCPv4 Options". Kea also supports - // vendor options (see Section 7.2.10) and allows users to define their - // own custom options (see Section 7.2.9). + // Section 8.2.10 "Standard DHCPv4 Options". Kea also supports + // vendor options (see Section 8.2.13) and allows users to define their + // own custom options (see Section 8.2.11). "option-data": [ // When specifying options, you typically need to specify // one of (name or code) and data. The full option specification @@ -227,8 +227,8 @@ // each incoming packet. It is supposed to evaluate to either // true or false. If it's true, the packet is added to specified // class. See Section 12 for a list of available expressions. There - // are several dozens. Section 8.2.14 for more details for DHCPv4 - // classification and Section 9.2.19 for DHCPv6. + // are several dozens. Section 8.2.18 for more details for DHCPv4 + // classification and Section 9.2.23 for DHCPv6. "test": "substring(option[60].hex,0,6) == 'Aastra'", // If a client belongs to this class, you can define extra behavior. From c78351805562f9707500365fa6f905ab354898ce Mon Sep 17 00:00:00 2001 From: MaKaNu <32844273+MaKaNu@users.noreply.github.com> Date: Tue, 11 Mar 2025 18:44:34 +0100 Subject: [PATCH 4/4] Fix Section reference kea-dhcp4.conf.pre - Section Classification --- src/bin/keactrl/kea-dhcp4.conf.pre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/keactrl/kea-dhcp4.conf.pre b/src/bin/keactrl/kea-dhcp4.conf.pre index cef1002c3c..ec7daff05a 100644 --- a/src/bin/keactrl/kea-dhcp4.conf.pre +++ b/src/bin/keactrl/kea-dhcp4.conf.pre @@ -226,7 +226,7 @@ // This is a test. It is an expression that is being evaluated on // each incoming packet. It is supposed to evaluate to either // true or false. If it's true, the packet is added to specified - // class. See Section 12 for a list of available expressions. There + // class. See Section 15 for a list of available expressions. There // are several dozens. Section 8.2.18 for more details for DHCPv4 // classification and Section 9.2.23 for DHCPv6. "test": "substring(option[60].hex,0,6) == 'Aastra'",