From: Andrei Pavel Date: Mon, 25 Oct 2021 09:42:50 +0000 (+0300) Subject: [#2153] release changes X-Git-Tag: Kea-2.1.0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea1224f2e6d1e7df2a3dfa0f2ea9ffb59d968f38;p=thirdparty%2Fkea.git [#2153] release changes --- diff --git a/ChangeLog b/ChangeLog index 8d3961dca9..e9b3f3f91d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,12 @@ +Kea 2.1.0 (development) released on Oct 27, 2021 + 1957. [build] razvan Library version numbers bumped for Kea 2.1.0 development version. (Gitlab #2141) 1956. [bug] tmark - Modified stat_cmds hook library to omit statisics + Modified stat_cmds hook library to omit statistics for non-existent subnets from results returned by stat-lease4-get and stat-lease6-get commands. (Gitlab #2033) diff --git a/doc/examples/template-power-user-home/info.md b/doc/examples/template-power-user-home/info.md index 3944c1b6c3..2c92fa299f 100644 --- a/doc/examples/template-power-user-home/info.md +++ b/doc/examples/template-power-user-home/info.md @@ -95,7 +95,7 @@ To deploy this setup, you need to conduct the following steps: 5. Install CA and DHCPv4 on host2, similar to steps 1 and 2. Note the config file for the standby server is very similar, except the definition of ``this-server-name`` field - (and possibly inteface names). In many cases you can simply copy over the file + (and possibly interface names). In many cases you can simply copy over the file and just tweak it a little bit. Possible extensions diff --git a/doc/examples/template-power-user-home/kea-dhcp4-1.conf b/doc/examples/template-power-user-home/kea-dhcp4-1.conf index a706787f31..9f6bc22ef3 100644 --- a/doc/examples/template-power-user-home/kea-dhcp4-1.conf +++ b/doc/examples/template-power-user-home/kea-dhcp4-1.conf @@ -48,7 +48,7 @@ }, // Let's configure some global parameters. The home network is not very dynamic - // and there's no shortage of addresses, so no need to recycle aggresively. + // and there's no shortage of addresses, so no need to recycle aggressively. "valid-lifetime": 43200, // leases will be valid for 12h "renew-timer": 21600, // clients should renew every 6h "rebind-timer": 32400, // clients should start looking for other servers after 9h diff --git a/doc/examples/template-power-user-home/kea-dhcp4-2.conf b/doc/examples/template-power-user-home/kea-dhcp4-2.conf index ee9b6f38c9..23ff4264e2 100644 --- a/doc/examples/template-power-user-home/kea-dhcp4-2.conf +++ b/doc/examples/template-power-user-home/kea-dhcp4-2.conf @@ -48,7 +48,7 @@ }, // Let's configure some global parameters. The home network is not very dynamic - // and there's no shortage of addresses, so no need to recycle aggresively. + // and there's no shortage of addresses, so no need to recycle aggressively. "valid-lifetime": 43200, // leases will be valid for 12h "renew-timer": 21600, // clients should renew every 6h "rebind-timer": 32400, // clients should start looking for other servers after 9h diff --git a/doc/sphinx/arm/ext-gss-tsig.rst b/doc/sphinx/arm/ext-gss-tsig.rst index 0f85433e8a..453a8bf14f 100644 --- a/doc/sphinx/arm/ext-gss-tsig.rst +++ b/doc/sphinx/arm/ext-gss-tsig.rst @@ -250,7 +250,7 @@ You will be required to retype the password: Re-enter KDC database master key to verify: -If succesfully applied, the following message will be displayed: +If successfully applied, the following message will be displayed: .. code-block:: console @@ -278,7 +278,7 @@ following way: kadmin.local -q "addprinc -randkey DNS/server.example.org" -If succesfully created, the following message will be displayed: +If successfully created, the following message will be displayed: .. code-block:: console @@ -294,7 +294,7 @@ file with the name ``dns.keytab``. kadmin.local -q "ktadd -k /tmp/dns.keytab DNS/server.example.org" -If succesfully exported, the following message will be displayed: +If successfully exported, the following message will be displayed: .. code-block:: console @@ -309,7 +309,7 @@ following way: kadmin.local -q "addprinc -randkey DHCP/admin.example.org" -If succesfully created, the following message will be displayed: +If successfully created, the following message will be displayed: .. code-block:: console @@ -415,8 +415,8 @@ It is possible to get status or restart logs: systemctl status named.service journalctl -u named | tail -n 30 -Windows Advanced Directory Configuration -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Windows Active Directory Configuration +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This sub-section is based on an Amazon AWS provided Microsoft Windows Server 2016 with Active Directory pre-installed so describes only the steps used @@ -495,7 +495,8 @@ An excerpt from D2 server is provided below. More examples are available in the }, { // This server also has an entry there, so will // use GSS-TSIG, too. - "ip-address": "192.0.2.2" + "ip-address": "192.0.2.2", + "port": 5300 } ] } diff --git a/doc/sphinx/arm/hooks-ha.rst b/doc/sphinx/arm/hooks-ha.rst index 62b33ee18f..47883f13f6 100644 --- a/doc/sphinx/arm/hooks-ha.rst +++ b/doc/sphinx/arm/hooks-ha.rst @@ -1080,8 +1080,8 @@ be minimal. Currently, active servers place lease updates to be sent to peers onto internal queues (one queue per peer/URL). In passive-backup mode, active servers do not - wait for lease udpates to be acknowledged thus during times of heavy client - traffic it is possible for the number of lease updates queued for transimission + wait for lease updates to be acknowledged thus during times of heavy client + traffic it is possible for the number of lease updates queued for transmission to accumulate faster than they can be delivered. As client traffic lessens the queues begin to empty. As of Kea 2.0.0, active servers monitor the size of these queues and will emit periodic warnings (see HTTP_CILENT_QUEUE_SIZE_GROWING @@ -1091,7 +1091,7 @@ be minimal. and seeing them sporadically during times of heavy traffic load does not necessarily indicate a problem. If, however, they occur continually during times of routine traffic load they likely indicate potential mismatches in - server capibilities and/or configuration and this should be investigated as + server capabilities and/or configuration and this should be investigated as the size of the queues may eventually impair an active server's ability to respond to clients in a timely manner. diff --git a/src/bin/d2/nc_add.h b/src/bin/d2/nc_add.h index 15f31a4e2b..6bb8ce311f 100644 --- a/src/bin/d2/nc_add.h +++ b/src/bin/d2/nc_add.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/bin/d2/nc_remove.h b/src/bin/d2/nc_remove.h index f098680d95..672a3d9841 100644 --- a/src/bin/d2/nc_remove.h +++ b/src/bin/d2/nc_remove.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/bin/d2/simple_add.h b/src/bin/d2/simple_add.h index 43a5d678a2..bf617a50a7 100644 --- a/src/bin/d2/simple_add.h +++ b/src/bin/d2/simple_add.h @@ -1,4 +1,4 @@ -// Copyright (C) 2020 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2020-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/bin/d2/simple_remove.h b/src/bin/d2/simple_remove.h index 58bf1ef171..957cb138a7 100644 --- a/src/bin/d2/simple_remove.h +++ b/src/bin/d2/simple_remove.h @@ -1,4 +1,4 @@ -// Copyright (C) 2020 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2020-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/bin/d2/tests/d2_queue_mgr_unittests.cc b/src/bin/d2/tests/d2_queue_mgr_unittests.cc index d2d41f5e56..42177e6f6a 100644 --- a/src/bin/d2/tests/d2_queue_mgr_unittests.cc +++ b/src/bin/d2/tests/d2_queue_mgr_unittests.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/bin/dhcp4/dhcp4_messages.mes b/src/bin/dhcp4/dhcp4_messages.mes index 4de3e5bdc8..7419027d2c 100644 --- a/src/bin/dhcp4/dhcp4_messages.mes +++ b/src/bin/dhcp4/dhcp4_messages.mes @@ -920,10 +920,6 @@ environment variable is set. It's causing Kea to send packets to source address of incoming packet. Usable just in testing environment to simulate multiple subnet traffic from single source. -% DHCP6_DHCP4O6_PACKET_RECEIVED received DHCPv4o6 packet from DHCPv6 server (type %1) for %2 port %3 on interface %4 -This debug message is printed when the server is receiving a DHCPv4o6 -from the DHCPv6 server over inter-process communication. - % DHCP4_UNKNOWN_ADDRESS_REQUESTED %1: client requested an unknown address, client sent ciaddr %2, requested-ip-address %3 This message indicates that the client requested an address that does not belong to any dynamic pools managed by this server. The first argument @@ -931,3 +927,7 @@ contains the client and the transaction identification information. The second argument contains the IPv4 address in the ciaddr field. The third argument contains the IPv4 address in the requested-ip-address option (if present). + +% DHCP6_DHCP4O6_PACKET_RECEIVED received DHCPv4o6 packet from DHCPv6 server (type %1) for %2 port %3 on interface %4 +This debug message is printed when the server is receiving a DHCPv4o6 +from the DHCPv6 server over inter-process communication. diff --git a/src/bin/dhcp4/tests/dora_unittest.cc b/src/bin/dhcp4/tests/dora_unittest.cc index 6fa77c5e05..b8de99c7cb 100644 --- a/src/bin/dhcp4/tests/dora_unittest.cc +++ b/src/bin/dhcp4/tests/dora_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2014-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/hooks/dhcp/high_availability/ha_service.cc b/src/hooks/dhcp/high_availability/ha_service.cc index 9a15fa2c35..f7d2e8ec0b 100644 --- a/src/hooks/dhcp/high_availability/ha_service.cc +++ b/src/hooks/dhcp/high_availability/ha_service.cc @@ -2265,7 +2265,7 @@ HAService::synchronize(std::string& status_message, const std::string& server_na }); } else { - // Synchronization was unsuccessul. Send the dhcp-enable command to + // Synchronization was unsuccessful. Send the dhcp-enable command to // re-enable the DHCP service. Note, that we don't send the // ha-sync-complete-notify command in this case. It is only sent in // the case when synchronization ends successfully. diff --git a/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc b/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc index c8fddcfa7d..6aa6ca8896 100644 --- a/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc +++ b/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc @@ -5527,7 +5527,7 @@ TEST_F(HAServiceStateMachineTest, waitingParterDownLoadBalancingPartnerDown) { // It may happen when the partner did not crash but there was a temporary // communication error with it. It is possible that this server was not // configured to monitor unacked clients and that's why it transitioned - // to the partner-down state. The partner may be configured differiently. + // to the partner-down state. The partner may be configured differently. // The partner was not receiving lease updates from us, so we need to // force it to transition to the waiting state and synchronize. We stay // in the partner-down state as long as necessary to force the partner diff --git a/src/lib/asiodns/io_fetch.h b/src/lib/asiodns/io_fetch.h index fdbeee3fda..4b247abfa4 100644 --- a/src/lib/asiodns/io_fetch.h +++ b/src/lib/asiodns/io_fetch.h @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2018 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2010-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/d2srv/d2_update_message.cc b/src/lib/d2srv/d2_update_message.cc index 4a94a58dcb..1917d6e339 100644 --- a/src/lib/d2srv/d2_update_message.cc +++ b/src/lib/d2srv/d2_update_message.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/d2srv/d2_update_message.h b/src/lib/d2srv/d2_update_message.h index 91d379a2e0..8365128d05 100644 --- a/src/lib/d2srv/d2_update_message.h +++ b/src/lib/d2srv/d2_update_message.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/d2srv/d2_zone.cc b/src/lib/d2srv/d2_zone.cc index 3eef2441a7..c48b2c5fac 100644 --- a/src/lib/d2srv/d2_zone.cc +++ b/src/lib/d2srv/d2_zone.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/d2srv/d2_zone.h b/src/lib/d2srv/d2_zone.h index ec13871094..077ad16b8b 100644 --- a/src/lib/d2srv/d2_zone.h +++ b/src/lib/d2srv/d2_zone.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/d2srv/tests/d2_zone_unittests.cc b/src/lib/d2srv/tests/d2_zone_unittests.cc index 23bff13075..f252d07aa1 100644 --- a/src/lib/d2srv/tests/d2_zone_unittests.cc +++ b/src/lib/d2srv/tests/d2_zone_unittests.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/dhcp/dhcp6.h b/src/lib/dhcp/dhcp6.h index 0e53aff353..d971d22fb1 100644 --- a/src/lib/dhcp/dhcp6.h +++ b/src/lib/dhcp/dhcp6.h @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2020 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2006-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/dhcpsrv/dhcpsrv_messages.cc b/src/lib/dhcpsrv/dhcpsrv_messages.cc index 8d50c93ffe..d69865f46d 100644 --- a/src/lib/dhcpsrv/dhcpsrv_messages.cc +++ b/src/lib/dhcpsrv/dhcpsrv_messages.cc @@ -510,7 +510,7 @@ const char* values[] = { "DHCPSRV_PGSQL_START_TRANSACTION", "starting a new PostgreSQL transaction", "DHCPSRV_PGSQL_UPDATE_ADDR4", "updating IPv4 lease for address %1", "DHCPSRV_PGSQL_UPDATE_ADDR6", "updating IPv6 lease for address %1, lease type %2", - "DHCPSRV_QUEUE_NCR", "%1: name change request to %2 DNS entry queued: %3", + "DHCPSRV_QUEUE_NCR", "%1: Name change request to %2 DNS entry queued: %3", "DHCPSRV_QUEUE_NCR_FAILED", "%1: queuing %2 name change request failed for lease %3: %4", "DHCPSRV_QUEUE_NCR_SKIP", "%1: skip queuing name change request for lease: %2", "DHCPSRV_TIMERMGR_CALLBACK_FAILED", "running handler for timer %1 caused exception: %2", diff --git a/src/lib/eval/tests/context_unittest.cc b/src/lib/eval/tests/context_unittest.cc index 9d2844ae32..26ef533a99 100644 --- a/src/lib/eval/tests/context_unittest.cc +++ b/src/lib/eval/tests/context_unittest.cc @@ -404,7 +404,7 @@ public: EXPECT_EQ(expected_client_class, member->getClientClass()); } - /// @rief This tests attempts to parse the expression then checks + /// @brief This tests attempts to parse the expression then checks /// if the number of tokens is correct and the TokenMember is as /// expected. /// diff --git a/src/lib/http/client.cc b/src/lib/http/client.cc index 8eb3ed1eab..1d7074b618 100644 --- a/src/lib/http/client.cc +++ b/src/lib/http/client.cc @@ -985,7 +985,7 @@ private: /// @brief Adds a request to the end of the request queue. /// - /// If the size of the queue exceeds a threhsold and appears + /// If the size of the queue exceeds a threshold and appears /// to be growing it will emit a warning log. /// /// @param desc RequestDescriptor to queue.