]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Fri, 30 Apr 2021 10:57:35 +0000 (12:57 +0200)]
[#1680] Fixed first occurrence (tentative)
Francis Dupont [Fri, 30 Apr 2021 07:24:48 +0000 (09:24 +0200)]
[#1824] Added a ChangeLog entry
Francis Dupont [Thu, 29 Apr 2021 09:48:05 +0000 (11:48 +0200)]
[#1824] Fixed unit tests
Francis Dupont [Thu, 29 Apr 2021 09:02:30 +0000 (11:02 +0200)]
[#1824] Updated doc
Francis Dupont [Thu, 29 Apr 2021 08:30:18 +0000 (08:30 +0000)]
[#1824] regen bison
Francis Dupont [Thu, 29 Apr 2021 08:30:08 +0000 (10:30 +0200)]
[#1824] Checkpoint: added ( string )
Francis Dupont [Thu, 29 Apr 2021 07:43:46 +0000 (07:43 +0000)]
[#1824] regen flex and bison
Francis Dupont [Thu, 29 Apr 2021 07:41:16 +0000 (09:41 +0200)]
[#1824] Checkpoint before regen
Razvan Becheriu [Thu, 29 Apr 2021 16:11:10 +0000 (19:11 +0300)]
[#1680] fixed unittests
Razvan Becheriu [Thu, 29 Apr 2021 15:12:01 +0000 (18:12 +0300)]
[#1680] fixed unittests
Razvan Becheriu [Thu, 29 Apr 2021 14:05:00 +0000 (17:05 +0300)]
[#1680] fixed unittests
Razvan Becheriu [Thu, 29 Apr 2021 12:48:07 +0000 (15:48 +0300)]
[#1680] check executable flags on ProcessSpawn constructor
Razvan Becheriu [Thu, 29 Apr 2021 12:20:37 +0000 (15:20 +0300)]
[#1680] clean up code
Razvan Becheriu [Wed, 28 Apr 2021 17:56:41 +0000 (20:56 +0300)]
[#1680] added documentation
Razvan Becheriu [Wed, 28 Apr 2021 17:36:41 +0000 (20:36 +0300)]
[#1680] added check for execurtable permissions
Michal Nowikowski [Wed, 28 Apr 2021 12:25:41 +0000 (14:25 +0200)]
[#1829] updated release checklist: git tag and signing request are automated now
Michal Nowikowski [Tue, 27 Apr 2021 12:28:22 +0000 (14:28 +0200)]
[#1828] addressed review issues
Michal Nowikowski [Tue, 27 Apr 2021 11:10:18 +0000 (13:10 +0200)]
[#1828] release checklist: updated installation tree check and automated sanity checks request
Michal Nowikowski [Wed, 28 Apr 2021 12:31:40 +0000 (14:31 +0200)]
[#1830] bumped up kea version to 1.9.8
Michal Nowikowski [Fri, 23 Apr 2021 12:30:40 +0000 (14:30 +0200)]
[#1821] updated supported platforms
Michal Nowikowski [Fri, 23 Apr 2021 09:35:00 +0000 (11:35 +0200)]
[#1821] release changes
Razvan Becheriu [Fri, 23 Apr 2021 19:12:30 +0000 (22:12 +0300)]
[#1820] bump lib versions for 1.9.7
Andrei Pavel [Fri, 23 Apr 2021 17:09:02 +0000 (20:09 +0300)]
[#1821] spelling corrections
Thomas Markwalder [Fri, 23 Apr 2021 18:43:55 +0000 (14:43 -0400)]
[#1587] Added ChangeLog entry.
Thomas Markwalder [Fri, 23 Apr 2021 18:31:04 +0000 (14:31 -0400)]
[#1587] Correct title underline lengths
modified:
arm/security.rst
Vicky Risk [Fri, 23 Apr 2021 17:42:11 +0000 (17:42 +0000)]
Update security.rst directly, probably breaking some line-length limitations
Tomek Mrugalski [Thu, 22 Apr 2021 18:10:13 +0000 (20:10 +0200)]
[#1587] Rewrapped and fixed many typos
Tomek Mrugalski [Thu, 22 Apr 2021 14:23:28 +0000 (16:23 +0200)]
[#1587] Added section about processes in security
Tomek Mrugalski [Thu, 22 Apr 2021 13:25:34 +0000 (15:25 +0200)]
[#1587] Added lots of text about security
Francis Dupont [Fri, 23 Apr 2021 18:37:22 +0000 (20:37 +0200)]
[#1652] Restored the right ChangeLog
Francis Dupont [Fri, 23 Apr 2021 15:28:17 +0000 (17:28 +0200)]
[#1652] Changed of by for
Francis Dupont [Fri, 23 Apr 2021 15:15:05 +0000 (17:15 +0200)]
[#1652] Addressed last comments before rebase
Francis Dupont [Fri, 23 Apr 2021 12:44:56 +0000 (14:44 +0200)]
[#1652] Addressed last comments
Francis Dupont [Thu, 22 Apr 2021 16:50:59 +0000 (18:50 +0200)]
[#1652] Addressed some comments
Francis Dupont [Sat, 3 Apr 2021 20:51:43 +0000 (22:51 +0200)]
[#1652] Simplified and addressed a corner case
Francis Dupont [Fri, 2 Apr 2021 18:40:27 +0000 (20:40 +0200)]
[#1652] Almost done
Francis Dupont [Fri, 2 Apr 2021 17:59:52 +0000 (19:59 +0200)]
[#1652] Checkpoint: did comments before JSON
Francis Dupont [Fri, 2 Apr 2021 15:11:03 +0000 (17:11 +0200)]
[#1652] Checkpoint: adding states
Thomas Markwalder [Fri, 23 Apr 2021 14:22:19 +0000 (10:22 -0400)]
[#1736] Fixed indentation
Thomas Markwalder [Fri, 23 Apr 2021 13:41:50 +0000 (09:41 -0400)]
[#1736] Corrections to rebase merge.
Fixed minor difference overlooked during rebase.
modified:
src/hooks/dhcp/high_availability/ha_service.cc
Thomas Markwalder [Fri, 23 Apr 2021 13:02:26 +0000 (09:02 -0400)]
[#1736] Added ChangeLog entry
Thomas Markwalder [Fri, 23 Apr 2021 12:09:18 +0000 (08:09 -0400)]
[#1736] Additional review comments
Cosmetics.
Thomas Markwalder [Fri, 23 Apr 2021 11:42:53 +0000 (07:42 -0400)]
[#1736] Updated HA+MT doc in ARM
modified:
doc/sphinx/arm/hooks-ha.rst
Thomas Markwalder [Thu, 22 Apr 2021 20:05:48 +0000 (16:05 -0400)]
[#1736] More review comments
Cosmetics.
Thomas Markwalder [Thu, 22 Apr 2021 18:20:59 +0000 (14:20 -0400)]
[#1736] Removed unused items from ha_mt_unittest.cc
modified:
ha_mt_unittest.cc
Thomas Markwalder [Thu, 22 Apr 2021 17:58:06 +0000 (13:58 -0400)]
[#1736] Addressed initial review comments
Nits, cleanup:
src/hooks/dhcp/high_availability/communication_state.*
Use private instead of protected
CommunicationState::clockSkewShouldWarnInternal() - now emits
log message
CommunicationState::clockSkewShouldTerminateInternal() - new,
emits log message
src/hooks/dhcp/high_availability/ha_service.cc
HAService::shouldTerminate() - reworked, pushed log messages
down into CommuncationState methods
src/lib/dhcpsrv/tests/network_state_unittest.cc
Added missing test invocations
Thomas Markwalder [Wed, 21 Apr 2021 18:46:45 +0000 (14:46 -0400)]
[#1736] Made NetworkState thread-safe
src/lib/dhcpsrv/network_state.cc
src/lib/dhcpsrv/network_state.h
Added mutex to wrap impl calls.
src/lib/dhcpsrv/tests/network_state_unittest.cc
Added MT test versions
Thomas Markwalder [Wed, 21 Apr 2021 16:50:58 +0000 (12:50 -0400)]
[#1736] Added MT unit tests for CommunicationState
modified:
src/hooks/dhcp/high_availability/tests/communication_state_unittest.cc
Thomas Markwalder [Tue, 20 Apr 2021 19:48:33 +0000 (19:48 +0000)]
[#1736] Address race conditions revolving around early listener start
Starting the listener before MT mode is applied is problematic.
Also now explicitly stopping the service rather than relying on
destruction order.
src/hooks/dhcp/high_availability/ha_impl.*
HAImpl::startService() - added deferred call to
start HAServic::startClientAndListener()
HAImpl::~HAImpl() - new destructor which explicitly
calls HAService::stopClientAndListener()
src/hooks/dhcp/high_availability/ha_service.*
HAService::HAService() - moved client and listener
instantation here but without listener start
HAService::startClientAndListener() - now only invokes
listener start
src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc
TEST_F(HAMtServiceTest, multiThreadingStartup) - added call
to startClientAndListener()
Thomas Markwalder [Mon, 19 Apr 2021 14:59:38 +0000 (10:59 -0400)]
[#1736] Make HA CommunicationState class thread-safe
communication_state.cc
communication_state.h
- Added mutexing to avoid race conditions
Thomas Markwalder [Thu, 15 Apr 2021 11:06:38 +0000 (07:06 -0400)]
[#1736] Avoid HA+MT client socket IfaceMgr registration
ha_service.cc
HAService::clientConnectHandler() - don't register socket if
client has its own IOService
Thomas Markwalder [Wed, 14 Apr 2021 15:06:14 +0000 (11:06 -0400)]
[#1736] Initial commit with HA+MT integration
HA+MT fully integrated and functional.
src/hooks/dhcp/high_availability/ha_service.*
HAService - changed client_ from instance to pointer
- added listener_
HAService::startClientAndListener() - new method which
instantiates client_ and listener_ instances based on config,
and starts them
HAService::stopClientAndListener() - new method that stops
client_ and listener_ instances.
HAService::HAService() - invokes startClientAndListener()
HAService::~HAService() - invokes stopClientAndListener()
src/hooks/dhcp/high_availability/tests/Makefile.am
Added ha_mt_unittest.c
src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc
New file with HA+MT related tests
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc
Modified tests to ensure use of ST HAService
src/lib/config/cmd_http_listener.h
Added CmdHttpListener commentary
Michal Nowikowski [Fri, 23 Apr 2021 10:52:09 +0000 (12:52 +0200)]
addressed review issues
Michal Nowikowski [Fri, 23 Apr 2021 09:44:45 +0000 (11:44 +0200)]
[#1822] updated release checklist template
Francis Dupont [Tue, 20 Apr 2021 22:04:07 +0000 (00:04 +0200)]
[#1706] Fixed rebase typo
Francis Dupont [Tue, 20 Apr 2021 21:13:13 +0000 (23:13 +0200)]
[#1706] Updated init order
Francis Dupont [Tue, 20 Apr 2021 14:58:08 +0000 (16:58 +0200)]
[#1706] Made TLS context public
Francis Dupont [Fri, 16 Apr 2021 16:44:53 +0000 (18:44 +0200)]
[#1706] Added s to Return
Francis Dupont [Mon, 12 Apr 2021 20:53:04 +0000 (22:53 +0200)]
[#1706] Added negative unit tests
Francis Dupont [Mon, 12 Apr 2021 08:59:50 +0000 (10:59 +0200)]
[#1706] Added doc
Francis Dupont [Sun, 11 Apr 2021 19:36:57 +0000 (21:36 +0200)]
[#1706] Checkpoint: code and UT done - todo doc
Francis Dupont [Fri, 9 Apr 2021 15:40:54 +0000 (17:40 +0200)]
[#1706] Checkpoint: todo put in peer config, add UTs
Francis Dupont [Thu, 8 Apr 2021 22:20:36 +0000 (00:20 +0200)]
[#1706] Checkpoint: syntax updated - need UTs?
Andrei Pavel [Tue, 20 Apr 2021 10:06:24 +0000 (13:06 +0300)]
[#1814] hammer: cwd=tmp to solve permission denied
Andrei Pavel [Tue, 20 Apr 2021 09:53:54 +0000 (12:53 +0300)]
[#1814] hammer: cwd=tmp to solve permission denied
Andrei Pavel [Tue, 20 Apr 2021 08:04:56 +0000 (11:04 +0300)]
[#1804] add include paths for ext library
fixes distcheck on CentOS 7
Andrei Pavel [Tue, 20 Apr 2021 06:04:42 +0000 (09:04 +0300)]
[#1814] hammer: get pg_hba location automatically
Michal Nowikowski [Mon, 19 Apr 2021 14:02:31 +0000 (16:02 +0200)]
[#1813] hammer: add freeradius-client version for ubuntu 20.10
Andrei Pavel [Mon, 19 Apr 2021 12:41:40 +0000 (15:41 +0300)]
[#1811] hammer.py: set timezone in postgres
Andrei Pavel [Mon, 19 Apr 2021 09:42:30 +0000 (12:42 +0300)]
[#1811] hammer.py: set timezone in postgres
Andrei Pavel [Fri, 16 Apr 2021 11:03:52 +0000 (14:03 +0300)]
[#1811] hammer.py: postgres read only setup
Francis Dupont [Fri, 16 Apr 2021 18:55:34 +0000 (20:55 +0200)]
[#1632] Wrapped ChangeLog entry
Andrei Pavel [Wed, 7 Apr 2021 14:23:15 +0000 (17:23 +0300)]
[#1632] add ChangeLog entry
Andrei Pavel [Fri, 2 Apr 2021 15:24:56 +0000 (18:24 +0300)]
[#1632] add ChangeLog entry
Francis Dupont [Fri, 2 Apr 2021 07:17:06 +0000 (09:17 +0200)]
[#1632] Updated version dependent stuff
Francis Dupont [Thu, 1 Apr 2021 19:53:06 +0000 (21:53 +0200)]
[#1632] Added a comment about the tab: tired to restore it
Francis Dupont [Thu, 1 Apr 2021 19:48:02 +0000 (21:48 +0200)]
[#1632] Fixed two nits
Andrei Pavel [Mon, 4 Jan 2021 13:54:20 +0000 (15:54 +0200)]
[#1632] use literal in AC_CHECK_HEADERS
Andrei Pavel [Mon, 4 Jan 2021 13:47:04 +0000 (15:47 +0200)]
[#1632] edits after autoupdate
Andrei Pavel [Mon, 4 Jan 2021 13:46:21 +0000 (15:46 +0200)]
[#1632] autoupdate
Tomek Mrugalski [Thu, 15 Apr 2021 10:42:53 +0000 (12:42 +0200)]
[#1759] Changelog updated
Tomek Mrugalski [Thu, 15 Apr 2021 09:33:32 +0000 (11:33 +0200)]
[#1759] Clarification about systemd and keactrl
Andrei Pavel [Wed, 14 Apr 2021 12:44:38 +0000 (15:44 +0300)]
[#1675] kea-admin: KEA_ADMIN_DB_PASSWORD env var
Andrei Pavel [Fri, 2 Apr 2021 12:53:14 +0000 (15:53 +0300)]
[#1675] update kea-admin manual
Andrei Pavel [Fri, 2 Apr 2021 12:08:11 +0000 (15:08 +0300)]
[#1675] add ChangeLog entry
Andrei Pavel [Fri, 2 Apr 2021 11:40:17 +0000 (14:40 +0300)]
[#1675] spelling: scheme -> schema
Andrei Pavel [Fri, 2 Apr 2021 11:38:02 +0000 (14:38 +0300)]
[#1675] kea-admin: hide password in command line
Michal Nowikowski [Thu, 15 Apr 2021 08:28:04 +0000 (10:28 +0200)]
[#1808] added freeradius-client version for fedora 33 and other minor fixes
Thomas Markwalder [Wed, 14 Apr 2021 11:22:38 +0000 (07:22 -0400)]
[#1735] Additional review comments
More cosmetics, doxygen fixes.
Thomas Markwalder [Tue, 13 Apr 2021 19:37:31 +0000 (15:37 -0400)]
[#1735] Fixed a typo.
modified:
ha_config_unittest.cc
Thomas Markwalder [Tue, 13 Apr 2021 18:25:18 +0000 (14:25 -0400)]
[#1735] Addressed review comments.
Cosmetics, typos etc...
modified:
doc/sphinx/arm/hooks-ha.rst
src/hooks/dhcp/high_availability/ha_config.h
src/hooks/dhcp/high_availability/ha_messages.mes
src/hooks/dhcp/high_availability/tests/ha_config_unittest.cc
src/hooks/dhcp/high_availability/tests/ha_test.cc
src/hooks/dhcp/high_availability/tests/ha_test.h
src/lib/dhcpsrv/cfg_multi_threading.cc
Thomas Markwalder [Thu, 8 Apr 2021 18:17:56 +0000 (14:17 -0400)]
[#1735] Added preliminary HA+MT doc to ARM
doc/sphinx/arm/hooks-ha.rst
Added an initial section for HA+MT configuration.
Thomas Markwalder [Thu, 8 Apr 2021 17:08:18 +0000 (13:08 -0400)]
[#1735] Added log messages to HA config parsing
Added INFO level log messages when HA+MT has been
disabled due to incompatible core or system settings.
modified:
ha_config.cc
ha_messages.mes
ha_messages.cc
ha_messages.h
Thomas Markwalder [Thu, 8 Apr 2021 14:07:54 +0000 (10:07 -0400)]
[#1735] Rework HA+MT config validation
src/hooks/dhcp/high_availability/ha_config.*
HAConfig::validate() - updates config based
on DHCP MT config
src/hooks/dhcp/high_availability/ha_config_parser.cc
Changed thread members to uint32_tt
src/hooks/dhcp/high_availability/tests/ha_config_unittest.cc
TEST_F(HAConfigTest, multiThreadingPermutations) - new test
src/hooks/dhcp/high_availability/tests/ha_test.*
HATest::setDHCPMultiThreadingConfig()
HATest::makeHAMtJson()
Thomas Markwalder [Mon, 5 Apr 2021 19:25:49 +0000 (15:25 -0400)]
[#1735] Added HA+MT configuration support to HA hook lib
HA hook lib now parses a new top level map parameter:
"multi-threading": {
"enable-multi-threading": true,
"http-dedicated-listener": true,
"http-listener-threads": 4,
"http-client-threads": 5"
}"
but it does nothing with it yet.
src/hooks/dhcp/high_availability/ha_config.*
HAConfig - added member attributes for MT config,
getters & setters
src/hooks/dhcp/high_availability/ha_config_parser.cc
Added HA_CONFIG_MT_DEFAULTS
HAConfigParser::parseInternal() - parsers MT map
of parameters
src/hooks/dhcp/high_availability/tests/ha_config_unittest.cc
Updated tests.
TEST_F(HAConfigTest, configureMultiThreading) - new test
Thomas Markwalder [Mon, 12 Apr 2021 14:27:54 +0000 (10:27 -0400)]
[#1733] Addressed more comments
A few more cosmetic fixes.
Thomas Markwalder [Mon, 12 Apr 2021 13:50:14 +0000 (09:50 -0400)]
[#1733] Addressed review comments
Minor clean-up and typos.
src/hooks/dhcp/high_availability/ha_impl.cc
HAImpl::leases4Committed()
HAImpl::leases6Committed() - added try-catch to ensure
we call dereference on error
Thomas Markwalder [Fri, 9 Apr 2021 11:26:46 +0000 (07:26 -0400)]
[#1733] Fixed HA unit test issue
src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc
Set SO_REUSEADDR so back to back runs of HA unit tests do not fail.
Thomas Markwalder [Wed, 7 Apr 2021 11:30:37 +0000 (07:30 -0400)]
[#1733] Replaced std::map with std::unordered_map in ParkingLot
modified:
src/lib/hooks/parking_lots.h
Thomas Markwalder [Mon, 5 Apr 2021 11:25:49 +0000 (07:25 -0400)]
[#1733] kea-dhcp6 now proactively parks packets
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processDhcp6Query() - modified to proactively
park packets.
src/hooks/dhcp/high_availability/ha_impl.cc
HAImpl::leases4Committed()
HAImpl::leases6Committed() - revised to reference before the
call to asynSendLeases() and dereference if it returns 0.
src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc
src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc
Revised tests to park first as needed.
src/lib/hooks/parking_lots.h
Fixed a typo in throw messages.