]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Godzina [Fri, 22 Mar 2024 15:55:27 +0000 (15:55 +0000)]
[#3307] release changes
Razvan Becheriu [Fri, 22 Mar 2024 14:38:56 +0000 (16:38 +0200)]
[#3304] bump up library versions for 2.5.7 release
Razvan Becheriu [Fri, 22 Mar 2024 11:59:06 +0000 (13:59 +0200)]
[#3300] revert fix and move poll
Tomek Mrugalski [Fri, 22 Mar 2024 13:01:18 +0000 (14:01 +0100)]
[#3079] rebuilt requirements.txt for Sphinx
Tomek Mrugalski [Wed, 20 Mar 2024 16:48:46 +0000 (17:48 +0100)]
[#3079] ChangeLog corrected
Tomek Mrugalski [Wed, 20 Mar 2024 12:56:58 +0000 (13:56 +0100)]
[#3079] ChangeLog updated
dependabot[bot] [Wed, 20 Mar 2024 11:29:09 +0000 (11:29 +0000)]
[#3079] Bump jinja2 from 3.1.2 to 3.1.3 in /doc/sphinx/src
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Andrei Pavel [Thu, 21 Mar 2024 21:33:44 +0000 (23:33 +0200)]
[#3210] fix clang error
error: constexpr function never produces a constant expression [-Winvalid-constexpr]
Thomas Markwalder [Thu, 21 Mar 2024 17:05:11 +0000 (13:05 -0400)]
[#3300] Added ChangeLog
Thomas Markwalder [Thu, 21 Mar 2024 17:02:34 +0000 (13:02 -0400)]
[#3300] Fixed db-reconnect issue
src/bin/dhcp4/ctrl_dhcp4_srv.cc
ControlledDhcpv4Srv::processConfig(isc::data::ConstElementPtr config)
src/bin/dhcp6/ctrl_dhcp6_srv.cc
ControlledDhcpv6Srv::processConfig(isc::data::ConstElementPtr config)
Andrei Pavel [Thu, 21 Mar 2024 08:48:18 +0000 (10:48 +0200)]
[#3210] address review
Andrei Pavel [Mon, 4 Mar 2024 15:21:05 +0000 (17:21 +0200)]
[#3210] fix different exception message on BSD
Andrei Pavel [Mon, 4 Mar 2024 13:26:17 +0000 (15:26 +0200)]
[#3210] fix some warnings
Andrei Pavel [Mon, 4 Mar 2024 13:16:36 +0000 (15:16 +0200)]
[#3210] clean up some header includes
Andrei Pavel [Mon, 4 Mar 2024 10:19:56 +0000 (12:19 +0200)]
[#3210] update copyright dates
Andrei Pavel [Mon, 4 Mar 2024 09:46:36 +0000 (11:46 +0200)]
[#3210] miscellaneous warning fixes in lib/util
- Wsign-compare
- Wshadow
- doxygen warnings
- fix compilation for src/lib/util/tests/Makefile.am
Andrei Pavel [Mon, 4 Mar 2024 09:49:45 +0000 (11:49 +0200)]
[#3210] refactor string utilities
- Rename util/strutil.h to util/str.h to escape redundancy.
- Simplify trim function.
- Remove unused functions.
- Get rid of the regex conditional compilation that helped Kea build
with ancient compilers. Lack of proper regex functionality now results
in failure in configure.ac.
Andrei Pavel [Mon, 4 Mar 2024 09:48:47 +0000 (11:48 +0200)]
[#3210] refactor io utilities
- Rename util/io_utilities.h to util/io.h to escape redundancy.
- Create readUint and writeUint templates.
- Use reverse_copy for potential performance boost.
- Add missing unit tests.
Andrei Pavel [Mon, 4 Mar 2024 09:48:36 +0000 (11:48 +0200)]
[#3210] refactor file utilities
- Unify filename.h and file_utilities.h under filesystem.h.
- Rename Filename class to Path since it more accurately represents
it.
- Make its interface as close as possible to that of std::filesystem::path.
- Remove unused method expandWithDefault.
- Rename useAsDefault to replaceExtension since it was only used in the
purpose of replacing extension.
- Unroll the split method in the constructor.
Andrei Pavel [Fri, 1 Mar 2024 12:20:15 +0000 (14:20 +0200)]
[#3210] properly match header names with regex
Andrei Pavel [Wed, 21 Feb 2024 12:40:18 +0000 (14:40 +0200)]
[#3210] add ability to format changed files
Andrei Pavel [Thu, 21 Mar 2024 15:59:59 +0000 (17:59 +0200)]
[#3267] cosmetic changes to find headers script
Andrei Pavel [Thu, 21 Mar 2024 14:55:06 +0000 (16:55 +0200)]
[#3267] add EXCLUDE_LIST in find headers script
Andrei Pavel [Thu, 21 Mar 2024 14:35:38 +0000 (16:35 +0200)]
[#3267] fix find header script not finding files
Script did not find files that are on the same line as the _HEADERS
variable.
Andrei Pavel [Thu, 21 Mar 2024 14:34:17 +0000 (16:34 +0200)]
[#3267] cosmetic changes to find headers script
Andrei Pavel [Mon, 4 Mar 2024 12:30:02 +0000 (14:30 +0200)]
[#3267] add tools/find-uninstalled-headers.py
Piotrek Zadroga [Thu, 21 Mar 2024 15:04:17 +0000 (16:04 +0100)]
[#3267] added ChangeLog entry
Piotrek Zadroga [Tue, 5 Mar 2024 12:14:06 +0000 (13:14 +0100)]
[#3267] unify tabs
Piotrek Zadroga [Tue, 5 Mar 2024 11:01:05 +0000 (12:01 +0100)]
[#3267] add missing include_HEADERS
- missing headers in libkea-util
- missing headers in libkea-util-io
Piotrek Zadroga [Tue, 5 Mar 2024 10:59:08 +0000 (11:59 +0100)]
[#3267] add missing include_HEADERS
- missing headers in libkea-dhcpsrv
Piotrek Zadroga [Tue, 5 Mar 2024 10:58:14 +0000 (11:58 +0100)]
[#3267] add missing include_HEADERS
- missing headers in libkea-d2srv
Piotrek Zadroga [Tue, 5 Mar 2024 10:57:52 +0000 (11:57 +0100)]
[#3267] add missing include_HEADERS
- missing headers in libkea-cfgclient
Piotrek Zadroga [Thu, 29 Feb 2024 16:56:05 +0000 (17:56 +0100)]
[#3267] add missing include_HEADERS
Andrei Pavel [Tue, 19 Mar 2024 07:33:26 +0000 (09:33 +0200)]
[#3262] reword RADIUS doc
Francis Dupont [Mon, 18 Mar 2024 09:20:55 +0000 (10:20 +0100)]
[#2692] Addressed comments
Francis Dupont [Tue, 5 Mar 2024 10:20:25 +0000 (11:20 +0100)]
[#2692] Added a ChangeLog entry
Francis Dupont [Tue, 5 Mar 2024 10:13:58 +0000 (11:13 +0100)]
[#2692] Added unit tests
Francis Dupont [Tue, 5 Mar 2024 08:51:03 +0000 (09:51 +0100)]
[#2692] Checkpoint: code done, need UT
Piotrek Zadroga [Wed, 20 Mar 2024 09:32:33 +0000 (10:32 +0100)]
[#3212] restore code after rebase
Piotrek Zadroga [Wed, 28 Feb 2024 12:51:57 +0000 (13:51 +0100)]
[#3212] reformat UT file
Piotrek Zadroga [Wed, 28 Feb 2024 12:51:41 +0000 (13:51 +0100)]
[#3212] doxygen docs fixes
Piotrek Zadroga [Mon, 26 Feb 2024 11:41:39 +0000 (12:41 +0100)]
[#3212] restore UTs
Piotrek Zadroga [Mon, 26 Feb 2024 11:27:52 +0000 (12:27 +0100)]
[#3212] remove redundant specifier
Piotrek Zadroga [Mon, 26 Feb 2024 11:16:09 +0000 (12:16 +0100)]
[#3212] reorder namespaces
Piotrek Zadroga [Mon, 26 Feb 2024 11:13:36 +0000 (12:13 +0100)]
[#3212] update includes
Piotrek Zadroga [Mon, 26 Feb 2024 11:12:37 +0000 (12:12 +0100)]
[#3212] code reformat
Piotrek Zadroga [Mon, 26 Feb 2024 11:08:28 +0000 (12:08 +0100)]
[#3212] NULLs refactor
- introduce 0 instead of NULL
Piotrek Zadroga [Mon, 26 Feb 2024 11:05:31 +0000 (12:05 +0100)]
[#3212] refactor function name
- introduce camelCase name
Piotrek Zadroga [Thu, 22 Feb 2024 12:30:15 +0000 (13:30 +0100)]
[#3212] refactor time utils
Step 2: implement time utils in lib dns
Piotrek Zadroga [Thu, 22 Feb 2024 08:41:28 +0000 (09:41 +0100)]
[#3212] refactor time utils
Step 1: remove from lib/utils
Tomek Mrugalski [Fri, 9 Feb 2024 12:46:54 +0000 (13:46 +0100)]
[#3249] hammer fix
- hammer supported-systems works again
Francis Dupont [Tue, 19 Mar 2024 18:17:32 +0000 (19:17 +0100)]
[#3211] Renamed getDataAsVP
Francis Dupont [Tue, 19 Mar 2024 17:21:54 +0000 (18:21 +0100)]
[#3211] Removed remaining InvalidBufferPosition
Francis Dupont [Mon, 11 Mar 2024 17:13:13 +0000 (18:13 +0100)]
[#3211] Replaced InvalidBufferPosition exception by OutOfRange
Francis Dupont [Fri, 8 Mar 2024 09:39:55 +0000 (10:39 +0100)]
[#3211] More cosmetic changes (3)
Francis Dupont [Fri, 8 Mar 2024 09:17:09 +0000 (10:17 +0100)]
[#3211] More cosmetic changes (2)
Francis Dupont [Fri, 8 Mar 2024 09:03:49 +0000 (10:03 +0100)]
[#3211] More cosmetic changes
Francis Dupont [Wed, 6 Mar 2024 15:16:25 +0000 (16:16 +0100)]
[#3211] More new getVector use cases
Francis Dupont [Tue, 5 Mar 2024 17:44:51 +0000 (18:44 +0100)]
[#3211] Almost done
Francis Dupont [Tue, 5 Mar 2024 14:43:40 +0000 (15:43 +0100)]
[#3211] Checkpoint: rewrote InputBuffer
Razvan Becheriu [Mon, 18 Mar 2024 18:58:43 +0000 (20:58 +0200)]
[#3253] addresed review
Thomas Markwalder [Tue, 12 Mar 2024 17:31:30 +0000 (13:31 -0400)]
[#3253] Renamed end_event to stop_event
src/hooks/dhcp/perfmon/alarm.*
src/hooks/dhcp/perfmon/monitored_duration.*
src/hooks/dhcp/perfmon/tests/alarm_unittests.cc
src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
- renamed DurationKey::end_event_ to DurationKey::stop_event_
Thomas Markwalder [Tue, 5 Mar 2024 16:14:15 +0000 (11:14 -0500)]
[#3253] Added report due time finders
src/hooks/dhcp/perfmon/monitored_duration.*
MonitoredDuration::getCurrentIntervalStart()
MonitoredDuration::expireCurrentInterval() - new functions
src/hooks/dhcp/perfmon/monitored_duration_store.*
MonitoredDurationStore::getReportsNext()
MonitoredDurationStore::getOverdueReports() - new functions
src/hooks/dhcp/perfmon/tests/monitored_duration_store_unittests.cc
TEST_F(MonitoredDurationStoreTest, reportDue*) - new tests
src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
TEST(MonitoredDuration, expireInterval) - new test
src/lib/dhcp/pkt.h
static boost::posix_time::ptime& MIN_TIME()
static boost::posix_time::ptime& MAX_TIME() - new functions
Thomas Markwalder [Mon, 4 Mar 2024 16:41:17 +0000 (11:41 -0500)]
[#3253] Use modify() to do inplace updates
src/hooks/dhcp/perfmon/alarm_store.cc
AlarmStore::checkDurationSample() - revamped to use multi_index::modify
src/hooks/dhcp/perfmon/monitored_duration_store.*
MonitoredDurationStore::addDurationSample() - revamped to use multi_index::modify
Added index on current interval start time
src/hooks/dhcp/perfmon/tests/monitored_duration_store_unittests.cc
Took out speed check UTs, left function
Thomas Markwalder [Thu, 29 Feb 2024 18:43:21 +0000 (13:43 -0500)]
[#3253] fixed returns with no space
modified:
src/hooks/dhcp/perfmon/alarm_store.cc
src/hooks/dhcp/perfmon/monitored_duration_store.cc
Thomas Markwalder [Thu, 29 Feb 2024 18:40:27 +0000 (13:40 -0500)]
[#3253] Doxygen clean up
../../../../doc/devel/Doxyfile
Added perfmon dir
modified:
alarm.h
alarm_store.h
monitored_duration_store.h
Thomas Markwalder [Wed, 28 Feb 2024 21:00:19 +0000 (16:00 -0500)]
[#3253] Added In-place alarm checking
src/hooks/dhcp/perfmon/alarm_store.*
AlarmStore::checkDurationSample() - new function to check a sample
against an alarm in-place
src/hooks/dhcp/perfmon/tests/alarm_store_unittests.cc
checkDurationSampleTest(uint16_t family) - new test function and tests
Thomas Markwalder [Wed, 28 Feb 2024 17:02:47 +0000 (12:02 -0500)]
[#3253] Added in-place duration update
src/hooks/dhcp/perfmon/monitored_duration.*
MonitoredDuration::MonitoredDuration() - new copy ctor
DurationDataInterval::operator==() - added for UTs
src/hooks/dhcp/perfmon/monitored_duration_store.*
MonitoredDurationStore::addDurationSample()
- new function for adding sample to duration in-place
MonitoredDurationStore::addDuration()
- removed optional sample parameter
src/hooks/dhcp/perfmon/tests/monitored_duration_store_unittests.cc
addDurationSampleTest(uint16_t family) - new test func and tests
src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
TEST(MonitoredDuration, copyConstructors) - new test
Thomas Markwalder [Tue, 27 Feb 2024 20:30:55 +0000 (15:30 -0500)]
[#3253] Added AlarmStore classes
src/hooks/dhcp/perfmon/alarm_store.h
src/hooks/dhcp/perfmon/alarm_store.cc
src/hooks/dhcp/perfmon/testsalarm_store_unittests.cc
new files
src/hooks/dhcp/perfmon/Makefile.am
Added alarm_store.cc and alarm_store.h
Thomas Markwalder [Tue, 27 Feb 2024 11:54:06 +0000 (06:54 -0500)]
[#3253] Minor cleanup
modified:
monitored_duration_store.cc
monitored_duration_store.h
Thomas Markwalder [Mon, 26 Feb 2024 20:37:07 +0000 (15:37 -0500)]
[3253] Removed clutter
modified: monitored_duration_store.h
Thomas Markwalder [Mon, 26 Feb 2024 19:14:16 +0000 (14:14 -0500)]
[#3253] Full CRUD for MonitoredDurationStore
MonitoredDurationStore implements CRUD for primay
key index, along with UTs.
Thomas Markwalder [Fri, 23 Feb 2024 21:00:31 +0000 (16:00 -0500)]
[#3253] Initial commit of MontioredDurationStore
Initial implemention of MonitoredDurationStore and UTs
src/hooks/dhcp/perfmon/tests/monitored_duration_store_unittests.cc
src/hooks/dhcp/perfmon/monitored_duration_store.cc
src/hooks/dhcp/perfmon/monitored_duration_store.h
new files
src/hooks/dhcp/perfmon/Makefile.am
added monitored_duration_store.cc monitored_duration_store.h
src/hooks/dhcp/perfmon/monitored_duration.*
Added ==, !=, < operators
src/hooks/dhcp/perfmon/tests/Makefile.am
added monitored_duration_store_unittests.cc
src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
TEST(DurationKey, equalityOperators) - new test
Francis Dupont [Tue, 12 Mar 2024 15:24:10 +0000 (16:24 +0100)]
[#3262] Optimized getSubnet() (#3268 1st point)
Andrei Pavel [Tue, 12 Mar 2024 11:22:08 +0000 (13:22 +0200)]
[#3262] check parking limit on subnet select
Andrei Pavel [Wed, 6 Mar 2024 16:24:37 +0000 (18:24 +0200)]
[#3262] on completion callback for subnet select
Andrei Pavel [Wed, 6 Mar 2024 16:37:12 +0000 (18:37 +0200)]
[#3262] document RADIUS thread-pool-size
Thomas Markwalder [Tue, 12 Mar 2024 15:15:50 +0000 (11:15 -0400)]
[#3280] Added performance.dox to Makefile.am
modified: doc/devel/Makefile.am
Thomas Markwalder [Tue, 12 Mar 2024 15:04:41 +0000 (11:04 -0400)]
[#3280] Updated Doxyfile
Ran "doxygen -u" with doxygen 1.10.0 to update our Doxyfile
Cleared up several warnings and eliminated dot errors in crypto lib.
Thomas Markwalder [Tue, 12 Mar 2024 14:06:01 +0000 (10:06 -0400)]
[#3280] Fixed a few more
Fixed errors that should have been reported but
do not under doxygen 1.8.17
modified:
../../src/bin/dhcp4/dhcp4_srv.h
../../src/lib/dhcp/pkt.h
Thomas Markwalder [Tue, 12 Mar 2024 13:44:35 +0000 (09:44 -0400)]
[#3280] Fixed new errors after rebase
src/lib/dns/char_string.h
src/lib/dns/txt_like.h
Thomas Markwalder [Tue, 12 Mar 2024 13:11:46 +0000 (09:11 -0400)]
[#3280] Fixed typos
Thomas Markwalder [Mon, 11 Mar 2024 16:01:57 +0000 (12:01 -0400)]
[#3280] Fix performance hierarchy
modified:
mainpage.dox
performance.dox
Thomas Markwalder [Mon, 11 Mar 2024 14:57:08 +0000 (10:57 -0400)]
[#3280] Added stub Performance page
Performance subpage was missing. Added with simple content.
Thomas Markwalder [Mon, 11 Mar 2024 14:27:37 +0000 (10:27 -0400)]
[#3280] Fixed doxygen commentary errors
Removed failing references to private class members,
Added missing paramters
miscellaneous other errors
Francis Dupont [Mon, 11 Mar 2024 16:22:35 +0000 (17:22 +0100)]
[#3285] Removed GENERATE code and tests
Razvan Becheriu [Mon, 11 Mar 2024 10:26:10 +0000 (12:26 +0200)]
[#3208] reordered includes
Francis Dupont [Sun, 10 Mar 2024 19:23:15 +0000 (20:23 +0100)]
[#3208] Removed define 1 in include guards
Francis Dupont [Sun, 10 Mar 2024 19:06:11 +0000 (20:06 +0100)]
[#3208] Revamped registry UTs
Francis Dupont [Sun, 10 Mar 2024 00:45:01 +0000 (01:45 +0100)]
[#3208] Restore CH A RR
Francis Dupont [Sat, 9 Mar 2024 23:53:27 +0000 (00:53 +0100)]
[#3208] Removed spurious tabs and spaces
Francis Dupont [Sat, 9 Mar 2024 23:23:20 +0000 (00:23 +0100)]
[#3208] Got rid of non-C++ NULL
Razvan Becheriu [Sat, 9 Mar 2024 08:17:54 +0000 (08:17 +0000)]
[#3208] fix Makefile
Razvan Becheriu [Fri, 8 Mar 2024 18:19:05 +0000 (20:19 +0200)]
[#3208] clean up code
Razvan Becheriu [Fri, 8 Mar 2024 17:23:56 +0000 (19:23 +0200)]
[#3208] added not implemented types
Razvan Becheriu [Mon, 4 Mar 2024 18:34:03 +0000 (20:34 +0200)]
[#3208] restore unittests
Razvan Becheriu [Fri, 1 Mar 2024 18:37:15 +0000 (20:37 +0200)]
[#3208] remove unused code in libdns
Thomas Markwalder [Tue, 27 Feb 2024 16:50:13 +0000 (11:50 -0500)]
[#3270] Make Perfmon addSampleAndClear UT reliable
src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
TEST(MonitoredDuration, addSampleAndClear) - reworked to remove
timing sensitivity
Razvan Becheriu [Tue, 20 Feb 2024 19:44:59 +0000 (21:44 +0200)]
[#3190] addressed review comments
Razvan Becheriu [Mon, 5 Feb 2024 10:31:45 +0000 (12:31 +0200)]
[#3190] fixed ASAN warnings