]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Tue, 7 Jul 2026 21:18:27 +0000 (23:18 +0200)]
[#4560] Wording
Francis Dupont [Tue, 7 Jul 2026 10:33:02 +0000 (12:33 +0200)]
[#4560] Drop v6 truncated relay headers
Thomas Markwalder [Sun, 5 Jul 2026 09:47:44 +0000 (05:47 -0400)]
[#4587] Fixed yang and postgresql typos
modified: src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
modified: src/lib/pgsql/pgsql_exchange.cc
modified: src/lib/yang/adaptor_host.cc
Thomas Markwalder [Tue, 7 Jul 2026 17:14:33 +0000 (13:14 -0400)]
[#4587] Addressed review comments
minor clean ups
modified: src/lib/dns/tests/rdata_unittest.cc
modified: src/lib/util/str.h
Thomas Markwalder [Tue, 7 Jul 2026 14:09:31 +0000 (10:09 -0400)]
[#4587] Use new dumpAsHex variants and byteToHex
modified: src/bin/dhcp6/dhcp6_srv.cc
modified: src/bin/perfdhcp/test_control.cc
modified: src/bin/perfdhcp/test_control.h
modified: src/hooks/dhcp/flex_id/callouts.cc
modified: src/hooks/dhcp/flex_id/flex_id_messages.mes
modified: src/hooks/dhcp/flex_option/flex_option.cc
modified: src/hooks/dhcp/forensic_log/lease4_callouts.cc
modified: src/hooks/dhcp/forensic_log/lease6_callouts.cc
modified: src/hooks/dhcp/forensic_log/tests/legal_log_mgr_unittests.cc
modified: src/hooks/dhcp/mysql/mysql_lease_mgr.cc
modified: src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc
modified: src/hooks/dhcp/radius/radius_access.cc
modified: src/hooks/dhcp/radius/radius_accounting.cc
modified: src/hooks/dhcp/radius/radius_backend.cc
modified: src/hooks/dhcp/radius/radius_utils.cc
modified: src/hooks/dhcp/radius/radius_utils.h
modified: src/hooks/dhcp/radius/tests/access_unittests.cc
modified: src/hooks/dhcp/user_chk/user.cc
modified: src/lib/d2srv/testutils/nc_test_utils.cc
modified: src/lib/dhcp/hwaddr.cc
modified: src/lib/dhcp/option.cc
modified: src/lib/dhcpsrv/legal_log_mgr.cc
modified: src/lib/dhcpsrv/legal_log_mgr.h
modified: src/lib/dhcpsrv/memfile_lease_mgr.cc
modified: src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
modified: src/lib/dns/tests/rdata_unittest.cc
modified: src/lib/eval/token.cc
modified: src/lib/pgsql/pgsql_exchange.cc
modified: src/lib/util/str.cc
modified: src/lib/util/str.h
modified: src/lib/yang/adaptor_host.cc
Thomas Markwalder [Sun, 5 Jul 2026 04:47:15 +0000 (00:47 -0400)]
[#4626] Addressed review comments
Added UT scenarios, minor clean up
Francis Dupont [Sat, 4 Jul 2026 12:24:05 +0000 (14:24 +0200)]
[#4626] Spelling and build fixes
Thomas Markwalder [Tue, 30 Jun 2026 10:31:16 +0000 (06:31 -0400)]
[#4626] Clean up dhcp4 UT
/src/bin/dhcp4/tests/vendor_opts_unittest.cc
TEST_F(VendorOptsTest, sanityCheckDeferredOptions) - new test
Thomas Markwalder [Mon, 29 Jun 2026 22:53:25 +0000 (18:53 -0400)]
[#4626] Do not skip when lenient parsing enabled
Instead of skipping the option, parse it if lenient
parsing is true.
modified: libdhcp++.cc
modified: tests/libdhcp++_unittest.cc
Thomas Markwalder [Sun, 28 Jun 2026 16:57:00 +0000 (12:57 -0400)]
[#4626] Detect option lengths that are too long
/src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::deferredUnpack()
- add a call to LibDHCP::sanityCheckScalarLength()
/src/lib/dhcp/libdhcp++.cc
LibDHCP::unpackOptions6()
LibDHCP::unpackOptions4()
- add a call to LibDHCP::sanityCheckScalarLength()
LibDHCP::sanityCheckScalarLength()
- new function to sanity check length of scalars
/src/lib/dhcp/tests/libdhcp++_unittest.cc
TEST_F(LibDhcpTest, invalidScalarLengthLenientDisabled4)
TEST_F(LibDhcpTest, invalidScalarLengthLenientEnabled4)
TEST_F(LibDhcpTest, invalidScalarLengthLenientDisabled6)
TEST_F(LibDhcpTest, invalidScalarLengthLenientEnabled6)
/src/lib/dhcp/tests/pkt4_unittest.cc
TEST_F(Pkt4Test, truncatedVendorLength) - use ASSERT_THROW_MSG
/src/lib/dhcp/testutils/pkt_captures4.cc
Truncated vendor option data in truncated vendor option
packet not just its length. Formerly the length was set to
1 but the data was still 85 bytes. This was causing the new
sanity checking to throw while to parse those bytes.
Francis Dupont [Mon, 6 Jul 2026 20:49:03 +0000 (22:49 +0200)]
[#4578] Spelling
Francis Dupont [Mon, 6 Jul 2026 20:47:00 +0000 (22:47 +0200)]
[#4578] Spelling
Francis Dupont [Sat, 4 Jul 2026 13:59:23 +0000 (15:59 +0200)]
[#4578] Disabled empty hwaddr lookup
Francis Dupont [Mon, 6 Jul 2026 14:43:20 +0000 (16:43 +0200)]
[#4545] Moved lenient flag
Francis Dupont [Mon, 6 Jul 2026 14:30:36 +0000 (16:30 +0200)]
[#4545] Spelling
Francis Dupont [Sat, 27 Jun 2026 09:15:05 +0000 (11:15 +0200)]
[#4545] Made iaprefix unpack stricter
Francis Dupont [Mon, 6 Jul 2026 15:33:54 +0000 (17:33 +0200)]
[#4] Spelling
Francis Dupont [Sun, 5 Jul 2026 12:04:12 +0000 (14:04 +0200)]
[#4] Fixed selectSubnet4o6
Razvan Becheriu [Thu, 2 Jul 2026 08:38:42 +0000 (11:38 +0300)]
[#4526] addressed review
Francis Dupont [Thu, 25 Jun 2026 10:35:26 +0000 (12:35 +0200)]
[#4526] Added mark-continuation-lines
Francis Dupont [Thu, 2 Jul 2026 14:31:31 +0000 (16:31 +0200)]
[#2598] Added VCI UTs
Francis Dupont [Thu, 2 Jul 2026 07:46:07 +0000 (09:46 +0200)]
[#2598] Revamped escape escape point
Francis Dupont [Wed, 1 Jul 2026 16:56:29 +0000 (18:56 +0200)]
[#2598] Addressed easy comments
Francis Dupont [Wed, 1 Jul 2026 16:44:01 +0000 (18:44 +0200)]
[#2598] Fixed per[-]cent spelling
Francis Dupont [Sat, 13 Jun 2026 09:31:10 +0000 (11:31 +0200)]
[#2598] Fixed and improved
Francis Dupont [Fri, 5 Jun 2026 13:45:51 +0000 (15:45 +0200)]
[#2598] Small improvement
Francis Dupont [Tue, 2 Jun 2026 09:30:32 +0000 (11:30 +0200)]
[#2598] Last updates
Francis Dupont [Mon, 1 Jun 2026 11:56:13 +0000 (13:56 +0200)]
[#2598] Added def UT
Francis Dupont [Mon, 1 Jun 2026 06:54:57 +0000 (08:54 +0200)]
[#2598] Mitigated a duplicate-includes bug
Francis Dupont [Sun, 31 May 2026 15:53:36 +0000 (17:53 +0200)]
[#2598] Made escape an injection
Francis Dupont [Sun, 31 May 2026 15:26:59 +0000 (17:26 +0200)]
[#2598] Checkpoint: added vendor class
Francis Dupont [Sun, 31 May 2026 14:53:57 +0000 (16:53 +0200)]
[#2598] Checkpoint: added escape util
Francis Dupont [Fri, 26 Jun 2026 16:45:39 +0000 (18:45 +0200)]
[#4597] Disabled UDP4 fragmentation
Razvan Becheriu [Wed, 1 Jul 2026 14:41:44 +0000 (17:41 +0300)]
[#4415] addressed review comments
Razvan Becheriu [Tue, 30 Jun 2026 20:55:32 +0000 (23:55 +0300)]
[#4415] added -F flag to exit on critical error
Razvan Becheriu [Tue, 16 Jun 2026 18:40:36 +0000 (21:40 +0300)]
[#4415] addressed review comments
Razvan Becheriu [Tue, 16 Jun 2026 18:22:47 +0000 (21:22 +0300)]
[#4415] updated unit tests
Razvan Becheriu [Tue, 16 Jun 2026 14:15:11 +0000 (17:15 +0300)]
[#4415] fixed indentation and typos
Francis Dupont [Tue, 16 Jun 2026 13:19:20 +0000 (15:19 +0200)]
[#4415] Updated DB reconnect logs
Razvan Becheriu [Tue, 16 Jun 2026 10:41:06 +0000 (13:41 +0300)]
[#4415] updated unit tests
Razvan Becheriu [Tue, 16 Jun 2026 07:05:56 +0000 (10:05 +0300)]
[#4415] added ChangeLog entry
Razvan Becheriu [Mon, 15 Jun 2026 21:26:38 +0000 (00:26 +0300)]
[#4415] firxed UTs
Razvan Becheriu [Mon, 15 Jun 2026 18:58:03 +0000 (21:58 +0300)]
[#4415] server shutdown on fatal error
Thomas Markwalder [Mon, 29 Jun 2026 17:38:04 +0000 (13:38 -0400)]
[#4563] Fix clang compiler warnings
modified: src/hooks/dhcp/forensic_log/rotating_file.cc
Razvan Becheriu [Wed, 1 Jul 2026 10:46:13 +0000 (13:46 +0300)]
[#4563] addressed review
Thomas Markwalder [Sun, 28 Jun 2026 20:20:48 +0000 (16:20 -0400)]
[#4563] Fixed spaces in change log
Thomas Markwalder [Sun, 28 Jun 2026 20:19:54 +0000 (16:19 -0400)]
[#4563] Added thank you to change log.
modified: 4563-f-151-forensic_log-lease4_callouts-cc-250-request-parser-format-eval-throw-lease-granted-with
Thomas Markwalder [Sun, 28 Jun 2026 18:45:32 +0000 (14:45 -0400)]
[#4563] Catch legal log eval errors
/src/hooks/dhcp/forensic_log/lease4_callouts.cc
getCustomEntry() - emit an error log and return false if
a custom expression throws an evaluation error.
/src/hooks/dhcp/forensic_log/lease6_callouts.cc
getCustomEntry() - emit an error log and return false if
a custom expression throws an evaluation error.
/src/hooks/dhcp/forensic_log/legal_log_messages.*
LEGAL_LOG_LEASE4_RENDER_ERROR
LEGAL_LOG_LEASE6_RENDER_ERROR
- new messages
/src/hooks/dhcp/forensic_log/tests/legal_log4_unittests.cc
TEST_F(CalloutTestv4, customLogRenderError)
- new test
/src/hooks/dhcp/forensic_log/tests/legal_log6_unittests.cc
TEST_F(CalloutTestv6, customLogRenderError)
- new test
/src/hooks/dhcp/forensic_log/tests/test_utils.h
class RotatingFileTest - now derives from LogContentTest
Francis Dupont [Fri, 26 Jun 2026 12:16:11 +0000 (14:16 +0200)]
[#4531] Disallowed 4o6 lease queries
Francis Dupont [Wed, 24 Jun 2026 13:38:36 +0000 (15:38 +0200)]
[#4393] Restored CSV file updates
Thomas Markwalder [Wed, 24 Jun 2026 13:14:46 +0000 (09:14 -0400)]
[#4393] Rebased added lib/util from 2598
modified: src/lib/util/csv_file.cc
modified: src/lib/util/csv_file.h
modified: src/lib/util/tests/csv_file_unittest.cc
modified: src/lib/util/tests/str_unittests.cc
Thomas Markwalder [Thu, 4 Jun 2026 18:11:36 +0000 (14:11 -0400)]
[#4393] Applied suggested changes
modified: src/lib/util/csv_file.cc
modified: src/lib/util/tests/csv_file_unittest.cc
modified: src/lib/util/tests/str_unittests.cc
Thomas Markwalder [Wed, 3 Jun 2026 18:14:36 +0000 (14:14 -0400)]
[#4393] Addressed review comments
modified: src/lib/util/csv_file.cc
modified: src/lib/util/tests/csv_file_unittest.cc
Thomas Markwalder [Wed, 3 Jun 2026 14:25:37 +0000 (10:25 -0400)]
[#4393] Addressed comments, added pre-scan
modified: changelog_unreleased/4393-newline-not-escaped-in-memfile-csv-lease-writer
modified: src/lib/util/csv_file.cc
Thomas Markwalder [Wed, 3 Jun 2026 11:00:20 +0000 (07:00 -0400)]
[#4393] Fixed ChangeLog
modified: changelog_unreleased/4393-newline-not-escaped-in-memfile-csv-lease-writer
Thomas Markwalder [Tue, 2 Jun 2026 16:01:47 +0000 (12:01 -0400)]
[#4393] Escape special characters in CVSFile
/src/lib/util/csv_file.*
CSVRow::writeAtEscaped() - rewritten to escape
characters over 127 and non-printables
/src/lib/util/str.*
byteToHex(uint8_t byte) - new function to convert
a byte to two-digit hex string
dumpAsHex() - modified to use byteToHex()
/src/lib/util/tests/csv_file_unittest.cc
TEST(CSVRowTest, escapeUnescape) - revamped
TEST(CSVRow, writeAt) - updated
Andrei Pavel [Wed, 24 Jun 2026 13:06:40 +0000 (16:06 +0300)]
[#4608] Bump up versions after release
Andrei Pavel [Mon, 22 Jun 2026 06:18:01 +0000 (09:18 +0300)]
[#4605] Update platforms.rst
Andrei Pavel [Sun, 21 Jun 2026 22:10:27 +0000 (01:10 +0300)]
[#4605] release changes: systems
Andrei Pavel [Sun, 21 Jun 2026 22:14:11 +0000 (01:14 +0300)]
[#4605] release changes: Update SECURITY.md
Andrei Pavel [Sun, 21 Jun 2026 22:34:55 +0000 (01:34 +0300)]
[#4605] release changes: spellchecks
Andrei Pavel [Sun, 21 Jun 2026 21:37:14 +0000 (00:37 +0300)]
[#4605] release changes
Andrei Pavel [Sun, 21 Jun 2026 22:40:00 +0000 (01:40 +0300)]
[#4605] Bump up a timeout in meson.build
Andrei Pavel [Thu, 18 Jun 2026 13:23:25 +0000 (16:23 +0300)]
[#4601] Bump up lib versions for Kea 3.2.0
Andrei Pavel [Thu, 18 Jun 2026 11:43:09 +0000 (14:43 +0300)]
[#3232] Update conf.py
fvextra is not packaged by EL distros.
It seems fontsize=\tiny can be set just with fancyvrb which is in the
standard TeX Live collection.
Thomas Markwalder [Thu, 18 Jun 2026 11:04:28 +0000 (07:04 -0400)]
[#4362] Addressed review comments
modified: doc/sphinx/arm/hooks-ha.rst
Thomas Markwalder [Wed, 17 Jun 2026 19:11:16 +0000 (15:11 -0400)]
[#4362] Fixed duplicate text
modified: doc/sphinx/arm/hooks-ha.rst
Thomas Markwalder [Wed, 17 Jun 2026 18:54:05 +0000 (14:54 -0400)]
[#4362] Updated HA section with a note
modified: doc/sphinx/arm/hooks-ha.rst
Francis Dupont [Wed, 4 Mar 2026 08:16:23 +0000 (09:16 +0100)]
[#4093] Moved setpriority
Andrei Pavel [Wed, 17 Jun 2026 13:31:07 +0000 (16:31 +0300)]
[#3232] Remove json5 style from code blocks
Because the world is not ready for it yet.
Andrei Pavel [Wed, 17 Jun 2026 06:48:52 +0000 (09:48 +0300)]
[#3232] Fix doc building on Ubuntu 26.04
Andrei Pavel [Tue, 16 Jun 2026 13:12:19 +0000 (16:12 +0300)]
[#3232] Rewrite tools/add-config-examples-to-arm.py to be less hardcoded
Andrei Pavel [Tue, 16 Jun 2026 15:03:52 +0000 (18:03 +0300)]
[#3232] Update check-for-json-errors-in-doc.sh
Andrei Pavel [Fri, 12 Jun 2026 07:55:26 +0000 (10:55 +0300)]
[#3232] Add changelog entry
Andrei Pavel [Fri, 12 Jun 2026 12:18:00 +0000 (15:18 +0300)]
[#3232] Update check-for-json-errors-in-doc.sh
Andrei Pavel [Fri, 12 Jun 2026 08:35:47 +0000 (11:35 +0300)]
[#3232] Reference the new anchors wherever possible
Andrei Pavel [Fri, 12 Jun 2026 07:54:02 +0000 (10:54 +0300)]
[#3232] Include configuration examples in the ARM
Thomas Markwalder [Wed, 17 Jun 2026 04:22:50 +0000 (00:22 -0400)]
[#4431] Updated the ARM
modified: ../doc/sphinx/arm/dhcp4-srv.rst
modified: ../doc/sphinx/arm/dhcp6-srv.rst
Razvan Becheriu [Wed, 10 Jun 2026 16:58:40 +0000 (19:58 +0300)]
[#4461] updated yang modules
Francis Dupont [Tue, 16 Jun 2026 08:15:16 +0000 (10:15 +0200)]
[#4565] Addressed comments
Francis Dupont [Tue, 9 Jun 2026 21:40:10 +0000 (23:40 +0200)]
[#4565] More fixes and tests
Francis Dupont [Tue, 9 Jun 2026 17:14:33 +0000 (19:14 +0200)]
[#4565] Added a ChangeLog entry
Francis Dupont [Tue, 9 Jun 2026 17:11:35 +0000 (19:11 +0200)]
[#4565] Added UTs
Francis Dupont [Tue, 9 Jun 2026 16:11:33 +0000 (18:11 +0200)]
[#4565] Checkpoint: UTs to add
Francis Dupont [Mon, 8 Jun 2026 23:08:14 +0000 (01:08 +0200)]
[#4565] Checkpoint: extended to IA6
Francis Dupont [Mon, 8 Jun 2026 19:50:36 +0000 (21:50 +0200)]
[#4565] Checkpoint: built recursion chain
Andrei Pavel [Thu, 11 Jun 2026 09:12:22 +0000 (12:12 +0300)]
[#4111] Add changelog entry
Andrei Pavel [Mon, 15 Jun 2026 12:26:10 +0000 (15:26 +0300)]
[#4111] Add unit tests
Andrei Pavel [Thu, 11 Jun 2026 09:08:31 +0000 (12:08 +0300)]
[#4111] Log errors that result in kea-admin being called
[#4500] This commit addresses #4500.
Andrei Pavel [Wed, 10 Jun 2026 14:39:22 +0000 (17:39 +0300)]
[#4111] Do not attempt kea-admin db-init when default credentials prevent db connection
Since kea-admin is guaranteed to fail just the same.
Francis Dupont [Fri, 29 May 2026 17:43:18 +0000 (19:43 +0200)]
[#4506] Checkpoint: finished isMainThread
Francis Dupont [Fri, 29 May 2026 13:36:21 +0000 (15:36 +0200)]
[#4506] Checkpoint: v6 UTs to do
Francis Dupont [Fri, 29 May 2026 08:03:46 +0000 (10:03 +0200)]
[#4506] More isMainThread uses
Razvan Becheriu [Fri, 12 Jun 2026 16:50:26 +0000 (19:50 +0300)]
[#4592] updated script and valgrind.supp
Andrei Pavel [Fri, 12 Jun 2026 16:31:41 +0000 (19:31 +0300)]
[#4592] Update valgrind_generate_suppression_file.sh
Andrei Pavel [Fri, 12 Jun 2026 06:46:45 +0000 (09:46 +0300)]
[#4592] Update meson.build
Andrei Pavel [Fri, 12 Jun 2026 10:30:11 +0000 (13:30 +0300)]
[#4592] Update valgrind_generate_suppression_file.sh
- Some paths still appeared as full path in comments in valgrind supp
file. Fixed.
- Escape characters in csplit which is apparently needed in some
systems.
- Sort "# detected in" comments.
- Add an echo useful for debugging.
Thomas Markwalder [Mon, 15 Jun 2026 11:51:29 +0000 (07:51 -0400)]
[#4498] Fixed UTs
modified: src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
modified: src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
modified: src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
Razvan Becheriu [Mon, 15 Jun 2026 05:44:24 +0000 (08:44 +0300)]
[#4498] addressed review
Thomas Markwalder [Thu, 11 Jun 2026 19:18:33 +0000 (15:18 -0400)]
[#4498] Fixed compilation error
modified: src/lib/cc/simple_parser.h
modified: src/lib/cc/tests/simple_parser_unittest.cc