]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Thu, 4 Jul 2019 16:17:00 +0000 (18:17 +0200)]
[419-subnet-prefix-subnet-parameter-ambiguity] Added ChangeLog entry for subnet prefix ambiguity
Francis Dupont [Mon, 3 Jun 2019 20:06:53 +0000 (22:06 +0200)]
[419-subnet-prefix-subnet-parameter-ambiguity] Added unit tests and updated docs
Francis Dupont [Sat, 22 Jun 2019 20:24:55 +0000 (22:24 +0200)]
[690-bad-ip-length-header-error-misformats-number] Added a cast for uint8_t ip_len output
Francis Dupont [Fri, 28 Jun 2019 10:21:23 +0000 (12:21 +0200)]
[704-forensic-log-hook-paths-are-incorrect] Fixed forensic/legal paths
Francis Dupont [Thu, 4 Jul 2019 11:20:50 +0000 (13:20 +0200)]
[667-remove-obsolete-compatcheck-dir] Added ChangeLog entry for compatcheck dir removal
Francis Dupont [Fri, 21 Jun 2019 13:41:19 +0000 (15:41 +0200)]
[667-remove-obsolete-compatcheck-dir] Removed compatcheck more than obsolete directory
Marcin Siodelski [Wed, 3 Jul 2019 14:59:03 +0000 (16:59 +0200)]
[#709,!407] Minor updates to the server unittests as a result of review.
- Fixed a typo in the toElement test name,
- Added missing whitespace
- Fixed a typo in getByTag test description.
Francis Dupont [Wed, 3 Jul 2019 07:19:20 +0000 (09:19 +0200)]
[709-cb_cmds-add-support-for-commands-to-manage-the-servers] Added a toElement method to Server
Francis Dupont [Mon, 1 Jul 2019 07:08:12 +0000 (09:08 +0200)]
[709-cb_cmds-add-support-for-commands-to-manage-the-servers] Improved server support
Francis Dupont [Sun, 30 Jun 2019 13:28:19 +0000 (15:28 +0200)]
[709-cb_cmds-add-support-for-commands-to-manage-the-servers] Added delServerTag
Francis Dupont [Tue, 2 Jul 2019 16:12:34 +0000 (18:12 +0200)]
[550-authentication-key-to-text-method-miss-spelled] Added ChangeLog entry for auth key fixes
Francis Dupont [Tue, 2 Jul 2019 10:40:50 +0000 (12:40 +0200)]
[550-authentication-key-to-text-method-miss-spelled] Addressed comments
Francis Dupont [Tue, 9 Apr 2019 14:13:17 +0000 (16:13 +0200)]
[550-authentication-key-to-text-method-miss-spelled] AuthKey is binary
Francis Dupont [Tue, 2 Jul 2019 11:27:43 +0000 (13:27 +0200)]
[705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Revert "[705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Protected dhcp_test_lib.sh against unset ${prefix} and fixed includers"
This reverts commit
7fe457cb301772093ff7002c9a3be12b25f7d73b .
Reviewer asked this to be reverted as overkilling.
Francis Dupont [Fri, 28 Jun 2019 11:28:38 +0000 (13:28 +0200)]
[705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Protected dhcp_test_lib.sh against unset ${prefix} and fixed includers
Francis Dupont [Fri, 28 Jun 2019 10:31:19 +0000 (12:31 +0200)]
[705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Added prefix=@prefix@ and put shell bang at the right place
Francis Dupont [Tue, 2 Jul 2019 11:19:47 +0000 (13:19 +0200)]
[699-kea-s-v6-server-seems-to-be-missing-some-debug-logging-for-dhcp6_packet_send] Added ChangeLog entry for DHCP6_PACKET_SEND
Francis Dupont [Tue, 2 Jul 2019 08:38:20 +0000 (10:38 +0200)]
[699-kea-s-v6-server-seems-to-be-missing-some-debug-logging-for-dhcp6_packet_send] Addressed comment
Francis Dupont [Thu, 27 Jun 2019 22:15:33 +0000 (00:15 +0200)]
[699-kea-s-v6-server-seems-to-be-missing-some-debug-logging-for-dhcp6_packet_send] Added DHCP6_PACKET_SEND
Thomas Markwalder [Mon, 1 Jul 2019 12:14:03 +0000 (08:14 -0400)]
[#686,!403] Updated ChangeLog
Thomas Markwalder [Mon, 1 Jul 2019 11:52:20 +0000 (07:52 -0400)]
[#686,!403] Addressed review comments
Fixed cosmetics. Spacing etc...
Francis Dupont [Fri, 28 Jun 2019 20:55:44 +0000 (22:55 +0200)]
[686-is-it-necessary-to-run-the-sanity-checker-during-lfc-as-well-as-when-starting-kea] splling * cosmetic
Thomas Markwalder [Fri, 28 Jun 2019 15:16:44 +0000 (11:16 -0400)]
[#686,!403] LFC now sees sanity checking as disabled
Add CfgConsistency defaults to application level parsing
src/lib/dhcpsrv/cfg_consistency.h
Changed constructor default mode to LEASE_CHECK_NONE
src/lib/dhcpsrv/lease_file_loader.h
LeaseFileLoader::load() - modified to create and use a
sanity_checker only if checking is enabled. This avoids
senselessly making the same decisions for every lease loaded.
src/lib/dhcpsrv/parsers/simple_parser4.*
src/lib/dhcpsrv/parsers/simple_parser6.*
Added sanity checks defaults so they can be properly set at
the application level.
src/lib/dhcpsrv/sanity_checker.h
SanityChecker::leaseCheckingEnabled() - new static function
to test if sanity checking for leases is enabled
src/lib/dhcpsrv/tests/sanity_checks_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
updated tests for new constructor default value
Francis Dupont [Sat, 29 Jun 2019 13:37:44 +0000 (15:37 +0200)]
[676-add-support-for-server-tags-in-the-cb_cmds-hooks-library] Better fixes...
Francis Dupont [Sat, 29 Jun 2019 13:31:19 +0000 (15:31 +0200)]
[676-add-support-for-server-tags-in-the-cb_cmds-hooks-library] Addressed comments
Francis Dupont [Fri, 28 Jun 2019 18:09:01 +0000 (20:09 +0200)]
[676-add-support-for-server-tags-in-the-cb_cmds-hooks-library] spelling
Marcin Siodelski [Fri, 28 Jun 2019 13:58:26 +0000 (15:58 +0200)]
[#676] Modified internal representation of the tags in ServerSelector.
Thomas Markwalder [Fri, 28 Jun 2019 17:57:19 +0000 (13:57 -0400)]
[#651,!384] Updated ChangeLog entry
Thomas Markwalder [Fri, 28 Jun 2019 17:55:39 +0000 (13:55 -0400)]
[#651,!384] Fixed unit test
Thomas Markwalder [Fri, 28 Jun 2019 16:18:59 +0000 (12:18 -0400)]
[#651,!384] Updated ChangeLog entry
Thomas Markwalder [Mon, 17 Jun 2019 19:18:05 +0000 (15:18 -0400)]
[#651,!384] Added ChangeLog entry
Thomas Markwalder [Fri, 14 Jun 2019 19:47:33 +0000 (15:47 -0400)]
[#651,!384] Fix input IAID in postgresql lease6 fetchers
src/lib/dhcpsrv/pgsql_lease_mgr.cc
PgSqlLease6Exchange::Uiaid - made this public and added function to
return the int32 bit value as a string
PgSqlLeaseMgr::getLeases6() - uses Uiaid.dbInputString() now
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.*
GenericLeaseMgrTest::testLease6LargeIaidCheck() - new test to
ensure large value iaids can be stored.
src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
TEST_F(PgSqlLeaseMgrTest, leases6LargeIaidCheck) - new test
src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc
TEST_F(CqlLeaseMgrTest, lease6InvalidHostname) - new test
src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
TEST_F(MySqlLeaseMgrTest, leases6LargeIaidCheck) - new test
Marcin Siodelski [Thu, 27 Jun 2019 19:24:30 +0000 (21:24 +0200)]
[#642] Added ChangeLog for #642.
Marcin Siodelski [Thu, 27 Jun 2019 19:10:30 +0000 (21:10 +0200)]
[#642,!373] Fixed a typo in the mysql_cb.
Marcin Siodelski [Thu, 27 Jun 2019 18:50:07 +0000 (20:50 +0200)]
[#642,!373] Adjusted exceptions' text in the mysql_cb.
Per review comments.
Marcin Siodelski [Wed, 26 Jun 2019 15:43:56 +0000 (17:43 +0200)]
[#642,!373] Delete global parameters as a result of deleting the servers.
Marcin Siodelski [Tue, 25 Jun 2019 17:10:13 +0000 (19:10 +0200)]
[#642,!373] Do not allow to update the logical server 'all'.
Marcin Siodelski [Tue, 25 Jun 2019 16:50:18 +0000 (18:50 +0200)]
[#642,!373] Addressed review comments.
- Don't allow for deleting logical server 'all'.
- Additional tests to make sure that other servers aren't affected by deletion.
- Added note that getAll() doesn't return logical server all.
Francis Dupont [Tue, 25 Jun 2019 14:20:54 +0000 (16:20 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] Changed new schema to 8.1 (vs 9.0) and addressed trivial comments
Francis Dupont [Tue, 18 Jun 2019 13:45:38 +0000 (15:45 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] Restored missing space (indent)
Francis Dupont [Tue, 18 Jun 2019 12:43:21 +0000 (14:43 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] Minor comment fixes in hook header files
Francis Dupont [Mon, 17 Jun 2019 14:58:07 +0000 (16:58 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] Extra space in indent
Francis Dupont [Mon, 17 Jun 2019 14:49:40 +0000 (16:49 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] spelling
Francis Dupont [Mon, 17 Jun 2019 14:46:10 +0000 (16:46 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] overriden -> overridden (in src, not fixed in doc
Francis Dupont [Mon, 17 Jun 2019 14:42:54 +0000 (16:42 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] spelling
Francis Dupont [Mon, 17 Jun 2019 14:41:24 +0000 (16:41 +0200)]
[642-update-mysql-cb-with-calls-to-set-delete-and-retrieve-servers] spelling
Marcin Siodelski [Mon, 17 Jun 2019 13:10:52 +0000 (15:10 +0200)]
[#642,!373] Explained how globals are fetched for various selectors.
Marcin Siodelski [Mon, 17 Jun 2019 12:30:13 +0000 (14:30 +0200)]
[#642,!373] Added log messages for functions deleting servers.
Marcin Siodelski [Mon, 17 Jun 2019 12:09:13 +0000 (14:09 +0200)]
[#642,!373] Server tags supported for global params in MySQL CB.
Marcin Siodelski [Mon, 17 Jun 2019 12:07:36 +0000 (14:07 +0200)]
[#642,!373] Extended StampedElement to hold multiple server tags.
Marcin Siodelski [Thu, 13 Jun 2019 17:36:35 +0000 (19:36 +0200)]
[#642,!373] Check that it is possible to delete global param for server tag
Marcin Siodelski [Thu, 13 Jun 2019 14:54:29 +0000 (16:54 +0200)]
[#642,!373] Global parameters may be associated with server tags.
Marcin Siodelski [Wed, 12 Jun 2019 18:37:16 +0000 (20:37 +0200)]
[#642,!373] Updated MySQL Config Backend with simple server mgmt functions.
Francis Dupont [Thu, 27 Jun 2019 17:59:12 +0000 (19:59 +0200)]
[616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Added ChangeLog entry fro better messages on config from CB failure
Francis Dupont [Thu, 27 Jun 2019 13:45:55 +0000 (15:45 +0200)]
[616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Addressed comment
Francis Dupont [Thu, 13 Jun 2019 00:45:04 +0000 (02:45 +0200)]
[616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Split commit block to add CB indication in log/error messages
Francis Dupont [Thu, 13 Jun 2019 00:01:42 +0000 (02:01 +0200)]
[616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Improved messages (but still not found the bug)
Francis Dupont [Wed, 12 Jun 2019 23:26:42 +0000 (01:26 +0200)]
[616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Removed unused DCTL_CCSESSION_STARTING
Vicky Risk [Thu, 27 Jun 2019 14:48:10 +0000 (10:48 -0400)]
Update .gitlab/issue_templates/bug_report.md
Thomas Markwalder [Thu, 27 Jun 2019 11:52:05 +0000 (07:52 -0400)]
[#691,!395] Updated ChangeLog
Thomas Markwalder [Wed, 26 Jun 2019 19:32:55 +0000 (15:32 -0400)]
[#691,!395] More review comments
src/hooks/dhcp/high_availability/ha_messages.mes
Removed HA_SERVICE_CONNECT_INVALID_SOCKET message
src/hooks/dhcp/high_availability/ha_service.cc
HAService::clientConnectHandler() - now just avoids registering
an invalid FD with no log and return(true)
src/lib/http/client.cc
Added commen in Connection::close()
src/lib/http/tests/server_client_unittests.cc
Removed invalid FD failure in test
Marcin Siodelski [Wed, 26 Jun 2019 18:57:15 +0000 (20:57 +0200)]
[#691,!395] Fixed a typo in the server_client_unittest.cc for HTTP.
Marcin Siodelski [Wed, 26 Jun 2019 18:38:09 +0000 (20:38 +0200)]
[#691,!395] Removed spurious dot from the test comment.
Marcin Siodelski [Wed, 26 Jun 2019 18:27:59 +0000 (20:27 +0200)]
[#691,!395] Fixed a typo in the IfaceMgr header.
Marcin Siodelski [Wed, 26 Jun 2019 18:06:30 +0000 (20:06 +0200)]
[#691,!395] Fixed a typo in the http client header.
Marcin Siodelski [Wed, 26 Jun 2019 18:00:53 +0000 (20:00 +0200)]
[#691,!395] Removed debug leftovers from ha service.
Marcin Siodelski [Wed, 26 Jun 2019 17:56:03 +0000 (19:56 +0200)]
[#691,!395] Updated copyright date in src/config/timeouts.h.
Thomas Markwalder [Wed, 26 Jun 2019 15:35:09 +0000 (11:35 -0400)]
[#691,!395] Review comments 4
src/lib/http/tests/server_client_unittests.cc
TEST_F(HttpClientTest, connectCloseCallbacks) - test now
verifies callback invocations
Thomas Markwalder [Wed, 26 Jun 2019 14:57:15 +0000 (10:57 -0400)]
[#691,!395] Review comments 3
IfaceMgr and unit tests clean up.
Thomas Markwalder [Wed, 26 Jun 2019 14:23:24 +0000 (10:23 -0400)]
[#691,!395] Review comments 2
src/hooks/dhcp/high_availability/ha_messages.mes
HA_SERVICE_CONNECT_INVALID_SOCKET - new message
src/hooks/dhcp/high_availability/ha_service.cc
HAService::clientConnectHandler() - added negative fd logic
src/lib/http/client.cc
Connection::closeCallback() - new method that wraps invocation
of close callback in try-catch.
src/lib/http/http_messages.mes
HTTP_CONNECTION_CLOSE_CALLBACK_FAILED - new message
Thomas Markwalder [Wed, 26 Jun 2019 13:06:26 +0000 (09:06 -0400)]
[#691,!395] Addressed review comments 1
Added TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST
Removed virtual from callback declarations
Added commentary to http/client.h
Thomas Markwalder [Wed, 26 Jun 2019 10:55:14 +0000 (06:55 -0400)]
Apply suggestion to ChangeLog
Thomas Markwalder [Tue, 25 Jun 2019 16:37:11 +0000 (12:37 -0400)]
[#691,!395] Added ChangeLog entry
Thomas Markwalder [Tue, 25 Jun 2019 16:30:18 +0000 (12:30 -0400)]
[#691,!395] Added bad socket purge to IfaceMgr
src/lib/dhcp/iface_mgr.cc
IfaceMgr::purgeBadSockets() - new function to validate
external sockets and unregister any that are invalid.
IfaceMgr::receive4Indirect()
IfaceMgr::receive4Direct()
IfaceMgr::receive6Indirect()
IfaceMgr::receive6Direct() - added logic to all
purgeBadSockets() when select fails with EBADF
src/lib/dhcp/tests/iface_mgr_unittest.cc
TEST_F(IfaceMgrTest, purgeExternalSockets4)
TEST_F(IfaceMgrTest, purgeExternalSockets6) - new tests
to verify bad socket purging
src/lib/http/client.cc
Move close_callback_ reset back to Connection::close()
Thomas Markwalder [Mon, 24 Jun 2019 19:33:53 +0000 (15:33 -0400)]
[#691,!395] HAService now registers HTTP client sockets with InterfaceMgr
src/hooks/dhcp/high_availability/ha_service.cc
HAService
clientConnectHandler() - new client connection connect callback
clientCloseHandler() - new client connection close callback
asyncSendLeaseUpdate()
asyncSendHeartbeat()
asyncDisableDHCPService()
asyncEnableDHCPService()
asyncSyncLeasesInternal() - added new call backs to
HttpClient::asyncSendRequest() invocation
src/lib/http/client.cc
Connection::resetState() - added reset of close callback
Thomas Markwalder [Sat, 22 Jun 2019 15:38:55 +0000 (11:38 -0400)]
[#691,!395] Add Connection socket exposure and close_callback handler
Addes close_callback and exposes Connectin's TCP socket to it
and connect_callback.
src/lib/http/client.h b/src/lib/http/client.h
HttpClient:
Added second parameter, socket FD, to ConnectHandler
Added CloseHandler typedef
asyncSendRequest() - added close_callback parameter
src/lib/http/client.cc
Connection - added close_callback parameter to all
methods that accept connect_callback parameter
Added invocation of close_callback wherever the connection's
socket is closed.
src/lib/http/tests/server_client_unittests.cc
TEST_F(HttpClientTest, connectCloseCallbacks) - new test that
verifies connect and close callback operations
Michal Nowikowski [Wed, 26 Jun 2019 09:30:47 +0000 (11:30 +0200)]
hammer: fixed handling repos over https
Francis Dupont [Wed, 26 Jun 2019 13:05:29 +0000 (15:05 +0200)]
[621-pd-pool-fields-are-not-described-in-kea6-all-keys-current-json] Addressed comment
Francis Dupont [Wed, 5 Jun 2019 13:05:39 +0000 (15:05 +0200)]
[621-pd-pool-fields-are-not-described-in-kea6-all-keys-current-json] Added description of pd-pool current all keys example
Francis Dupont [Wed, 26 Jun 2019 12:53:21 +0000 (14:53 +0200)]
[685-log-the-expected-subnet-id-as-well-as-the-actual-subnet-id-when-the-sanity-checker-identifies-a-problem] Added ChangeLog entry for sanity-checker logs
Francis Dupont [Fri, 21 Jun 2019 14:29:41 +0000 (16:29 +0200)]
[685-log-the-expected-subnet-id-as-well-as-the-actual-subnet-id-when-the-sanity-checker-identifies-a-problem] Improved SanityChecker logs
Francis Dupont [Wed, 26 Jun 2019 10:17:03 +0000 (12:17 +0200)]
[694-add-valid-lifetime-to-dhcp4_lease_alloc-and-dhcp6_lease_alloc-logging] Added ChangeLog entry for DHCP*_LEASE_ALLOC improvement
Francis Dupont [Wed, 26 Jun 2019 10:09:05 +0000 (12:09 +0200)]
[694-add-valid-lifetime-to-dhcp4_lease_alloc-and-dhcp6_lease_alloc-logging] Added the unit (seconds)
Francis Dupont [Tue, 25 Jun 2019 09:06:16 +0000 (11:06 +0200)]
[694-add-valid-lifetime-to-dhcp4_lease_alloc-and-dhcp6_lease_alloc-logging] Added lease valid lifetime to DHCP*_LEASE_ALLOC logs
Francis Dupont [Tue, 25 Jun 2019 13:00:32 +0000 (15:00 +0200)]
[682-keactrl-unable-to-kill-kea-processes] Force localstatedir value
Francis Dupont [Thu, 20 Jun 2019 15:34:12 +0000 (17:34 +0200)]
[682-keactrl-unable-to-kill-kea-processes] Added expansion of runstatdir when it includes localstatedir
Michal Nowikowski [Mon, 24 Jun 2019 19:58:48 +0000 (21:58 +0200)]
hammer: added support for debian-10, some other various fixes
Francis Dupont [Tue, 25 Jun 2019 07:02:01 +0000 (09:02 +0200)]
[583-cb-cmds-config-get-returns-wrong-subnet-range] Added CHangeLog for prefixLengthFromRange fix
Francis Dupont [Thu, 13 Jun 2019 09:49:37 +0000 (11:49 +0200)]
[583-cb-cmds-config-get-returns-wrong-subnet-range] Fixed prefixLengthFromRange
Marcin Siodelski [Mon, 24 Jun 2019 17:12:30 +0000 (19:12 +0200)]
[#689] Added ChangeLog for #689.
Marcin Siodelski [Mon, 24 Jun 2019 16:12:11 +0000 (18:12 +0200)]
[#689] Test failed lease values against expected.
Marcin Siodelski [Mon, 24 Jun 2019 15:44:55 +0000 (17:44 +0200)]
[#689] Updated Kea ARM to include error code/message for bulk lease updates.
Marcin Siodelski [Mon, 24 Jun 2019 15:11:51 +0000 (17:11 +0200)]
[#689] Include error messages for lease updates in the log.
Marcin Siodelski [Mon, 24 Jun 2019 15:09:07 +0000 (17:09 +0200)]
[#689] Do not include subnet-id in failed leases in response to bulk apply.
Marcin Siodelski [Mon, 24 Jun 2019 13:56:18 +0000 (15:56 +0200)]
[#689] Include control result and error message in resp to lease6-bulk-apply
Marcin Siodelski [Mon, 24 Jun 2019 11:18:52 +0000 (13:18 +0200)]
[#689] Added logging of the failed lease updates.
Marcin Siodelski [Fri, 21 Jun 2019 18:37:32 +0000 (20:37 +0200)]
[#689] Updated HA hooks lib to use lease6-bulk-apply command.
Francis Dupont [Tue, 4 Jun 2019 14:29:08 +0000 (16:29 +0200)]
[551-wrong-namespace-for-address-utilities] Moved address utils to isc::asiolink namespace
Razvan Becheriu [Mon, 24 Jun 2019 08:24:31 +0000 (11:24 +0300)]
[#604,!376] updated ChangeLog
Razvan Becheriu [Mon, 10 Jun 2019 14:34:58 +0000 (17:34 +0300)]
added test for very long text for parser which checks for crash - bug in flex generated code using REJECT