]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Fri, 21 Jun 2019 15:45:47 +0000 (17:45 +0200)]
[466-kea-admin-lease-options-to-be-renamed-to-db] Checkpoint: kea-admin lease-{^dump} -> db-* (src)
Francis Dupont [Mon, 8 Jul 2019 12:37:36 +0000 (14:37 +0200)]
[575-cb-cmds-unknown-fields-in-arguments-should-raise-an-error] Added ChangeLog entry for new keyword checks
Francis Dupont [Wed, 3 Jul 2019 22:20:58 +0000 (00:20 +0200)]
[575-cb-cmds-unknown-fields-in-arguments-should-raise-an-error] Fixed rebase errors
Francis Dupont [Wed, 3 Jul 2019 21:14:52 +0000 (23:14 +0200)]
[575-cb-cmds-unknown-fields-in-arguments-should-raise-an-error] Moved parameters and defaults to simple_parser[46] files
Francis Dupont [Sun, 9 Jun 2019 19:09:09 +0000 (21:09 +0200)]
[575-cb-cmds-unknown-fields-in-arguments-should-raise-an-error] Added metadata and fixed server tests
Francis Dupont [Sun, 9 Jun 2019 15:17:14 +0000 (17:17 +0200)]
[575-cb-cmds-unknown-fields-in-arguments-should-raise-an-error] Added keyword checks for option def, data, subnet, shared network, (pd)pools
Marcin Siodelski [Sat, 6 Jul 2019 18:30:41 +0000 (20:30 +0200)]
[master] Fixed tabulator in ChangeLog entry for #715.
This is trivial fix. Fixing on my own discretion.
Marcin Siodelski [Sat, 6 Jul 2019 18:13:05 +0000 (20:13 +0200)]
[#715,!411] Added ChangeLog for #715.
Marcin Siodelski [Sat, 6 Jul 2019 18:11:17 +0000 (20:11 +0200)]
[#715,!411] Removed dead code from the mysql_cb_impl.cc
As a result of the review.
Marcin Siodelski [Thu, 4 Jul 2019 19:18:16 +0000 (21:18 +0200)]
[#715] Added support for associating option defs with server tags.
Marcin Siodelski [Thu, 4 Jul 2019 19:50:26 +0000 (21:50 +0200)]
[#714,!409] Added ChangeLog entry.
Marcin Siodelski [Thu, 4 Jul 2019 19:45:37 +0000 (21:45 +0200)]
[#714,!409] Addressed review comments.
Removed unnecessary queries before create/update.
Marcin Siodelski [Wed, 3 Jul 2019 12:43:29 +0000 (14:43 +0200)]
[#714,!409] Corrected a comment in the mysql_cb.
Marcin Siodelski [Wed, 3 Jul 2019 12:41:18 +0000 (14:41 +0200)]
[#714,!409] Only delete dangling global options when server deleted.
Marcin Siodelski [Wed, 3 Jul 2019 12:14:26 +0000 (14:14 +0200)]
[#714,!409] Try to update an option followed by insert.
Previously we'd first fetch the option to check if it exists, then update
or insert but that would always trigger two queries. Now we're down to
one query if the option already exists.
Marcin Siodelski [Wed, 3 Jul 2019 11:42:39 +0000 (13:42 +0200)]
[#714,!409] Associate global options with the server tags.
Razvan Becheriu [Thu, 4 Jul 2019 16:40:04 +0000 (19:40 +0300)]
[#639,!410] updated ChangeLog
Razvan Becheriu [Thu, 4 Jul 2019 02:06:35 +0000 (05:06 +0300)]
[#639,!410] check for null pointer
Razvan Becheriu [Thu, 4 Jul 2019 02:04:30 +0000 (05:04 +0300)]
[#639,!410] clear cache_ptr_ before unloading library
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