]>
git.ipfire.org Git - thirdparty/kea.git/log
Razvan Becheriu [Wed, 13 Dec 2023 09:49:08 +0000 (11:49 +0200)]
[#3107] use const& whenever possible
Thomas Markwalder [Tue, 5 Dec 2023 20:12:50 +0000 (15:12 -0500)]
[#3107] Single-threaded mode for ping-check
doc/sphinx/arm/hooks-ping-check.rst
Removed note about single-threaded mode
Added ChangeLog
src/lib/dhcp/iface_mgr.*
IfaceMgr::isExternalSocket() - new function to facilitate UTs
src/lib/dhcp/tests/iface_mgr_unittest.cc
Updated tests
Francis Dupont [Sat, 9 Dec 2023 21:17:43 +0000 (22:17 +0100)]
[#3149] Fixed TLS error messages
Francis Dupont [Mon, 20 Nov 2023 21:14:24 +0000 (22:14 +0100)]
[#3149] Removed link filter on relay/remote
Razvan Becheriu [Wed, 22 Nov 2023 15:22:55 +0000 (17:22 +0200)]
[#3112] renamed getIOService to getInternalIOService
Razvan Becheriu [Mon, 30 Oct 2023 20:16:08 +0000 (22:16 +0200)]
[#3112] renamed run_one and get_io_service to camelCase
Razvan Becheriu [Mon, 30 Oct 2023 19:24:50 +0000 (21:24 +0200)]
[#3112] catch all exception when running IOService run, run_one and poll
Marcin Siodelski [Wed, 6 Dec 2023 14:48:46 +0000 (15:48 +0100)]
[#3106] Extended a comment
As a result of a review.
Marcin Siodelski [Wed, 6 Dec 2023 10:35:38 +0000 (11:35 +0100)]
[#3106] Fix network state for ha-sync-complete-notify
Wlodek Wencel [Tue, 5 Dec 2023 09:13:18 +0000 (10:13 +0100)]
[#3128] fixed style
Wlodek Wencel [Tue, 5 Dec 2023 09:12:18 +0000 (10:12 +0100)]
[#3128] updated hammer docs
Wlodek Wencel [Fri, 1 Dec 2023 12:53:14 +0000 (13:53 +0100)]
[#3128] release checklist updated
Wlodek Wencel [Fri, 1 Dec 2023 12:43:07 +0000 (13:43 +0100)]
[#3128] freeradius removed from hammer.py
Thomas Markwalder [Fri, 1 Dec 2023 16:48:00 +0000 (11:48 -0500)]
[#3110] Post rebase corrections
Thomas Markwalder [Fri, 1 Dec 2023 14:50:38 +0000 (09:50 -0500)]
[#3110] Fixed sloppy errors
Thomas Markwalder [Fri, 1 Dec 2023 14:25:31 +0000 (09:25 -0500)]
[#3110] Addressed review comments
Reworked asyncSendLeaseUpdate() and made minor corrections
Thomas Markwalder [Wed, 29 Nov 2023 19:36:27 +0000 (14:36 -0500)]
[#3110] Clean up and more tests
Added a ChangeLog entry
src/hooks/dhcp/high_availability/ha_impl.cc
HAImpl::lease4ServerDecline() - always return NEXT_STEP_CONTINUE,
and set peers_to_update argument.
src/hooks/dhcp/high_availability/ha_service.*
Renamed HAService::asyncSendLeaseUpdate() to asyncSendSingleLeaseUpdate()
src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc
TEST_F(HAImplTest, lease4ServerDecline) - new test
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc
TEST_F(HAServiceTest, successfulSendSingleLeaseUpdateWithoutParking)
TEST_F(HAServiceTest, successfulSendSingleLeaseUpdateWithParking) - new tests
doc/sphinx/arm/hooks-ping-check.rst
Removed note about HA updates
doc/sphinx/arm/hooks.rst
Updated ping-check description in table of hooks
doc/sphinx/arm/logging.rst
Added ping-check-hooks logger to table of loggers
Thomas Markwalder [Tue, 28 Nov 2023 21:00:43 +0000 (16:00 -0500)]
[#3110] HA decline updates working
Updates are working, need clean up and UTs in HA.
src/bin/dhcp4/dhcp4_hooks.dox
Updated hooks dev guide
src/bin/dhcp4/dhcp4_srv.cc
Added callout lease4_server_decline
Dhcpv4Srv::serverDecline() - added lease4_server_decline hook point
src/bin/dhcp4/tests/hooks_unittest.cc
TEST_F(HooksDhcpv4SrvTest, lease4OfferDiscoverDecline) - new test
src/hooks/dhcp/high_availability/ha_callouts.cc
lease4_server_decline() - new callout function
src/hooks/dhcp/high_availability/ha_impl.*
HAImpl::lease4ServerDecline() - new callout handler
src/hooks/dhcp/high_availability/ha_messages.mes
HA_LEASE4_SERVER_DECLINE_FAILED - new log
src/hooks/dhcp/high_availability/ha_service.*
HAService::asyncSendLeaseUpdate() - new function for a single lease update
HAService::asyncSendLeaseUpdates() - check parking lot null
Marcin Siodelski [Thu, 30 Nov 2023 10:11:32 +0000 (11:11 +0100)]
[#3106] HA commands syntax fix
Marcin Siodelski [Wed, 29 Nov 2023 19:32:50 +0000 (20:32 +0100)]
[#3106] Correct some API files
Marcin Siodelski [Wed, 29 Nov 2023 19:23:55 +0000 (20:23 +0100)]
[#3106] Use MultiThreadingLock in NetworkState
Marcin Siodelski [Wed, 29 Nov 2023 11:29:22 +0000 (12:29 +0100)]
[#3106] Fixed dhcp enable unit tests
Marcin Siodelski [Wed, 29 Nov 2023 11:29:06 +0000 (12:29 +0100)]
[#3106] Convenience functions in HAService
Marcin Siodelski [Tue, 28 Nov 2023 20:52:10 +0000 (21:52 +0100)]
[#3106] Corrected two messages' descriptions
Marcin Siodelski [Tue, 28 Nov 2023 20:49:02 +0000 (21:49 +0100)]
[#3106] Use getThisServerName() in a few places
Marcin Siodelski [Tue, 28 Nov 2023 20:39:05 +0000 (21:39 +0100)]
[#3106] Nits in ha_impl fixed
Marcin Siodelski [Tue, 28 Nov 2023 20:31:09 +0000 (21:31 +0100)]
[#3106] Reworked network state functions
Removed reset() function and replaced it with resetForDbConnection().
Also, removed the enableAll() function and used other functions instead.
Marcin Siodelski [Tue, 28 Nov 2023 12:41:46 +0000 (13:41 +0100)]
[#3106] Network state constants further apart
Marcin Siodelski [Tue, 28 Nov 2023 12:05:36 +0000 (13:05 +0100)]
[#3106] Fixed some doxygen warnings
Marcin Siodelski [Tue, 28 Nov 2023 11:44:59 +0000 (12:44 +0100)]
[#3106] Extended getConfig description
Marcin Siodelski [Tue, 28 Nov 2023 11:33:35 +0000 (12:33 +0100)]
[#3106] Fixed logging placeholder in HA
Marcin Siodelski [Tue, 28 Nov 2023 10:48:53 +0000 (11:48 +0100)]
[#3106] Fixes in the HA config parser
- renamed two functions
- removed redundant check
- better exception text
Marcin Siodelski [Tue, 28 Nov 2023 10:00:46 +0000 (11:00 +0100)]
[#3106] Typos "a HA" to "an HA"
Marcin Siodelski [Tue, 28 Nov 2023 09:56:32 +0000 (10:56 +0100)]
[#3106] Removed <> from HA commands
Per review comments from Razvan.
Marcin Siodelski [Wed, 18 Oct 2023 10:12:30 +0000 (12:12 +0200)]
[#3106] Added test comments
Marcin Siodelski [Wed, 18 Oct 2023 09:37:26 +0000 (11:37 +0200)]
[#3106] Update HA commands documentation
Marcin Siodelski [Wed, 18 Oct 2023 09:36:31 +0000 (11:36 +0200)]
[#3106] ha-maintenance-notify includes server name
Marcin Siodelski [Tue, 17 Oct 2023 18:25:37 +0000 (20:25 +0200)]
[#3106] Include origin in ha-sync-complete-notify
Marcin Siodelski [Tue, 17 Oct 2023 11:41:03 +0000 (13:41 +0200)]
[#3106] Return default relationship
Marcin Siodelski [Tue, 17 Oct 2023 10:07:49 +0000 (12:07 +0200)]
[#3106] Added local server name to log messages
Marcin Siodelski [Mon, 16 Oct 2023 10:40:16 +0000 (12:40 +0200)]
[#3106] Added server-name to HA commands
Marcin Siodelski [Sun, 15 Oct 2023 13:40:23 +0000 (15:40 +0200)]
[#3106] Renamed startService to startServices
Marcin Siodelski [Fri, 13 Oct 2023 16:18:58 +0000 (18:18 +0200)]
[#3106] Network state change per HA service
Marcin Siodelski [Wed, 11 Oct 2023 12:05:10 +0000 (14:05 +0200)]
[#3106] Validate configs between relationships
Marcin Siodelski [Tue, 10 Oct 2023 14:01:49 +0000 (16:01 +0200)]
[#3106] Config to relationship mapper
Marcin Siodelski [Tue, 10 Oct 2023 09:39:41 +0000 (11:39 +0200)]
[#3106] Allow multiple HA configs
Andrei Pavel [Wed, 29 Nov 2023 15:44:00 +0000 (17:44 +0200)]
[#3177] bump up configure.ac version to 2.5.5-git
Andrei Pavel [Wed, 29 Nov 2023 15:43:46 +0000 (17:43 +0200)]
[#3177] unrelated: update release checklist
Andrei Pavel [Wed, 29 Nov 2023 15:43:12 +0000 (17:43 +0200)]
[#3177] unrelated: delete leftover file
Andrei Pavel [Tue, 28 Nov 2023 10:55:00 +0000 (10:55 +0000)]
[#3174] release changes
Razvan Becheriu [Mon, 27 Nov 2023 16:00:13 +0000 (18:00 +0200)]
[#3173] bump up library versions for 2.5.4 release
Razvan Becheriu [Mon, 27 Nov 2023 11:44:56 +0000 (13:44 +0200)]
[#3109] added ChangeLog entry
Razvan Becheriu [Tue, 31 Oct 2023 13:21:57 +0000 (15:21 +0200)]
[#3109] consistent pkt info logging in v4 and v6
Andrei Pavel [Thu, 23 Nov 2023 11:48:28 +0000 (13:48 +0200)]
[#2442] document order of RADIUS attributes
Vicky Risk [Wed, 22 Nov 2023 13:51:04 +0000 (13:51 +0000)]
[#3139] Update Release Checklist
Razvan Becheriu [Wed, 22 Nov 2023 09:06:46 +0000 (11:06 +0200)]
[#3084] fixed compilation
Razvan Becheriu [Tue, 21 Nov 2023 08:41:08 +0000 (10:41 +0200)]
[#3084] fixed doxygen and comments
Thomas Markwalder [Mon, 20 Nov 2023 17:47:19 +0000 (12:47 -0500)]
[#3084] More review comments
src/bin/dhcp4/dhcp4_messages.h b/src/bin/dhcp4/dhcp4_messages.*
New messages
DHCP4_SERVER_INITIATED_DECLINE_UPDATE_FAILED
DHCP4_SERVER_INITIATED_DECLINE_ADD_FAILED
DHCP4_SERVER_INITIATED_DECLINE_RESOURCE_BUSY
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::sendResponseNoThrow() - restored argument passing by ref
Dhcpv4Srv::serverDecline() - use ResourceHandle, try add if update fails
Thomas Markwalder [Mon, 20 Nov 2023 13:48:08 +0000 (08:48 -0500)]
[#3084] Addressed minor review comments
Fixed minor issues.
modified:
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.h
Piotrek Zadroga [Mon, 20 Nov 2023 12:09:07 +0000 (13:09 +0100)]
[#3084] addressed review comments
- fixing mostly typos
Thomas Markwalder [Wed, 15 Nov 2023 15:07:57 +0000 (10:07 -0500)]
[#3084] Minor ARM fixes
modified: doc/sphinx/arm/hooks-ping-check.rst
modified: doc/sphinx/arm/hooks.rst
Thomas Markwalder [Wed, 15 Nov 2023 14:09:13 +0000 (09:09 -0500)]
[3084] Fix JSON in ARM
modified: hooks-ping-check.rst
Thomas Markwalder [Wed, 15 Nov 2023 13:59:39 +0000 (08:59 -0500)]
[#3084] Minor update to ARM
modified: hooks-ping-check.rst
Thomas Markwalder [Tue, 14 Nov 2023 20:21:43 +0000 (15:21 -0500)]
[#3084] Added initial ARM documentation
modified: hooks-ping-check.rst
Thomas Markwalder [Tue, 14 Nov 2023 18:32:12 +0000 (13:32 -0500)]
[#3084] Fixed missing log argument
modified: dhcp4_srv.cc
Thomas Markwalder [Mon, 13 Nov 2023 14:58:48 +0000 (09:58 -0500)]
[#3084] Remove unneeded response reset
src/bin/dhcp4/dhcp4_srv.cc
Thomas Markwalder [Fri, 10 Nov 2023 18:35:29 +0000 (13:35 -0500)]
[#3084] Clean up
Thomas Markwalder [Fri, 10 Nov 2023 18:02:32 +0000 (13:02 -0500)]
[#3084] Fix arguments going out of scope
Arguments passed to sendResponseNoThrow() via std::bind
can go out of scope before the invocation occurs.
Changed to pass-by-value.
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::sendResponseNoThrow() - changed arguments to
pass by value instead of reference.
Thomas Markwalder [Thu, 9 Nov 2023 19:58:33 +0000 (14:58 -0500)]
[#3084] Use callout argument instead of status
src/bin/dhcp4/dhcp4_messages.mes
DHCP4_HOOK_LEASE4_OFFER_ARGUMENT_MISSING - new message
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processDhcp4Query() - look for offer-address-in-use
argument in lease4_offer unpark lambda
Thomas Markwalder [Thu, 2 Nov 2023 14:03:43 +0000 (14:03 +0000)]
[#3084] Fixed log placeholder error
modified:
dhcp4_messages.cc
dhcp4_messages.mes
dhcp4_srv.cc
Thomas Markwalder [Fri, 27 Oct 2023 19:53:43 +0000 (15:53 -0400)]
[#3084] Minor clean ups
src/bin/dhcp4/dhcp4_srv.cc
Thomas Markwalder [Fri, 27 Oct 2023 15:24:34 +0000 (11:24 -0400)]
[#3084] Server declines leases after ping-check
kea-dhcp4 declines leases in the lease store
Needs additional UTs
src/bin/dhcp4/dhcp4_messages.mes
New messages:
DHCP4_SERVER_INITIATED_DECLINE_FAILED
DHCP4_SERVER_INITIATED_DECLINE
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::serverDecline()
Dhcpv4Srv::serverDeclineNoThrow() - new functions to render a lease declined
after ping-check in-use outcome
Dhcpv4Srv::processDhcp4Query() - modified unpark lambda to invoke
serverDecline() following lease-offer completion if status is DROP
Razvan Becheriu [Sat, 18 Nov 2023 16:43:36 +0000 (18:43 +0200)]
[#3142] fixed deadlock
Andrei Pavel [Wed, 15 Nov 2023 18:26:02 +0000 (20:26 +0200)]
[#2442] code-block without argument not allowed
Plus a few typo fixes.
Andrei Pavel [Mon, 13 Nov 2023 14:16:44 +0000 (16:16 +0200)]
[#2442] address review comments
Andrei Pavel [Mon, 13 Nov 2023 07:16:28 +0000 (09:16 +0200)]
[#2442] enable nitpicky in sphinx
To warn about all broken references. Also fixes the few broken
references found.
Andrei Pavel [Mon, 13 Nov 2023 07:15:12 +0000 (09:15 +0200)]
[#2442] add the old RADIUS doc back
Andrei Pavel [Fri, 10 Nov 2023 10:46:49 +0000 (12:46 +0200)]
[#2442] address review comments
Andrei Pavel [Thu, 9 Nov 2023 12:23:32 +0000 (14:23 +0200)]
[#2442] add ChangeLog entry
Andrei Pavel [Thu, 9 Nov 2023 12:17:03 +0000 (14:17 +0200)]
[#2442] docs: diff between old and new RADIUS libs
Andrei Pavel [Thu, 9 Nov 2023 11:34:15 +0000 (13:34 +0200)]
[#2442] add RADIUS server example to ARM
Andrei Pavel [Thu, 9 Nov 2023 10:09:07 +0000 (12:09 +0200)]
[#2442] RADIUS UML
Andrei Pavel [Wed, 8 Nov 2023 15:21:29 +0000 (17:21 +0200)]
[#2442] move RADIUS documentation to integrations
Andrei Pavel [Tue, 7 Nov 2023 11:44:34 +0000 (13:44 +0200)]
[#2442] update RADIUS documentation
Razvan Becheriu [Wed, 15 Nov 2023 15:29:51 +0000 (17:29 +0200)]
[#1599] addressed comments
Razvan Becheriu [Wed, 8 Nov 2023 07:30:12 +0000 (09:30 +0200)]
[#1599] optimizations
Razvan Becheriu [Mon, 6 Nov 2023 11:44:09 +0000 (13:44 +0200)]
[#1599] addressed comments
Razvan Becheriu [Tue, 5 Apr 2022 12:26:38 +0000 (15:26 +0300)]
[#1599] updated unittests
Razvan Becheriu [Wed, 25 Aug 2021 06:36:24 +0000 (09:36 +0300)]
[#1599] added pause with wait for threads to stop
Razvan Becheriu [Fri, 11 Dec 2020 10:52:03 +0000 (12:52 +0200)]
[#1599] implemented pause and resume
Razvan Becheriu [Thu, 10 Dec 2020 22:21:28 +0000 (00:21 +0200)]
[#1599] optimizations
Razvan Becheriu [Thu, 10 Dec 2020 21:19:28 +0000 (23:19 +0200)]
[#1599] fixed register/unregister thread in ThreadPoolQueue
Razvan Becheriu [Thu, 10 Dec 2020 20:52:58 +0000 (22:52 +0200)]
[#1599] fixed race on wait and disable in ThreadPoolQueue
Razvan Becheriu [Wed, 8 Nov 2023 09:31:07 +0000 (11:31 +0200)]
[#3142] fixed race between start stop and wait
Andrei Pavel [Mon, 13 Nov 2023 10:04:34 +0000 (12:04 +0200)]
[#3147] trivial hammer fix: don't move files
Don't move files to themselves.
Solves error: mv: 'kea-pkg/isc-kea-2.5.4-r20231113065823.apk' and
'kea-pkg/isc-kea-2.5.4-r20231113065823.apk' are the same file
Andrei Pavel [Mon, 13 Nov 2023 09:49:32 +0000 (11:49 +0200)]
[#2969] add tex-gyre back to hammer for debian
tex-gyre is needed for generating PDF with sphinx.
Razvan Becheriu [Thu, 9 Nov 2023 17:51:30 +0000 (19:51 +0200)]
[#3138] fix typo in ARM doc for ddns-qualifying-suffix
Andrei Pavel [Mon, 6 Nov 2023 15:34:07 +0000 (17:34 +0200)]
[#2969] fix postgresql dependencies on rhel
Andrei Pavel [Fri, 3 Nov 2023 13:03:29 +0000 (15:03 +0200)]
[#2969] regenerate key to avoid SSL errors in DB
Prevents this error that happens on Debian 10:
- SSL error: Unable to get private key from '/etc/mysql/ssl/kea-server.key'
Andrei Pavel [Fri, 3 Nov 2023 12:40:02 +0000 (14:40 +0200)]
[#2969] fix a logging issue in hammer.py
Not all the lines of output were captured when running execute()
with capture=True.