]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Wed, 22 Feb 2023 11:09:28 +0000 (12:09 +0100)]
[#2764] Typos fix
Marcin Siodelski [Wed, 22 Feb 2023 10:56:12 +0000 (11:56 +0100)]
[#2764] Preserve lease mgr callbacks on recreate
Marcin Siodelski [Tue, 21 Feb 2023 15:27:17 +0000 (16:27 +0100)]
[#2764] Fixed placeholders conflict
Marcin Siodelski [Tue, 21 Feb 2023 09:15:43 +0000 (10:15 +0100)]
[#2764] Added lease tracking to the backends
Marcin Siodelski [Mon, 20 Feb 2023 19:53:47 +0000 (20:53 +0100)]
[#2764] Moved test functions to generic lease test
Marcin Siodelski [Mon, 20 Feb 2023 14:34:54 +0000 (15:34 +0100)]
[#2764] Tracking lease manager
The new lease manager layer implements callback mechanism. The callbacks
can be registered and are invoked when the leases are modified.
Marcin Siodelski [Fri, 17 Feb 2023 07:14:26 +0000 (08:14 +0100)]
[#2764] Hashing operator for IOAddress
To store the addresses in the unordered containers.
Francis Dupont [Fri, 10 Mar 2023 23:32:09 +0000 (00:32 +0100)]
[#720] Implemented #2790 fix
Francis Dupont [Thu, 9 Mar 2023 17:29:10 +0000 (18:29 +0100)]
[#720] Moved to compatibility flag
Francis Dupont [Thu, 9 Mar 2023 13:12:07 +0000 (13:12 +0000)]
[#720] Regen lex and parser
Francis Dupont [Thu, 9 Mar 2023 13:10:22 +0000 (14:10 +0100)]
[#720] Updated syntax
Francis Dupont [Mon, 13 Mar 2023 08:49:40 +0000 (09:49 +0100)]
[#2765] Avoid confusion between options 60 and 124
Razvan Becheriu [Sat, 11 Mar 2023 19:43:51 +0000 (21:43 +0200)]
[#2765] addressed review comments
Francis Dupont [Sat, 11 Mar 2023 08:47:20 +0000 (09:47 +0100)]
[#2765] Cleanup last reviewer changes
Razvan Becheriu [Fri, 10 Mar 2023 16:56:24 +0000 (18:56 +0200)]
[#2765] updated v6 unittests
Razvan Becheriu [Fri, 10 Mar 2023 15:48:57 +0000 (17:48 +0200)]
Merge remote-tracking branch 'origin/1518-unable-to-add-multiple-sub-options-to-vivso-suboptions-
20314bf68ded4cd7 ' into HEAD
Razvan Becheriu [Fri, 10 Mar 2023 12:47:58 +0000 (14:47 +0200)]
[#2765] clone the vendor option and add extra unittests
Francis Dupont [Thu, 16 Feb 2023 18:09:54 +0000 (19:09 +0100)]
[#2765] Fixed v4 and v6
Razvan Becheriu [Fri, 13 Jan 2023 14:11:30 +0000 (16:11 +0200)]
[#1518] extended unittests for v6
Piotrek Zadroga [Mon, 6 Mar 2023 15:47:39 +0000 (16:47 +0100)]
[#1922] Removing not used dhcp6 STATUS codes
Piotrek Zadroga [Mon, 6 Mar 2023 13:53:48 +0000 (14:53 +0100)]
[#1922] Updating AUTHORS
Piotrek Zadroga [Mon, 6 Mar 2023 09:43:18 +0000 (10:43 +0100)]
[#1922] adding refs to RFCs for DHCPv6 Options
References added in comments according to:
https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#dhcpv6-parameters-2
Piotrek Zadroga [Fri, 3 Mar 2023 16:35:18 +0000 (17:35 +0100)]
[#1922] adding references to RFCs for DHCP Options
References added in comments according to:
https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml#options
Francis Dupont [Mon, 6 Mar 2023 14:31:29 +0000 (15:31 +0100)]
[#467] Rebasing bug
Francis Dupont [Mon, 6 Mar 2023 13:56:03 +0000 (14:56 +0100)]
[#467] Commented vendor id sets
Francis Dupont [Thu, 16 Feb 2023 17:08:55 +0000 (18:08 +0100)]
[#467] Addressed comments
Francis Dupont [Wed, 15 Feb 2023 18:39:28 +0000 (19:39 +0100)]
[#467] Typo
Francis Dupont [Sat, 11 Feb 2023 00:36:00 +0000 (01:36 +0100)]
[#467] Added a ChangeLog entry
Francis Dupont [Fri, 10 Feb 2023 23:37:35 +0000 (00:37 +0100)]
[#467] Updated doc
Francis Dupont [Fri, 10 Feb 2023 18:10:17 +0000 (19:10 +0100)]
[#467] Added unit tests
Francis Dupont [Fri, 10 Feb 2023 13:27:46 +0000 (14:27 +0100)]
[#467] Updated appendRequestedOptions
Francis Dupont [Thu, 9 Feb 2023 22:46:38 +0000 (23:46 +0100)]
[#467] Updated dhcpsrv code and tests
Tomek Mrugalski [Tue, 21 Feb 2023 10:54:28 +0000 (11:54 +0100)]
[#2743] Removed obsolete note
dankney [Fri, 24 Feb 2023 20:09:37 +0000 (15:09 -0500)]
Have corrected the capitalization on the -Y/-y in the perfdhcp man page
Thomas Markwalder [Mon, 27 Feb 2023 15:47:37 +0000 (10:47 -0500)]
[#2660] Fixed a comment
Thomas Markwalder [Mon, 27 Feb 2023 15:33:11 +0000 (10:33 -0500)]
[#2660] Addressed review comments
src/bin/dhcp6/dhcp6_srv.cc
Minor nits.
Thomas Markwalder [Tue, 21 Feb 2023 12:00:12 +0000 (07:00 -0500)]
[#2660] Added ChangeLog
Thomas Markwalder [Fri, 17 Feb 2023 18:58:42 +0000 (13:58 -0500)]
[#2660] Lease6::fromElement sets NA prefix length to 128
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processDhcp6Query() -
Restrict prefix lenght test to PD leases
src/lib/dhcpsrv/lease.cc
Lease6::fromElement(const data::ConstElementPtr& element) -
set prefix lenght to 128 for non-PD leases
src/lib/dhcpsrv/tests/lease_unittest.cc
Update fromElementNA test
Thomas Markwalder [Fri, 17 Feb 2023 18:06:37 +0000 (13:06 -0500)]
[#2660] Avoid extraneous iaaddrs on v6 renew
Do not use lease prefix when generating hints to
remove from context when renewing IA_NA leases.
src/bin/dhcp6/dhcp6_srv.cc
Do not pass lease prefix length when creating
hints to remove
src/lib/dhcpsrv/alloc_engine.h
Default prefix length to 128 in
AllocateEngine::Resource ctor
Thomas Markwalder [Wed, 22 Feb 2023 20:00:13 +0000 (15:00 -0500)]
[#2739] Consistently calculate v6 lease lifetimes
Added a ChangeLog entry
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::reuseExpiredLease(Lease6Ptr...)
AllocEngine::extendLease6()
- replaced explicit lifetime logic with call to getLifetimes6()
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
TEST_F(AllocEngine6Test, classReuseExpiredLease6)
TEST_F(AllocEngine6Test, renewClassLeaseLifetime) - new tests
src/lib/dhcpsrv/tests/alloc_engine_utils.*
AllocEngine6Test::simpleAlloc6Test() - now accepts option class defintion
Andrei Pavel [Tue, 21 Feb 2023 17:39:06 +0000 (19:39 +0200)]
[#2774] bump up version to 2.3.6-git
Andrei Pavel [Fri, 17 Feb 2023 16:11:37 +0000 (18:11 +0200)]
[#2769] editorial change log review
Andrei Pavel [Fri, 17 Feb 2023 13:35:27 +0000 (15:35 +0200)]
[#2769] release changes
Andrei Pavel [Fri, 17 Feb 2023 10:27:13 +0000 (12:27 +0200)]
[#2768] bump up library versions for 2.3.5 release
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