]>
git.ipfire.org Git - thirdparty/kea.git/log
Razvan Becheriu [Fri, 7 Aug 2026 04:22:13 +0000 (07:22 +0300)]
[#4656] addressed review comment
Razvan Becheriu [Thu, 6 Aug 2026 11:35:36 +0000 (14:35 +0300)]
[#4656] check for calls after injection
Wlodek Wencel [Thu, 23 Jul 2026 13:03:27 +0000 (15:03 +0200)]
[#4656] Fix socketWriteCallback error-path fallthrough
Return after fatal write errors and treat EAGAIN/EWOULDBLOCK like the
HTTP client send path so output is not consumed and doWrite is not
scheduled twice.
Closes #4656
Co-authored-by: Cursor <cursoragent@cursor.com>
Andrei Pavel [Thu, 6 Aug 2026 13:08:56 +0000 (16:08 +0300)]
[#4639] Review
- Remove changelog entry as it is not a user-visible change.
- Sort includes.
- Add bigint suport to operator<.
- Make some throws more detailed.
Wlodek Wencel [Thu, 23 Jul 2026 11:17:36 +0000 (13:17 +0200)]
[#4639] Fix data::copy() for Element::bigint
Handle BigIntElement in copy() so deep copies of values outside
the int64_t range no longer throw BadValue.
Closes #4639
Co-authored-by: Cursor <cursoragent@cursor.com>
Francis Dupont [Thu, 6 Aug 2026 17:27:53 +0000 (19:27 +0200)]
[#4607] Updated control sockets
Francis Dupont [Thu, 6 Aug 2026 17:19:21 +0000 (19:19 +0200)]
[#4607] Removed comments
Francis Dupont [Thu, 6 Aug 2026 17:12:14 +0000 (19:12 +0200)]
[#4607] Added subnet4 id
Francis Dupont [Thu, 6 Aug 2026 17:05:33 +0000 (19:05 +0200)]
[#4607] Applied fuzz.patch provided by Razvan
Francis Dupont [Sat, 1 Aug 2026 18:09:40 +0000 (20:09 +0200)]
[#4607] Deprecated control-socket
Andrei Pavel [Thu, 6 Aug 2026 11:42:30 +0000 (14:42 +0300)]
[#4638] Document MapElement::get(int)
Andrei Pavel [Thu, 6 Aug 2026 07:51:17 +0000 (10:51 +0300)]
[#4272] Add changelog entry
Andrei Pavel [Thu, 6 Aug 2026 06:46:38 +0000 (09:46 +0300)]
[#4272] Review
Razvan Becheriu [Wed, 5 Aug 2026 15:09:04 +0000 (18:09 +0300)]
[#4272] addressed review
Andrei Pavel [Wed, 5 Aug 2026 11:52:22 +0000 (14:52 +0300)]
[#4272] Catch exception in fuzz_config_*
Andrei Pavel [Wed, 5 Aug 2026 11:22:41 +0000 (14:22 +0300)]
[#4272] Update copyright headers and remove unused includes
Andrei Pavel [Thu, 30 Jul 2026 11:32:24 +0000 (14:32 +0300)]
[#4272] Fix fuzz crash
Andrei Pavel [Thu, 30 Jul 2026 11:28:20 +0000 (14:28 +0300)]
[#4272] Compile external fuzzers only with clang
Andrei Pavel [Wed, 22 Apr 2026 09:12:31 +0000 (11:12 +0200)]
[#4272] Remove fuzz_agent; CA was removed
Razvan Becheriu [Thu, 9 Apr 2026 18:46:18 +0000 (21:46 +0300)]
[#4272] addressed review
Andrei Pavel [Mon, 6 Apr 2026 16:37:30 +0000 (19:37 +0300)]
[#4272] Spellchecks
Andrei Pavel [Tue, 3 Mar 2026 14:48:56 +0000 (16:48 +0200)]
[#4272] Integrate the Ada Logics fuzzing harnesses into the Meson build system
Andrei Pavel [Tue, 3 Mar 2026 12:58:12 +0000 (14:58 +0200)]
[#4272] Copy fuzzing harnesses from Ada Logics
Andrei Pavel [Mon, 2 Feb 2026 11:14:01 +0000 (13:14 +0200)]
[#4272] Move fuzz to src/fuzz
They are sources after all.
Andrei Pavel [Tue, 3 Mar 2026 12:01:25 +0000 (14:01 +0200)]
[#4272] Remove the fuzzing from Gitlab CI
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