]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Wed, 5 Aug 2026 19:16:59 +0000 (21:16 +0200)]
[#4670] Addressed comments
Francis Dupont [Sun, 2 Aug 2026 09:03:52 +0000 (11:03 +0200)]
[#4670] Fixed v6 equivalent of #4547
Francis Dupont [Fri, 24 Jul 2026 11:55:19 +0000 (13:55 +0200)]
[#4696] Fixed ChangeLog typo
Francis Dupont [Fri, 24 Jul 2026 11:51:01 +0000 (13:51 +0200)]
[#4696] Made code safer
Francis Dupont [Fri, 24 Jul 2026 10:46:34 +0000 (12:46 +0200)]
[#4696] Added a register_ flag
Francis Dupont [Tue, 4 Aug 2026 19:14:03 +0000 (21:14 +0200)]
[#4637] Removed ChangeLog
Francis Dupont [Tue, 4 Aug 2026 17:54:34 +0000 (19:54 +0200)]
[#4637] Fix and improvements
Wlodek Wencel [Wed, 22 Jul 2026 19:04:38 +0000 (21:04 +0200)]
[#4637] Fix MapElement::remove out-of-range UB
Bounds-check the index so out-of-range remove is a no-op, matching
the documented contract and avoiding segfaults.
Closes #4637
Co-authored-by: Cursor <cursoragent@cursor.com>
Francis Dupont [Tue, 4 Aug 2026 19:06:42 +0000 (21:06 +0200)]
[#4636] Removed ChangeLog
Francis Dupont [Tue, 4 Aug 2026 17:29:59 +0000 (19:29 +0200)]
[#4636] Style
Wlodek Wencel [Wed, 22 Jul 2026 18:57:52 +0000 (20:57 +0200)]
[#4636] Fix ListElement::remove out-of-range UB
Bounds-check the index so out-of-range remove is a no-op, matching
the documented contract and avoiding segfaults.
Closes #4636
Co-authored-by: Cursor <cursoragent@cursor.com>
Thomas Markwalder [Tue, 4 Aug 2026 12:03:20 +0000 (08:03 -0400)]
[#4661] Rewrote change log
Wlodek Wencel [Thu, 23 Jul 2026 13:23:57 +0000 (15:23 +0200)]
[#4661] Fix socketWriteCallback EWOULDBLOCK fallthrough
Zero length on would_block/try_again so wire data is not
consumed and the async send is not double-scheduled.
Closes #4661
Co-authored-by: Cursor <cursoragent@cursor.com>
Thomas Markwalder [Tue, 4 Aug 2026 10:27:26 +0000 (06:27 -0400)]
[#4663] Rewrote change log
modified: changelog_unreleased/4663-versionedcsvfile-next-reports-success-on-downgrade-validation-errors
Wlodek Wencel [Thu, 23 Jul 2026 13:30:07 +0000 (15:30 +0200)]
[#4663] Fix VersionedCSVFile downgrade row validation
Return false from next() when column-count checks fail
during NEEDS_DOWNGRADE, matching CURRENT/NEEDS_UPGRADE.
Thomas Markwalder [Tue, 4 Aug 2026 12:51:44 +0000 (08:51 -0400)]
[#4664] Fixed return
modified: src/lib/util/versioned_csv_file.cc
Thomas Markwalder [Tue, 4 Aug 2026 08:56:55 +0000 (04:56 -0400)]
[#4664] Removed change log
Change log not warranted.
deleted: changelog_unreleased/4664-versionedcsvfile-next-ignores-csvfile-next-i-o-failure
Wlodek Wencel [Thu, 23 Jul 2026 13:33:11 +0000 (15:33 +0200)]
[#4664] Fix VersionedCSVFile ignoring CSVFile::next failures
Propagate false from CSVFile::next so I/O/stream errors are not
misreported as success against stale row data.
Closes #4664
Co-authored-by: Cursor <cursoragent@cursor.com>
Thomas Markwalder [Tue, 4 Aug 2026 08:52:08 +0000 (04:52 -0400)]
[#4666] Removed change log entry
deleted: changelog_unreleased/4666-inputbuffer-bounds-checks-use-pointer-arithmetic-vulnerable-to-overflow
Thomas Markwalder [Mon, 3 Aug 2026 16:48:14 +0000 (12:48 -0400)]
[#4666] Added InputBuffer::getRemaining() function
modified: changelog_unreleased/4666-inputbuffer-bounds-checks-use-pointer-arithmetic-vulnerable-to-overflow
modified: src/lib/util/buffer.h
Wlodek Wencel [Thu, 23 Jul 2026 13:38:09 +0000 (15:38 +0200)]
[#4666] Fix InputBuffer bounds checks overflow
Replace pointer arithmetic in InputBuffer bounds checks with
size_t comparisons so large offsets/lengths cannot wrap and
bypass the checks.
Closes #4666
Co-authored-by: Cursor <cursoragent@cursor.com>
Marcin Godzina [Tue, 4 Aug 2026 10:00:53 +0000 (12:00 +0200)]
[#4688] fix path mistake
Marcin Godzina [Mon, 3 Aug 2026 12:14:16 +0000 (14:14 +0200)]
[#4688] document package cli switches
Razvan Becheriu [Mon, 3 Aug 2026 17:23:32 +0000 (20:23 +0300)]
[#4691] addressed review comments
Razvan Becheriu [Mon, 3 Aug 2026 12:39:13 +0000 (15:39 +0300)]
[#4691] always use buffer size on send
Thomas Markwalder [Mon, 3 Aug 2026 16:33:43 +0000 (12:33 -0400)]
[#4667] Added myself to change log
modified: changelog_unreleased/4667-getinterfaceskea-dereferences-null-elementptr-when-interfaces-config-is-absent
Wlodek Wencel [Thu, 23 Jul 2026 13:42:50 +0000 (15:42 +0200)]
[#4667] Fix null deref in getInterfacesKea
Return early when interfaces-config is absent instead of
calling empty() on a null ElementPtr.
Closes #4667
Co-authored-by: Cursor <cursoragent@cursor.com>
Razvan Becheriu [Mon, 3 Aug 2026 13:13:02 +0000 (16:13 +0300)]
[#4658] fixed fetch failure handling
Thomas Markwalder [Fri, 31 Jul 2026 09:43:47 +0000 (05:43 -0400)]
[#4437] Removed spaces in change log
modified: changelog_unreleased/4437-d2-leaves-orphaned-ptr-records-when-a-client-changes-subnets-with-an-active-lease
Thomas Markwalder [Fri, 31 Jul 2026 09:31:22 +0000 (05:31 -0400)]
[#4437] Addressed review comments
modified: 4437-d2-leaves-orphaned-ptr-records-when-a-client-changes-subnets-with-an-active-lease
Thomas Markwalder [Wed, 29 Jul 2026 17:17:09 +0000 (13:17 -0400)]
[#4437] Avoid orphaning PTR records
/src/bin/d2/check_exists_remove.cc
CheckExistsRemoveTransaction::removingFwdRRsHandler()
- treat YXRRSET as success
/src/bin/d2/nc_remove.cc
NameRemoveTransaction::removingFwdRRsHandler()
- treat YXRRSET as success
/src/bin/d2/tests/check_exists_remove_unittests.cc
TEST_F(CheckExistsRemoveTransactionTest, removingFwdRRsHandler_FQDNInUse)
- new test
/src/bin/d2/tests/nc_remove_unittests.cc
TEST_F(NameRemoveTransactionTest, removingFwdRRsHandler_FQDNInUse)
- new test
Thomas Markwalder [Thu, 30 Jul 2026 10:42:26 +0000 (06:42 -0400)]
[#4678] Addressed review comments
Minor nits:
modified: src/lib/dhcpsrv/alloc_engine.cc
modified: src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
modified: src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
Thomas Markwalder [Wed, 29 Jul 2026 13:32:17 +0000 (09:32 -0400)]
[#4678] Added Changelog
new file: changelog_unreleased/4678-dynamic-reservations-in-shared-network-subnets-do-not-select-the-subnet
Thomas Markwalder [Wed, 29 Jul 2026 12:44:44 +0000 (08:44 -0400)]
[#4678] Modify host logic for shared-networks
Initial commit
/src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::allocateReservedLeases6() - add logic to
allow a dynamic host to select the subnet
AllocEngine::hasAddressReservation() - reworked to priotize
subnet hosts over global and allow a dynamic host to select
the subnet
/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
TEST_F(SharedNetworkAlloc4Test, discoverGlobalResVsSubnetRes)
TEST_F(SharedNetworkAlloc4Test, requestGlobalResVsSubnetRes) - new tests
/src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
TEST_F(SharedNetworkAlloc6Test, discoverGlobalResVsSubnetRes)
TEST_F(SharedNetworkAlloc6Test, requestGlobalResVsSubnetRes) - new tests
Thomas Markwalder [Thu, 30 Jul 2026 10:53:54 +0000 (06:53 -0400)]
[#3780] Addressed review comments
Minor nits in doc.
modified: doc/sphinx/arm/hooks-flex-id.rst
Thomas Markwalder [Wed, 29 Jul 2026 14:07:50 +0000 (10:07 -0400)]
[#3780] Added Changelog
new file: 3780-feature-request-dhcid-overrides-for-dual-stack-clients-that-emit-conflicting-dhcids
Thomas Markwalder [Tue, 28 Jul 2026 12:13:18 +0000 (08:13 -0400)]
[#3780] Fixed ARM references
modified: doc/sphinx/arm/hooks-flex-id.rst
Thomas Markwalder [Tue, 28 Jul 2026 11:52:33 +0000 (07:52 -0400)]
[#3780] Added to ARM
modified: doc/sphinx/arm/hooks-flex-id.rst
Thomas Markwalder [Thu, 23 Jul 2026 18:32:42 +0000 (14:32 -0400)]
[#3780] Added cid-as-rfr4361-duid to flex-id
Preliminary commit
/doc/sphinx/arm/hooks-flex-id.rst
Udpated the ARM
/src/hooks/dhcp/flex_id/callouts.cc
Added flex_id_cid_as_rfc4361_duid parameter
storeConfiguration() - store new parameter
pkt4_receive() - format as rfc4361 when enabled.
/src/hooks/dhcp/flex_id/flex_id_messages.mes
FLEX_ID_CID_AS_RFC4361_DUID_ENABLED
FLEX_ID_CID_AS_RFC4361_DUID_JSON_TYPE messags
/src/hooks/dhcp/flex_id/libloadtests/load_unload_unittests.cc
TEST_F(FlexIdLibLoadTest, parseCidAsRfc4361Duid) - new test
/src/hooks/dhcp/flex_id/load_unload.cc
int load(LibraryHandle& handle) - parse new parameter
/src/hooks/dhcp/flex_id/tests/callout_unittests.cc
TEST_F(CalloutTest, cidAsRfc4361DuidEnabled)
TEST_F(CalloutTest, cidAsRfc4361DuidDisabled) - new tests
Andrei Pavel [Tue, 28 Jul 2026 09:24:20 +0000 (12:24 +0300)]
[#4580] Update changelog entry
Andrei Pavel [Wed, 10 Jun 2026 12:25:43 +0000 (15:25 +0300)]
[#4580] Add ChangeLog entry
Andrei Pavel [Wed, 10 Jun 2026 10:47:55 +0000 (13:47 +0300)]
[#4580] Check that variables are populated in upgrade scripts
So instead of:
Processing share/kea/scripts/mysql/upgrade_009.6_to_010.0.sh file...
share/kea/scripts/mysql/upgrade_009.6_to_010.0.sh: line 68: [: : integer expected
<continues as if nothing happened>
You get:
Processing share/kea/scripts/mysql/upgrade_009.6_to_010.0.sh file...
Could not determine tag length in schema '-N', table 'dhcp4_server'.
EXIT 255
Andrei Pavel [Wed, 10 Jun 2026 09:12:25 +0000 (12:12 +0300)]
[#4580] Fix logic to determine schema name in upgrade scripts
And remove that logic in scripts that do have no use for the schema name.
Andrei Pavel [Thu, 30 Jul 2026 06:35:40 +0000 (09:35 +0300)]
[#4715] After-release chores
Francis Dupont [Mon, 27 Jul 2026 14:22:49 +0000 (16:22 +0200)]
[#4555] Addressed comment
Francis Dupont [Thu, 9 Jul 2026 10:09:40 +0000 (12:09 +0200)]
[#4555] Better code
Francis Dupont [Thu, 9 Jul 2026 07:21:12 +0000 (09:21 +0200)]
[#4555] Checkpoint
Wlodek Wencel [Mon, 27 Jul 2026 14:45:06 +0000 (16:45 +0200)]
[#4702] moved extra ChangeLog entry
Wlodek Wencel [Mon, 27 Jul 2026 13:35:46 +0000 (15:35 +0200)]
[#4702] fixed typos
Wlodek Wencel [Mon, 27 Jul 2026 13:22:04 +0000 (15:22 +0200)]
[#4702] fixed typos
Wlodek Wencel [Mon, 27 Jul 2026 13:06:12 +0000 (15:06 +0200)]
[#4702] fixed typo
Wlodek Wencel [Mon, 27 Jul 2026 15:00:41 +0000 (17:00 +0200)]
[#4702] release changes
Francis Dupont [Mon, 20 Jul 2026 15:41:06 +0000 (17:41 +0200)]
[#4544] Ignored v4 reuses
Francis Dupont [Thu, 23 Jul 2026 19:38:30 +0000 (21:38 +0200)]
[#4143] More UT code improvements
Razvan Becheriu [Thu, 23 Jul 2026 18:27:27 +0000 (21:27 +0300)]
[#4143] minor unit tests code changes
Francis Dupont [Thu, 23 Jul 2026 15:24:40 +0000 (17:24 +0200)]
[#4143] More fixes and UTs
Francis Dupont [Thu, 23 Jul 2026 14:24:13 +0000 (16:24 +0200)]
[#4143] Checkpoint: addressed comments
Francis Dupont [Thu, 23 Jul 2026 08:31:47 +0000 (10:31 +0200)]
[#4143] Updated duplicate messages
Francis Dupont [Thu, 23 Jul 2026 08:28:38 +0000 (10:28 +0200)]
[#4143] Spelling
Francis Dupont [Thu, 23 Jul 2026 08:23:22 +0000 (10:23 +0200)]
[#4143] Updated doc
Francis Dupont [Wed, 22 Jul 2026 23:31:35 +0000 (01:31 +0200)]
[#4143] Checkpoint: doc todo
Francis Dupont [Wed, 22 Jul 2026 18:08:35 +0000 (20:08 +0200)]
[#4143] Checkpoint: more UTs and doc todo
Francis Dupont [Wed, 22 Jul 2026 15:55:53 +0000 (17:55 +0200)]
[#4143] Checkpoint: UTs and doc todo
Francis Dupont [Tue, 21 Jul 2026 20:02:49 +0000 (22:02 +0200)]
[#4680] Extended to 4 byte longs
Marcin Godzina [Mon, 20 Jul 2026 16:35:30 +0000 (18:35 +0200)]
[#4680] unittests
Marcin Godzina [Mon, 20 Jul 2026 09:49:24 +0000 (11:49 +0200)]
[#4680] changelog fix
Marcin Godzina [Mon, 20 Jul 2026 09:29:16 +0000 (11:29 +0200)]
[#4680] heartbeat-delay max-ack-delay fix
Marcin Godzina [Mon, 20 Jul 2026 09:17:10 +0000 (11:17 +0200)]
[#4680] heartbeat-delay max-ack-delay fix
Marcin Godzina [Mon, 20 Jul 2026 09:10:47 +0000 (11:10 +0200)]
[#4680] max-response-delay parsing value fix
Andrei Pavel [Mon, 13 Jul 2026 07:59:52 +0000 (10:59 +0300)]
[#4675] Update release_checklist.md
Francis Dupont [Wed, 22 Jul 2026 12:13:11 +0000 (14:13 +0200)]
[#4496] Addressed comments
Francis Dupont [Tue, 21 Jul 2026 07:20:27 +0000 (09:20 +0200)]
[#4496] Regenerated v6 get_config_unittest.cc
Francis Dupont [Tue, 21 Jul 2026 06:25:20 +0000 (08:25 +0200)]
[#4496] Added cleanup/decapsulation
Francis Dupont [Mon, 20 Jul 2026 20:35:01 +0000 (22:35 +0200)]
[#4496] Checkpoint
Razvan Becheriu [Wed, 22 Jul 2026 04:42:28 +0000 (07:42 +0300)]
[#4529] added doxygen
Francis Dupont [Tue, 21 Jul 2026 20:56:09 +0000 (22:56 +0200)]
[#4529] Compute the limit
Francis Dupont [Mon, 20 Jul 2026 13:08:58 +0000 (15:08 +0200)]
[#4529] Considered other buildAcct[46] too
Francis Dupont [Thu, 25 Jun 2026 19:39:40 +0000 (21:39 +0200)]
[#4529] Fixed log messages
Francis Dupont [Thu, 25 Jun 2026 14:33:45 +0000 (16:33 +0200)]
[#4529] Limit the UDP pending exchange list
Francis Dupont [Thu, 25 Jun 2026 11:49:23 +0000 (13:49 +0200)]
[#4529] Moved to std::exception
Thomas Markwalder [Tue, 21 Jul 2026 12:47:16 +0000 (08:47 -0400)]
[#4557] Addressed review comments
Updated log messages.
Changes to be committed:
modified: src/bin/dhcp4/dhcp4_messages.cc
modified: src/bin/dhcp4/dhcp4_messages.mes
modified: src/bin/dhcp6/dhcp6_messages.cc
modified: src/bin/dhcp6/dhcp6_messages.mes
Thomas Markwalder [Mon, 20 Jul 2026 17:47:28 +0000 (13:47 -0400)]
[#4557] Log and drop malformed names
new file: changelog_unreleased/4557-f-153-kea-dhcp4-post-scrub-hostname-with-empty-dns-label-bypasses-cve-2025-11232-fix-causes
modified: src/bin/dhcp4/dhcp4_messages.cc
modified: src/bin/dhcp4/dhcp4_messages.h
modified: src/bin/dhcp4/dhcp4_messages.mes
modified: src/bin/dhcp4/dhcp4_srv.cc
modified: src/bin/dhcp4/tests/fqdn_unittest.cc
modified: src/lib/dhcpsrv/d2_client_mgr.h
modified: src/lib/dhcpsrv/tests/d2_client_unittest.cc
Francis Dupont [Tue, 21 Jul 2026 06:57:45 +0000 (08:57 +0200)]
[#4309] Addressed comments
Francis Dupont [Fri, 10 Jul 2026 10:29:10 +0000 (12:29 +0200)]
[#4309] Finished: UTs, ChangeLog entry
Francis Dupont [Fri, 10 Jul 2026 06:59:16 +0000 (08:59 +0200)]
[#4309] Checkpoint
Andrei Pavel [Mon, 15 Jun 2026 14:42:33 +0000 (17:42 +0300)]
[#4589] Add changelog entry
Andrei Pavel [Thu, 25 Jun 2026 12:28:25 +0000 (15:28 +0300)]
[#4589] Bump up some timeouts in meson.build
Andrei Pavel [Mon, 15 Jun 2026 13:51:07 +0000 (16:51 +0300)]
[#4589] Add unit tests
Andrei Pavel [Mon, 13 Jul 2026 08:46:00 +0000 (11:46 +0300)]
[#4589] Update csv_lease_file6.cc
For leases that are not identified through a hardware address, do write
default values which are required by kea-admin's lease-upload
command which would otherwise fail with a syntax error when passing the
content of the CSV file to the SQL clients.
Andrei Pavel [Thu, 25 Jun 2026 12:52:47 +0000 (15:52 +0300)]
[#4589] Unrelated: fix a crash in UT when database is not available
Thomas Markwalder [Mon, 20 Jul 2026 13:39:12 +0000 (09:39 -0400)]
[#4558] Added a note to the ARM
modified: doc/sphinx/arm/dhcp4-srv.rst
modified: doc/sphinx/arm/dhcp6-srv.rst
Francis Dupont [Mon, 20 Jul 2026 12:44:22 +0000 (14:44 +0200)]
[#4567] Spelling
Francis Dupont [Thu, 9 Jul 2026 16:36:32 +0000 (18:36 +0200)]
[#4567] Fixed readFqdn with raw input
Francis Dupont [Mon, 20 Jul 2026 12:39:11 +0000 (14:39 +0200)]
[#3743] Addressed comments
Francis Dupont [Tue, 14 Jul 2026 12:58:33 +0000 (14:58 +0200)]
[#3743] Added resetContentLength
Razvan Becheriu [Mon, 20 Jul 2026 06:59:37 +0000 (09:59 +0300)]
[#4146] addressed review comments
Razvan Becheriu [Thu, 16 Jul 2026 13:24:00 +0000 (16:24 +0300)]
[#4146] addressed review comments
Razvan Becheriu [Wed, 15 Jul 2026 17:32:35 +0000 (20:32 +0300)]
[#4146] updated documentation
Razvan Becheriu [Wed, 15 Jul 2026 14:11:52 +0000 (17:11 +0300)]
[#4146] added unit tests
Razvan Becheriu [Tue, 14 Jul 2026 05:14:30 +0000 (08:14 +0300)]
[#4146] unlimited number of sub-option levels