]>
git.ipfire.org Git - thirdparty/kea.git/log
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
Razvan Becheriu [Wed, 31 Jan 2024 16:05:21 +0000 (18:05 +0200)]
[#3190] fix ASAN warnings
Razvan Becheriu [Thu, 14 Dec 2023 18:16:52 +0000 (20:16 +0200)]
[#3190] use smart pointer to capture IOService instance
Andrei Pavel [Tue, 27 Feb 2024 18:55:08 +0000 (20:55 +0200)]
[#3271] bump version in configure.ac to 2.5.7
Andrei Pavel [Mon, 26 Feb 2024 12:47:03 +0000 (14:47 +0200)]
[#3263] release changes
Andrei Pavel [Mon, 26 Feb 2024 08:46:31 +0000 (10:46 +0200)]
[#3263] release changes
Razvan Becheriu [Sat, 24 Feb 2024 05:30:05 +0000 (07:30 +0200)]
[#3261] bump up library versions for 2.5.6 release
Razvan Becheriu [Tue, 20 Feb 2024 08:46:26 +0000 (10:46 +0200)]
[#3193] fixed double free when using botan
Andrei Pavel [Fri, 23 Feb 2024 18:01:00 +0000 (20:01 +0200)]
[#3025] fix ProcessSpawn on BSD
- Always break after collecting exit status. Previously it broke the
loop always on failure of waitpid which does happen after calling it
subsequently, but there is no reason to wait until then.
- When waitpid returns -1 in sync mode, throw exception, except for
EINTR which happens on signals (usually one time) prior to
the child process exiting if sigaction is called without SA_RESTART
which is the default on some systems.
- Only initialize the global IO signal set on the IO service in async
mode. It makes no sense to do it in sync mode because there is no IO service.
- Swap pid and wpid names to conform to names in `man wait` on BSD.
- Add FAIL() on timer expiration.
- Don't call runOne() the third time in unit tests because it waits for
the timer to expire.
Piotrek Zadroga [Fri, 23 Feb 2024 15:59:15 +0000 (16:59 +0100)]
[#3141] addressed review comments
- Mostly further corrections in ARM docs and in comments.
Piotrek Zadroga [Fri, 23 Feb 2024 14:23:51 +0000 (15:23 +0100)]
[#3141] addressed review comments
- refactored code of SvcParam config parser
- added new 2 UTs
- added some more comments in code
Piotrek Zadroga [Fri, 23 Feb 2024 09:41:57 +0000 (10:41 +0100)]
[#3141] addressed review comments
- Rephrased some text in ARM docs.
- Added new text to ARM docs.
Piotrek Zadroga [Thu, 22 Feb 2024 14:16:20 +0000 (15:16 +0100)]
[#3141] fix compilation error
Piotrek Zadroga [Tue, 20 Feb 2024 13:49:55 +0000 (14:49 +0100)]
[#3141] ChangeLog entry
Piotrek Zadroga [Tue, 20 Feb 2024 13:42:58 +0000 (14:42 +0100)]
[#3141] ARM docs updated
Piotrek Zadroga [Tue, 20 Feb 2024 11:09:26 +0000 (12:09 +0100)]
[#3141] delete excessive dnr.json examples
Piotrek Zadroga [Tue, 20 Feb 2024 11:08:35 +0000 (12:08 +0100)]
[#3141] json examples update
Piotrek Zadroga [Tue, 20 Feb 2024 09:29:09 +0000 (10:29 +0100)]
[#3141] restore delimiter escaping
Piotrek Zadroga [Mon, 19 Feb 2024 21:33:15 +0000 (22:33 +0100)]
[#3141] provide RFC in comments
Piotrek Zadroga [Mon, 19 Feb 2024 20:15:48 +0000 (21:15 +0100)]
[#3141] DNRv4 UTs edited
Piotrek Zadroga [Mon, 19 Feb 2024 10:44:02 +0000 (11:44 +0100)]
[#3141] option definition UTs fix
Piotrek Zadroga [Fri, 16 Feb 2024 19:39:14 +0000 (20:39 +0100)]
[#3141] DNRv6 UTs edited
Piotrek Zadroga [Fri, 16 Feb 2024 19:25:21 +0000 (20:25 +0100)]
[#3141] unpack SvcParams from hex data
Piotrek Zadroga [Thu, 15 Feb 2024 19:19:17 +0000 (20:19 +0100)]
[#3141] DNRv4 config parser
Piotrek Zadroga [Thu, 15 Feb 2024 11:34:37 +0000 (12:34 +0100)]
[#3141] pack SvcParams to buffer
Piotrek Zadroga [Wed, 14 Feb 2024 21:57:13 +0000 (22:57 +0100)]
[#3141] unpack dohpath SvcParam
Piotrek Zadroga [Wed, 14 Feb 2024 12:44:09 +0000 (13:44 +0100)]
[#3141] unpack port SvcParam
Piotrek Zadroga [Wed, 14 Feb 2024 11:14:25 +0000 (12:14 +0100)]
[#3141] unpack alpn SvcParam
Piotrek Zadroga [Tue, 13 Feb 2024 18:02:17 +0000 (19:02 +0100)]
[#3141] config parser wip
Piotrek Zadroga [Mon, 12 Feb 2024 21:19:40 +0000 (22:19 +0100)]
[#3141] added ALPN-IDs
Piotrek Zadroga [Mon, 12 Feb 2024 21:04:39 +0000 (22:04 +0100)]
[#3141] config parsers boilerplate
Piotrek Zadroga [Mon, 12 Feb 2024 13:14:44 +0000 (14:14 +0100)]
[#3141] make dnr options type internal
Tomek Mrugalski [Mon, 29 Jan 2024 13:26:43 +0000 (14:26 +0100)]
[#3141] List of Service Parametes (DNR) added
Tomek Mrugalski [Mon, 29 Jan 2024 12:42:17 +0000 (13:42 +0100)]
[#3141] Doc updated for v6 DNR option
Tomek Mrugalski [Thu, 25 Jan 2024 13:26:05 +0000 (14:26 +0100)]
[#3141] ARM updated
- Added DNR description
- added to list of supported RFCs
- Also removed one server limitation that's no longer valid
(because we have ping-check). Not related, but small enough.
Thomas Markwalder [Thu, 22 Feb 2024 21:57:42 +0000 (16:57 -0500)]
[#3245] Minor UT change
modified: src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
Thomas Markwalder [Thu, 22 Feb 2024 20:30:01 +0000 (15:30 -0500)]
[#3245] Wordiing fix
modified: pkt_filter_lpf.cc
Razvan Becheriu [Thu, 22 Feb 2024 19:23:58 +0000 (21:23 +0200)]
[#3245] addressed review
Thomas Markwalder [Wed, 21 Feb 2024 16:46:35 +0000 (11:46 -0500)]
[#3245] Remove wrong doxygen use in UT
modified: alarm_unittests.cc
modified: monitored_duration_unittests.cc
Thomas Markwalder [Wed, 21 Feb 2024 12:43:18 +0000 (07:43 -0500)]
[#3245] Moved Alarm into own files
new file: src/hooks/dhcp/perfmon/alarm.cc
new file: src/hooks/dhcp/perfmon/alarm.h
new file: src/hooks/dhcp/perfmon/tests/alarm_unittests.cc
modified: src/hooks/dhcp/perfmon/Makefile.am
modified: src/hooks/dhcp/perfmon/monitored_duration.cc
modified: src/hooks/dhcp/perfmon/monitored_duration.h
modified: src/hooks/dhcp/perfmon/tests/Makefile.am
modified: src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
Thomas Markwalder [Tue, 20 Feb 2024 20:47:33 +0000 (15:47 -0500)]
[#3245] Fixed unused variable warning
src/lib/dhcp/pkt_filter_inet6.cc
PktFilterInet6::openSocket() - added errmsg to exception text as originally intended
Thomas Markwalder [Fri, 16 Feb 2024 21:18:44 +0000 (16:18 -0500)]
[#3245] Adds fundamental classes to perfmon
src/hooks/dhcp/perfmon/monitored_duration.cc
src/hooks/dhcp/perfmon/monitored_duration.h
New files that add DurationDataInterval, DurationKey, Alarm, and MonitoredDuration classes
src/hooks/dhcp/perfmon/monitored_duration.h
New file of unit tests for new classes
modified: Makefile.am
modified: tests/Makefile.am
Francis Dupont [Thu, 22 Feb 2024 15:17:55 +0000 (16:17 +0100)]
[#2022] Added a comment about yhe unparking race
Francis Dupont [Wed, 21 Feb 2024 21:48:41 +0000 (22:48 +0100)]
[#2022] Added parking points
Francis Dupont [Wed, 21 Feb 2024 16:13:55 +0000 (17:13 +0100)]
[#2022] Checkpoint: added methods
Andrei Pavel [Thu, 22 Feb 2024 11:18:06 +0000 (13:18 +0200)]
[#3025] fix missing include
Andrei Pavel [Fri, 16 Feb 2024 11:34:21 +0000 (13:34 +0200)]
[#3025] add ChangeLog entry
Andrei Pavel [Wed, 21 Feb 2024 13:08:54 +0000 (15:08 +0200)]
[#3025] fix distcheck
Andrei Pavel [Tue, 20 Feb 2024 22:56:10 +0000 (00:56 +0200)]
[#3025] use admin-utils.sh based on location in upgrade scripts
Andrei Pavel [Tue, 20 Feb 2024 22:25:22 +0000 (00:25 +0200)]
[#3025] address review comments
Andrei Pavel [Tue, 20 Feb 2024 18:49:37 +0000 (20:49 +0200)]
[#3025] appease shellcheck
. "${admin_utils}"
^--------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.
version=$(checked_mysql_version)
^-------------------^ SC2119: Use checked_mysql_version "$@" if function's $1 should mean script's $1.
... and others that spiraled afterwards
Andrei Pavel [Tue, 20 Feb 2024 15:39:49 +0000 (17:39 +0200)]
[#3025] simplify logic in ensureSchemaVersion
... and allow kea-admin path to be overridden in tests.
Andrei Pavel [Tue, 20 Feb 2024 15:38:42 +0000 (17:38 +0200)]
[#3025] re-enable ProcessSpawnTest.isRunningSync
Andrei Pavel [Tue, 20 Feb 2024 15:37:09 +0000 (17:37 +0200)]
[#3025] fix location detection in kea-admin
Andrei Pavel [Tue, 20 Feb 2024 15:36:10 +0000 (17:36 +0200)]
[#3025] add isFile
Andrei Pavel [Fri, 16 Feb 2024 11:34:05 +0000 (13:34 +0200)]
[#3025] document automatic db init
Andrei Pavel [Fri, 16 Feb 2024 10:06:45 +0000 (12:06 +0200)]
[#3025] add unit tests
Andrei Pavel [Fri, 16 Feb 2024 07:45:54 +0000 (09:45 +0200)]
[#3025] sync kea-admin in db connection and fix interaction with retry
Andrei Pavel [Fri, 16 Feb 2024 06:33:02 +0000 (08:33 +0200)]
[#3025] add ability to wait sync in ProcessSpawn
Andrei Pavel [Tue, 13 Feb 2024 17:17:57 +0000 (19:17 +0200)]
[#3025] add db init on startup to other managers
Andrei Pavel [Tue, 13 Feb 2024 13:17:06 +0000 (15:17 +0200)]
[#3025] switch io service to DatabaseConnection's
Andrei Pavel [Tue, 13 Feb 2024 13:17:42 +0000 (15:17 +0200)]
[#3025] minor changes to kea-admin
- Reword 'Database version' to 'Schema version'.
- Remove a newline that was present only when running mysql operations
and not for postgresql operations. It was more visible since now it
appeared in the kea logs.
- Remove some extraneous exits. They weren't in the way of anything, but
weren't doing anything either.
Andrei Pavel [Tue, 13 Feb 2024 10:59:44 +0000 (12:59 +0200)]
[#3025] add ability to inherit env in ProcessSpawn
Andrei Pavel [Tue, 13 Feb 2024 08:15:34 +0000 (10:15 +0200)]
[#3025] automatic init of postgresql schema
Andrei Pavel [Mon, 20 Nov 2023 22:06:56 +0000 (00:06 +0200)]
[#3025] convert db access params to kea-admin
Andrei Pavel [Mon, 20 Nov 2023 10:21:45 +0000 (12:21 +0200)]
[#3025] automatic init of mysql schema