]>
git.ipfire.org Git - thirdparty/kea.git/log
Razvan Becheriu [Sat, 7 Jan 2023 20:00:51 +0000 (22:00 +0200)]
[#2704] fixed clang TSAN warnings by startong thread pools after setting up connections
Andrei Pavel [Thu, 16 Feb 2023 13:33:54 +0000 (15:33 +0200)]
[#2402] remove the regex check in statusGet UT
It caused failures on CentOS 7 and FreeBSDs 12 and 13.
unknown file: Failure
C++ exception with description "regex_error" thrown in the test body.
[ FAILED ] CtrlChannelDhcpv4SrvTest.statusGet (3 ms)
Andrei Pavel [Wed, 15 Feb 2023 11:20:23 +0000 (13:20 +0200)]
[#2402] add ChangeLog entry
Andrei Pavel [Tue, 14 Feb 2023 12:22:00 +0000 (14:22 +0200)]
[#2402] fix a transient unit test failure
Andrei Pavel [Tue, 7 Feb 2023 14:31:55 +0000 (16:31 +0200)]
[#2402] document default MT
Andrei Pavel [Tue, 7 Feb 2023 12:23:24 +0000 (14:23 +0200)]
[#2402] adapt tests to MT enabled by default
Andrei Pavel [Mon, 6 Feb 2023 20:22:43 +0000 (22:22 +0200)]
[#2402] enable MT by default
Thomas Markwalder [Mon, 13 Feb 2023 18:58:23 +0000 (13:58 -0500)]
[#2720] Added ChangeLog
Thomas Markwalder [Fri, 10 Feb 2023 15:20:20 +0000 (10:20 -0500)]
[#2720] Changed EVAL_RESULT logger destination in dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::requiredClassify(Dhcpv4Exchange& ex) - changed
logger destination
Andrei Pavel [Tue, 14 Feb 2023 07:59:24 +0000 (09:59 +0200)]
[#2742] add ChangeLog entry
Andrei Pavel [Wed, 8 Feb 2023 18:57:12 +0000 (20:57 +0200)]
[#2742] run no tests when gtest is disabled
What this provides is really the ability to run a testless distcheck.
Francis Dupont [Thu, 9 Feb 2023 23:05:18 +0000 (00:05 +0100)]
[#2746] Aligned to This in new option descriptions
Francis Dupont [Wed, 8 Feb 2023 15:35:31 +0000 (16:35 +0100)]
[#2746] Addressed comments
Francis Dupont [Tue, 7 Feb 2023 10:32:32 +0000 (11:32 +0100)]
[#2746] Updated doc
Tomek Mrugalski [Mon, 13 Feb 2023 19:03:21 +0000 (20:03 +0100)]
[#2494] ChangeLog, AUTHORS updated
Kevin P. Fleming [Fri, 15 Jul 2022 16:00:26 +0000 (12:00 -0400)]
[#2494] correct JSON syntax in some configuration examples
Thomas Markwalder [Mon, 13 Feb 2023 18:46:18 +0000 (13:46 -0500)]
[#2641] Corrected minor UT issues
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
Andrei Pavel [Mon, 13 Feb 2023 15:07:56 +0000 (15:07 +0000)]
Apply 2 suggestion(s) to 2 file(s)
Thomas Markwalder [Mon, 6 Feb 2023 13:55:22 +0000 (08:55 -0500)]
[#2631] Credit added to ChangeLog
Thomas Markwalder [Fri, 3 Feb 2023 16:00:05 +0000 (11:00 -0500)]
[#2631] Revised comment
src/lib/dhcpsrv/alloc_engine.cc
Thomas Markwalder [Wed, 1 Feb 2023 16:51:41 +0000 (11:51 -0500)]
[#2631] Updated AUTHORS file
Thomas Markwalder [Wed, 1 Feb 2023 16:36:20 +0000 (11:36 -0500)]
[#2631] Fixed ChangeLog typo
Thomas Markwalder [Wed, 25 Jan 2023 15:00:12 +0000 (10:00 -0500)]
[#2631] Global reserved addresses must be feasible
kea-dhcp<4/6> both now enforce globally reserved addresses
to be within the selected subnet/shared-network
Added a ChangeLog entry
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
Updated global reservation commmentary
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::allocateGlobalReservedLeases6() - modified to enforce
address feasibility/subnet reselect
AllocEngine::labelNetworkOrSubnet() - new convenience method for logging
hasAddressReservation() - modified to enforce
address feasibility/subnet reselect
src/lib/dhcpsrv/alloc_engine_messages.mes
New log messages:
ALLOC_ENGINE_IGNORING_UNSUITABLE_GLOBAL_ADDRESS
ALLOC_ENGINE_IGNORING_UNSUITABLE_GLOBAL_ADDRESS6
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine_utils.*
src/bin/dhcp4/tests/host_unittest.cc
src/bin/dhcp6/tests/host_unittest.cc
New and updated tests
Tomek Mrugalski [Mon, 13 Feb 2023 16:28:38 +0000 (17:28 +0100)]
[#2723] Note about multiple tokens
Razvan Becheriu [Sat, 11 Feb 2023 13:06:29 +0000 (15:06 +0200)]
[#2664] updated classify ARM example
Razvan Becheriu [Sat, 11 Feb 2023 13:26:00 +0000 (15:26 +0200)]
[#2702] remove reference to config_report
Razvan Becheriu [Sat, 11 Feb 2023 10:43:02 +0000 (12:43 +0200)]
[#2702] moved cfgrpt inside process folder
Razvan Becheriu [Fri, 10 Feb 2023 22:33:23 +0000 (00:33 +0200)]
[#2702] removed link dependencies to fix odr violation
Razvan Becheriu [Fri, 10 Feb 2023 11:29:20 +0000 (13:29 +0200)]
[#2677] addressed review
Thomas Markwalder [Wed, 8 Feb 2023 16:39:37 +0000 (11:39 -0500)]
[#2677] Fixed ChangeLog
Thomas Markwalder [Wed, 8 Feb 2023 14:41:57 +0000 (09:41 -0500)]
[#2677] Ignore invalid renew-timer values
src/lib/dhcpsrv/dhcpsrv_messages.*
DHCPSRV_CFGMGR_RENEW_GTR_REBIND - new message
src/lib/dhcpsrv/network.h
Added Network::getLabel()
src/lib/dhcpsrv/parsers/base_network_parser.cc
BaseNetworkParser::parseCommon() - log renew > rebind
rather than throw
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
Subnet4ConfigParser::initSubnet() - removed duplicate timer check
Subnet6ConfigParser::initSubnet() - removed duplicate timer check
src/lib/dhcpsrv/shared_network.h
Added SharedNetwork4::getLabel()
Added SharedNetwork6::getLabel()
src/lib/dhcpsrv/subnet.h
Added Subnet::getLabel()
src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
TEST_F(Subnet4ParserTest, parseWithInvalidRenewRebind) - new test
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
TEST_F(Subnet4ParserTest, parseWithInvalidRenewRebind) - new test
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
Updated tests
Razvan Becheriu [Fri, 10 Feb 2023 18:31:04 +0000 (20:31 +0200)]
[#2702] remove link dependencies to fix ODR
Razvan Becheriu [Fri, 10 Feb 2023 17:40:11 +0000 (19:40 +0200)]
[#2702] remove linked libs to avoid odr violation
Razvan Becheriu [Fri, 10 Feb 2023 15:45:16 +0000 (17:45 +0200)]
[#2702] fixed compilation warning
Razvan Becheriu [Fri, 10 Feb 2023 15:25:05 +0000 (17:25 +0200)]
[#2702] added more missing link dependencies
Francis Dupont [Fri, 10 Feb 2023 14:03:39 +0000 (15:03 +0100)]
[#2702] Fixed libprocess
Razvan Becheriu [Fri, 10 Feb 2023 09:48:07 +0000 (11:48 +0200)]
[#2702] fixed link order
Razvan Becheriu [Thu, 9 Feb 2023 17:47:16 +0000 (19:47 +0200)]
[#2702] addressed review comments
Razvan Becheriu [Thu, 9 Feb 2023 17:34:51 +0000 (19:34 +0200)]
[#2702] applied suggested patch
Razvan Becheriu [Fri, 3 Feb 2023 19:54:09 +0000 (21:54 +0200)]
[#2702] fixed unittests
Razvan Becheriu [Fri, 3 Feb 2023 17:09:10 +0000 (19:09 +0200)]
[#2702] fixed memory leaks
Razvan Becheriu [Thu, 2 Feb 2023 11:44:22 +0000 (13:44 +0200)]
[#2702] fix static linking with libcfgrpt.la multiple times
Thomas Markwalder [Thu, 9 Feb 2023 21:21:37 +0000 (16:21 -0500)]
[#2538] Fix UTs
Restored detection in encapsulateInternal() to avoid
throws in UTs
modified:
src/lib/dhcpsrv/cfg_option.cc
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
Thomas Markwalder [Thu, 9 Feb 2023 20:09:04 +0000 (15:09 -0500)]
[#2538] Addressed more comments
src/lib/dhcp/option.cc
Removed dead line
src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc
Removed unneeded include
Thomas Markwalder [Thu, 9 Feb 2023 17:15:51 +0000 (12:15 -0500)]
[#2538] Addressed review comments
src/lib/dhcp/option.cc
Option::addOption(OptionPtr opt) - now throws rather than
silently ignoring attempted self-adds
src/lib/dhcp/tests/option_unittest.cc
TEST_F(OptionTest, optionsCannotContainThemselves) - new test
src/lib/dhcpsrv/cfg_option.cc
CfgOption::encapsulateInternal(const OptionPtr& option) - removed
self-add check, relies on Option::addOption() to detect
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
TEST_F(ParseConfigTest, selfEncapsulationTest) - altered to expect
throw
src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc
TEST_F(HostReservationParserTest, selfEncapsulation) - deleted test
Thomas Markwalder [Thu, 9 Feb 2023 15:54:05 +0000 (10:54 -0500)]
[#2538] Avoid adding options to themselves
src/lib/dhcp/option.cc
Option::addOption(OptionPtr opt) - added sanity check
to avoid options being added to themselves as Option::addOption()
is called all over the place.
src/lib/dhcpsrv/cfg_option.cc
CfgOption::encapsulateInternal(const OptionPtr& option) - added
sanity check to avoid adding options to themselves. Not strictly
necessary but more better then relying on lower level defenses.
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
TEST_F(ParseConfigTest, selfEncapsulationTest) - new test
src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc
TEST_F(HostReservationParserTest, selfEncapsulation) - new test
Marcin Siodelski [Thu, 9 Feb 2023 17:31:05 +0000 (18:31 +0100)]
[#2734] Regenerated db_messages
Marcin Siodelski [Mon, 6 Feb 2023 13:58:56 +0000 (14:58 +0100)]
[#2734] Code cleanup
Edits in the log message definition and the whitespace removal.
Marcin Siodelski [Mon, 6 Feb 2023 12:08:17 +0000 (13:08 +0100)]
[#2734] Added ChangeLog entry for #2734
Marcin Siodelski [Mon, 6 Feb 2023 12:03:00 +0000 (13:03 +0100)]
[#2734] Eliminate duplicated warnings
Marcin Siodelski [Sun, 5 Feb 2023 20:51:56 +0000 (21:51 +0100)]
[#2734] tcp_user_timeout for PostgreSQL 12+
Added conditional compilation to set tcp_user_timeout parameter for the
PostgreSQL 12 or later. Log a warning for earlier PostgreSQL versions.
Razvan Becheriu [Thu, 9 Feb 2023 17:21:04 +0000 (19:21 +0200)]
[#2575] added ChangeLog entry
Razvan Becheriu [Mon, 23 Jan 2023 21:38:09 +0000 (23:38 +0200)]
[#2575] reset the callback to trivial std::function so that unloaded symbols in hooks do not lead to crash
Francis Dupont [Wed, 8 Feb 2023 16:20:47 +0000 (17:20 +0100)]
[#2738] Aligned v4 extended info UT in lease cmds
Francis Dupont [Wed, 8 Feb 2023 16:20:05 +0000 (17:20 +0100)]
[#2738] Changed extended info failure message level to ERROR
Francis Dupont [Mon, 6 Feb 2023 19:50:11 +0000 (20:50 +0100)]
[#2738] Added a comment about a multi-index critical requirement
Francis Dupont [Fri, 3 Feb 2023 21:24:03 +0000 (22:24 +0100)]
[#2738] Updated indexes on reload
Francis Dupont [Wed, 1 Feb 2023 22:20:34 +0000 (23:20 +0100)]
[#2738] Addressed comment
Francis Dupont [Tue, 31 Jan 2023 16:26:11 +0000 (17:26 +0100)]
[#2738] Removed spurious spaces
Francis Dupont [Tue, 31 Jan 2023 16:23:02 +0000 (17:23 +0100)]
[#2738] Finished new unit tests
Francis Dupont [Tue, 31 Jan 2023 10:09:33 +0000 (11:09 +0100)]
[#2738] Checkpoint: added mgr UTs
Francis Dupont [Sat, 28 Jan 2023 10:25:13 +0000 (11:25 +0100)]
[#2738] Checkpoint: did some UTs
Francis Dupont [Sat, 28 Jan 2023 08:35:45 +0000 (09:35 +0100)]
[#2738] Checkpoint: UTs to do
Francis Dupont [Fri, 27 Jan 2023 10:31:37 +0000 (11:31 +0100)]
[#2738] Checkpoint: create methods and factor UTs, todo alloc engine and v4 UTs
Francis Dupont [Tue, 7 Feb 2023 11:58:55 +0000 (12:58 +0100)]
[#2723] Changed to DUID in v6 examples
Francis Dupont [Tue, 7 Feb 2023 09:12:54 +0000 (10:12 +0100)]
[#2723] Added new HR as BAC sections
Francis Dupont [Sat, 4 Feb 2023 14:24:07 +0000 (15:24 +0100)]
[#2723] Added a ChangeLog entry
Francis Dupont [Wed, 25 Jan 2023 22:50:13 +0000 (23:50 +0100)]
[#2723] More updated unit tests
Francis Dupont [Wed, 25 Jan 2023 18:07:56 +0000 (19:07 +0100)]
[#2723] Updated unit tests
Francis Dupont [Wed, 25 Jan 2023 15:04:13 +0000 (16:04 +0100)]
[#2723] Removed check
Francis Dupont [Tue, 7 Feb 2023 08:42:17 +0000 (09:42 +0100)]
[#2682] Addressed comments
Francis Dupont [Tue, 17 Jan 2023 13:41:08 +0000 (14:41 +0100)]
[#2682] Added a try-catch in reclaimExpiredLeases*
Thomas Markwalder [Fri, 3 Feb 2023 18:04:16 +0000 (13:04 -0500)]
[#2741] Fixed ChangeLog line length
Marcin Siodelski [Fri, 3 Feb 2023 16:33:51 +0000 (17:33 +0100)]
[#2741] Added ChangeLog for #2741
Marcin Siodelski [Fri, 3 Feb 2023 12:06:51 +0000 (13:06 +0100)]
[#2741] Fixed getting configured timeout parameters
Andrei Pavel [Wed, 25 Jan 2023 22:12:05 +0000 (00:12 +0200)]
[#2696] hammer.py: check Popen.poll() at the end
There was a wrong assumption that the first call to Popen.poll()
is always None. This is not the case when the process is fast enough
to finish before it gets polled, in which case it is not None, but
it is the return code instead. This caused some executes to have
empty output.
Andrei Pavel [Wed, 25 Jan 2023 20:38:59 +0000 (22:38 +0200)]
[#2696] hammer.py: replace ~ with os.environ['HOME']
On rare occasion, the previously-used execute() would return
empty output, which would cause the path to change, often resulting
in a 'no such file or directory' error.
Andrei Pavel [Wed, 25 Jan 2023 14:23:53 +0000 (16:23 +0200)]
[#2696] hammer.py: unrelated fix for libsysrepo.so name
Marcin Godzina [Thu, 2 Feb 2023 14:36:26 +0000 (14:36 +0000)]
[#2710] spelling and formatting fix
Marcin Godzina [Tue, 10 Jan 2023 10:48:01 +0000 (10:48 +0000)]
[#2710] fixed underline
Marcin Godzina [Tue, 10 Jan 2023 09:53:13 +0000 (09:53 +0000)]
[#2710] removed line
Marcin Godzina [Tue, 10 Jan 2023 09:51:28 +0000 (09:51 +0000)]
[#2710] Added mysql and mariadb recomendation
Francis Dupont [Thu, 26 Jan 2023 13:51:58 +0000 (14:51 +0100)]
[#2586] Addressed comments
Francis Dupont [Wed, 25 Jan 2023 14:39:28 +0000 (15:39 +0100)]
[#2586] Removed duplicated tags
Francis Dupont [Tue, 4 Oct 2022 14:37:03 +0000 (16:37 +0200)]
[#2586] Reported v4 code from #2584
Andrei Pavel [Thu, 19 Jan 2023 13:33:22 +0000 (15:33 +0200)]
[#2669] add ChangeLog entry
Andrei Pavel [Tue, 3 Jan 2023 16:37:53 +0000 (18:37 +0200)]
[#2669] fix --with-site-packages
Prior to this, it was installing the python libraries in the default
location even if a custom path was given.
Wlodek Wencel [Thu, 26 Jan 2023 10:11:43 +0000 (11:11 +0100)]
[#2737] version updated to 2.3.5
Wlodek Wencel [Mon, 23 Jan 2023 17:49:20 +0000 (09:49 -0800)]
[#2732] release changes
Razvan Becheriu [Fri, 20 Jan 2023 15:58:31 +0000 (17:58 +0200)]
[#2726] 2.3.4 release: bump library versions
Andrei Pavel [Fri, 20 Jan 2023 20:41:53 +0000 (22:41 +0200)]
[#2727] introduce HAVE_MYSQL_GET_OPTION
Addresses error:
mysql_connection_unittest.cc: In member function ‘virtual void {anonymous}::MySqlConnectionTest_connectionTimeout_Test::TestBody()’:
mysql_connection_unittest.cc:633:77: error: ‘mysql_get_option’ was not declared in this scope
EXPECT_EQ(0, mysql_get_option(mysql, MYSQL_OPT_CONNECT_TIMEOUT, &timeout));
Tomek Mrugalski [Fri, 20 Jan 2023 17:11:28 +0000 (18:11 +0100)]
[#2693] Addressed review comments
- moved DHCP{4,6}_DEPRECATED
- added note to return status text over API
Tomek Mrugalski [Fri, 20 Jan 2023 08:42:00 +0000 (09:42 +0100)]
[#2693] ChangeLog updated
Tomek Mrugalski [Fri, 20 Jan 2023 08:40:34 +0000 (09:40 +0100)]
[#2693] Updated sysrepo deprecation
Tomek Mrugalski [Fri, 20 Jan 2023 08:40:19 +0000 (09:40 +0100)]
[#2693] Doc updated
Tomek Mrugalski [Fri, 20 Jan 2023 08:39:55 +0000 (09:39 +0100)]
[#2693] Print deprecated warning for libreload
Razvan Becheriu [Fri, 20 Jan 2023 15:25:32 +0000 (17:25 +0200)]
[#1518] added ChangeLog entry
Razvan Becheriu [Fri, 20 Jan 2023 15:09:00 +0000 (17:09 +0200)]
[#1518] addressed review comments
Razvan Becheriu [Fri, 20 Jan 2023 14:08:58 +0000 (16:08 +0200)]
[#1518] addressed review comments
Razvan Becheriu [Fri, 20 Jan 2023 12:35:28 +0000 (14:35 +0200)]
[#1518] reverted v4 changes which add persistent options if subnet is null