Francis Dupont
a8a00df956
[ #1824 ] Checkpoint: added ( string )
2021-04-30 09:22:19 +02:00
Francis Dupont
81394177a8
[ #1824 ] regen flex and bison
2021-04-30 09:22:19 +02:00
Francis Dupont
25c1730a6f
[ #1824 ] Checkpoint before regen
2021-04-30 09:22:19 +02:00
Razvan Becheriu
0cdb9cc11b
[ #1680 ] fixed unittests
2021-04-29 19:11:10 +03:00
Razvan Becheriu
38762ddc02
[ #1680 ] fixed unittests
2021-04-29 18:12:01 +03:00
Razvan Becheriu
2159db4297
[ #1680 ] fixed unittests
2021-04-29 17:05:00 +03:00
Razvan Becheriu
89efd60e9a
[ #1680 ] check executable flags on ProcessSpawn constructor
2021-04-29 15:48:07 +03:00
Razvan Becheriu
1648292ae7
[ #1680 ] clean up code
2021-04-29 15:20:37 +03:00
Razvan Becheriu
e4a3524388
[ #1680 ] added documentation
2021-04-28 20:56:41 +03:00
Razvan Becheriu
8f6d994d8d
[ #1680 ] added check for execurtable permissions
2021-04-28 20:36:41 +03:00
Michal Nowikowski
ad206e2f00
[ #1829 ] updated release checklist: git tag and signing request are automated now
2021-04-28 14:55:41 +02:00
Michal Nowikowski
2535130d3f
[ #1828 ] addressed review issues
2021-04-28 12:46:42 +00:00
Michal Nowikowski
143dc8f94a
[ #1828 ] release checklist: updated installation tree check and automated sanity checks request
2021-04-28 12:46:42 +00:00
Michal Nowikowski
4610eeea3b
[ #1830 ] bumped up kea version to 1.9.8
2021-04-28 14:31:40 +02:00
Michal Nowikowski
68f1d884bf
[ #1821 ] updated supported platforms
Kea-1.9.7
2021-04-26 11:22:51 +02:00
Michal Nowikowski
a3d133dd1b
[ #1821 ] release changes
2021-04-26 11:22:49 +02:00
Razvan Becheriu
c38b07d6d0
[ #1820 ] bump lib versions for 1.9.7
2021-04-26 07:51:41 +00:00
Andrei Pavel
be13751538
[ #1821 ] spelling corrections
2021-04-26 06:04:55 +00:00
Thomas Markwalder
7884682d79
[ #1587 ] Added ChangeLog entry.
2021-04-23 14:46:39 -04:00
Thomas Markwalder
53cebb7097
[ #1587 ] Correct title underline lengths
...
modified:
arm/security.rst
2021-04-23 14:45:55 -04:00
Vicky Risk
0e13804b0e
Update security.rst directly, probably breaking some line-length limitations
2021-04-23 14:45:55 -04:00
Tomek Mrugalski
ce5f1dbd38
[ #1587 ] Rewrapped and fixed many typos
2021-04-23 14:45:55 -04:00
Tomek Mrugalski
293379bf25
[ #1587 ] Added section about processes in security
2021-04-23 14:45:55 -04:00
Tomek Mrugalski
d51bd2f122
[ #1587 ] Added lots of text about security
2021-04-23 14:45:55 -04:00
Francis Dupont
c24b5342bb
[ #1652 ] Restored the right ChangeLog
2021-04-23 20:37:22 +02:00
Francis Dupont
11c1f353c9
[ #1652 ] Changed of by for
2021-04-23 17:28:17 +02:00
Francis Dupont
b58193dc51
[ #1652 ] Addressed last comments before rebase
2021-04-23 17:18:26 +02:00
Francis Dupont
bbb5bd5f24
[ #1652 ] Addressed last comments
2021-04-23 17:17:50 +02:00
Francis Dupont
b179f4dd8b
[ #1652 ] Addressed some comments
2021-04-23 17:15:33 +02:00
Francis Dupont
a111bafc2e
[ #1652 ] Simplified and addressed a corner case
2021-04-23 17:15:33 +02:00
Francis Dupont
10053eb108
[ #1652 ] Almost done
2021-04-23 17:15:33 +02:00
Francis Dupont
1a3b4a2a61
[ #1652 ] Checkpoint: did comments before JSON
2021-04-23 17:15:33 +02:00
Francis Dupont
68cef3e9e6
[ #1652 ] Checkpoint: adding states
2021-04-23 17:15:33 +02:00
Thomas Markwalder
1f449d63dc
[ #1736 ] Fixed indentation
2021-04-23 10:22:19 -04:00
Thomas Markwalder
1a2156023b
[ #1736 ] Corrections to rebase merge.
...
Fixed minor difference overlooked during rebase.
modified:
src/hooks/dhcp/high_availability/ha_service.cc
2021-04-23 09:41:50 -04:00
Thomas Markwalder
1c1bde844f
[ #1736 ] Added ChangeLog entry
2021-04-23 09:02:26 -04:00
Thomas Markwalder
34068ea3bd
[ #1736 ] Additional review comments
...
Cosmetics.
2021-04-23 08:54:32 -04:00
Thomas Markwalder
d52ca3c7a2
[ #1736 ] Updated HA+MT doc in ARM
...
modified:
doc/sphinx/arm/hooks-ha.rst
2021-04-23 08:54:32 -04:00
Thomas Markwalder
861bdcbafa
[ #1736 ] More review comments
...
Cosmetics.
2021-04-23 08:54:32 -04:00
Thomas Markwalder
f6c9db310b
[ #1736 ] Removed unused items from ha_mt_unittest.cc
...
modified:
ha_mt_unittest.cc
2021-04-23 08:54:32 -04:00
Thomas Markwalder
2577106002
[ #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
2021-04-23 08:54:31 -04:00
Thomas Markwalder
f498527617
[ #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
2021-04-23 08:54:31 -04:00
Thomas Markwalder
cfa4c84c3e
[ #1736 ] Added MT unit tests for CommunicationState
...
modified:
src/hooks/dhcp/high_availability/tests/communication_state_unittest.cc
2021-04-23 08:54:31 -04:00
Thomas Markwalder
df8640f872
[ #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()
2021-04-23 08:54:31 -04:00
Thomas Markwalder
6ea9ac9c34
[ #1736 ] Make HA CommunicationState class thread-safe
...
communication_state.cc
communication_state.h
- Added mutexing to avoid race conditions
2021-04-23 08:54:31 -04:00
Thomas Markwalder
257e8c15f1
[ #1736 ] Avoid HA+MT client socket IfaceMgr registration
...
ha_service.cc
HAService::clientConnectHandler() - don't register socket if
client has its own IOService
2021-04-23 08:54:31 -04:00
Thomas Markwalder
4d19c8bc43
[ #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
2021-04-23 08:54:31 -04:00
Michal Nowikowski
470e8f00dd
addressed review issues
2021-04-23 12:52:09 +02:00
Michal Nowikowski
165412276c
[ #1822 ] updated release checklist template
2021-04-23 12:03:58 +02:00
Francis Dupont
0618273804
[ #1706 ] Fixed rebase typo
2021-04-21 00:04:07 +02:00