]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Fri, 8 Jun 2018 14:07:14 +0000 (16:07 +0200)]
[5646] Dedicated checks for truncated client-id, server-id added
Marcin Siodelski [Mon, 11 Jun 2018 11:04:21 +0000 (13:04 +0200)]
[master] Added ChangeLog for #5645.
Marcin Siodelski [Mon, 11 Jun 2018 10:46:45 +0000 (12:46 +0200)]
[master] Merge branch 'trac5645'
Tomek Mrugalski [Mon, 11 Jun 2018 09:57:41 +0000 (11:57 +0200)]
[5645] Corrected user's guide (was premium, is open source now)
Marcin Siodelski [Fri, 8 Jun 2018 11:37:40 +0000 (13:37 +0200)]
[5645] Updates to User's Guide after moving HA.
Marcin Siodelski [Fri, 8 Jun 2018 11:31:08 +0000 (13:31 +0200)]
[5645] HA developer's guide moved to main devguide.
Marcin Siodelski [Fri, 8 Jun 2018 11:01:06 +0000 (13:01 +0200)]
[5645] Changed copyright headers to MPL.
Marcin Siodelski [Fri, 8 Jun 2018 10:37:16 +0000 (12:37 +0200)]
[5645] Moved HA hook library from premium repo to main repo.
Francis Dupont [Thu, 7 Jun 2018 14:51:51 +0000 (16:51 +0200)]
[master] Finishing merge of trac5449 (Fixes from analyzers)
Tomek Mrugalski [Thu, 7 Jun 2018 12:12:01 +0000 (14:12 +0200)]
[5449] Removed explicit throws() in data.h
- dynamic exception specifications are deprecated in C++11
Marcin Siodelski [Thu, 7 Jun 2018 07:11:22 +0000 (09:11 +0200)]
[master] Added ChangeLog for #5622.
Marcin Siodelski [Thu, 7 Jun 2018 07:07:44 +0000 (09:07 +0200)]
[master] Merge branch 'trac5622'
Marcin Siodelski [Wed, 6 Jun 2018 18:22:53 +0000 (20:22 +0200)]
[5622] Updated HA logger name in the example file.
Marcin Siodelski [Wed, 6 Jun 2018 18:10:00 +0000 (20:10 +0200)]
[5622] Renamed lease cmds logger to lease-cmds-hooks.
Marcin Siodelski [Wed, 6 Jun 2018 18:05:12 +0000 (20:05 +0200)]
[5622] Updated list of loggers.
Thomas Markwalder [Wed, 6 Jun 2018 12:45:59 +0000 (08:45 -0400)]
[master] Improves Ctrl Channel partial command handling
Merge branch 'trac5599'
Marcin Siodelski [Tue, 5 Jun 2018 15:35:33 +0000 (17:35 +0200)]
[master] Added ChangeLog for #5621.
Marcin Siodelski [Tue, 5 Jun 2018 15:13:33 +0000 (17:13 +0200)]
[master] Merge branch 'trac5621'
Thomas Markwalder [Tue, 5 Jun 2018 15:06:15 +0000 (11:06 -0400)]
[5599] Control channel now emits info on any discarded data
doc/guide/ctrl-channel.xml
Minor update to using socat
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
Updated testing for server response to server
side control channel timeouts
src/lib/cc/json_feed.h
JSONFeed::getProcessedText() - new method that
returns a copy of the current accumulation of
accepted text
src/lib/config/config_messages.mes
src/lib/config/command_mgr.cc
Connection::receiveHandler() - added log info about
discarded data when client closes connection
Connection::timeoutHandler() - added info about discarded
data to server's response to client on server side timeout
Marcin Siodelski [Tue, 5 Jun 2018 11:52:37 +0000 (13:52 +0200)]
[master] Added ChangeLog entry for #5638.
Marcin Siodelski [Tue, 5 Jun 2018 11:30:08 +0000 (13:30 +0200)]
[master] Merge branch 'trac5638'
Marcin Siodelski [Tue, 5 Jun 2018 07:52:19 +0000 (09:52 +0200)]
[5638] Added commenary to simpleAlloc tests.
As a result of review.
Marcin Siodelski [Mon, 4 Jun 2018 20:04:22 +0000 (22:04 +0200)]
[5621] Updated User's Guide with sync-leases HA parameter.
Marcin Siodelski [Mon, 4 Jun 2018 12:45:34 +0000 (14:45 +0200)]
[5638] Reset callout handle status prior to lease6_select.
Marcin Siodelski [Mon, 4 Jun 2018 11:38:25 +0000 (13:38 +0200)]
[5638] Fixed invalid callouts status for the v4 case.
Marcin Siodelski [Mon, 4 Jun 2018 08:32:24 +0000 (10:32 +0200)]
[master] Added ChangeLog entry for #5205.
Marcin Siodelski [Mon, 4 Jun 2018 08:29:22 +0000 (10:29 +0200)]
[master] Merge branch 'trac5205'
Francis Dupont [Sat, 2 Jun 2018 13:42:33 +0000 (15:42 +0200)]
[master] Removed extra OPENSSL_LIBDIR
Francis Dupont [Fri, 1 Jun 2018 21:03:00 +0000 (23:03 +0200)]
[master] Fixed Coverity CID
1435921
Francis Dupont [Fri, 1 Jun 2018 20:53:41 +0000 (22:53 +0200)]
[master] Updated git hash
Francis Dupont [Fri, 1 Jun 2018 20:52:54 +0000 (22:52 +0200)]
[master] Finishing merge of trac5382a (Botan 2.x support)
Francis Dupont [Fri, 1 Jun 2018 20:49:27 +0000 (22:49 +0200)]
[master] Merged trac5382 (Botan 2.x support)
Francis Dupont [Fri, 1 Jun 2018 19:33:36 +0000 (21:33 +0200)]
[master] Fixed doxygen problems
Thomas Markwalder [Fri, 1 Jun 2018 14:10:34 +0000 (10:10 -0400)]
[master] Improved parsing error checking for subnet address/prefix values
Merge branch 'trac5418'
Thomas Markwalder [Fri, 1 Jun 2018 12:51:15 +0000 (08:51 -0400)]
[master] Added ChangeLog 1415 for #5629
Thomas Markwalder [Fri, 1 Jun 2018 12:25:25 +0000 (08:25 -0400)]
[master] Lease and host back ends now validate schema version during open
Merge branch 'trac5629'
Thomas Markwalder [Fri, 1 Jun 2018 11:58:16 +0000 (07:58 -0400)]
[5629] Addressed review comments
Added missing schema minor number to CQL log messages.
Thomas Markwalder [Thu, 31 May 2018 18:30:49 +0000 (14:30 -0400)]
[5629] Cql lease and host now validate schema version
src/lib/dhcpsrv/cql_host_data_source.cc
CqlHostDataSourceImpl::CqlHostDataSourceImpl() - added schema
version validation
src/lib/dhcpsrv/cql_lease_mgr.cc
CqlLeaseMgr::CqlLeaseMgr() - added schema version validation
Francis Dupont [Thu, 31 May 2018 16:22:05 +0000 (18:22 +0200)]
[5449] Extra fixes
Thomas Markwalder [Thu, 31 May 2018 15:51:19 +0000 (11:51 -0400)]
[5629] MySQL and PostgreSQL host backends now verify schema version
src/lib/dhcpsrv/mysql_host_data_source.cc
MySqlHostDataSourceImpl::getVersion() - new function to
fetch version accessible to impl constructor
MySqlHostDataSourceImpl() - added schema validation after
connecting
MySqlHostDataSource::getVersion() - new uses impl method
src/lib/dhcpsrv/pgsql_host_data_source.cc
PgSqlHostDataSourceImpl()) - added schema validation after
connecting
PgSqlHostDataSourceImpl::getVersion() - no longer uses
pre-prepared statement
Thomas Markwalder [Thu, 31 May 2018 14:36:26 +0000 (10:36 -0400)]
[5629] PostgreSQL Lease back end now properly validates schema version
src/lib/dhcpsrv/pgsql_lease_mgr.cc
PgSqlLeaseMgr::PgSqlLeaseMgr() - now validates schema version before
preparing SQL statements
PgSqlLeaseMgr::getVersion() - no longers uses pre-prepared statement
or formal statement execution error checking
Thomas Markwalder [Thu, 31 May 2018 13:41:46 +0000 (09:41 -0400)]
[5629] MySQL Lease back end now validates schema after connecting
src/lib/dhcpsrv/mysql_lease_mgr.*
MySqlLeaseMgr::MySqlLeaseMgr() - now validates schema
after connecting
MySqlLeaseMgr::getVersion() - no longer relies on
pre-prepared statement or formal statement execution
error handling
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
LeaseMgrDbLostCallbackTest::testDbLostCallback() - replaced
use of getVersion() with getLease4() for testing DB usability
Thomas Markwalder [Wed, 30 May 2018 14:42:58 +0000 (10:42 -0400)]
[master] Added ChangeLog entry 1441 for Trac #5596.
Thomas Markwalder [Wed, 30 May 2018 14:38:26 +0000 (10:38 -0400)]
[master] DHCPv4 renew/rebind-timers are now optional
Merge branch 'trac5596'
Francis Dupont [Wed, 30 May 2018 13:00:31 +0000 (15:00 +0200)]
[master] Updated git hash
Francis Dupont [Wed, 30 May 2018 12:59:24 +0000 (14:59 +0200)]
[master] Finishing merge of trac5563 (Removed get*(hwaddr, duid) from host backend APIs)
Francis Dupont [Wed, 30 May 2018 12:52:24 +0000 (14:52 +0200)]
[master] Merged trac5563 (Removed get*(hwaddr, duid) from host backend APIs)
Francis Dupont [Wed, 30 May 2018 12:48:24 +0000 (14:48 +0200)]
[master] Merged trac5560 (C++11 checks)
Marcin Siodelski [Wed, 30 May 2018 12:15:27 +0000 (14:15 +0200)]
[5205] Return hints to include "service" parameter over control channel.
Users make frequent error to not include the "service" parameter in the
commands when they want the command to be forwarded to one of the DHCP
servers. This update includes an explanatory text if the command is
not supported by the CA, that the user should include the service parameter
if he means to get the command forwarded to the DHCP servers.
Marcin Siodelski [Wed, 30 May 2018 11:32:18 +0000 (13:32 +0200)]
[5205] Further separate client-side from server-side msgs.
Marcin Siodelski [Wed, 30 May 2018 09:00:50 +0000 (11:00 +0200)]
[5205] Improved logging in the HTTP client class.
Thomas Markwalder [Tue, 29 May 2018 20:00:06 +0000 (16:00 -0400)]
[5418] Improved error handling of invalid subnet prefix lengths
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
SubnetConfigParser::createSubnet() - explicitly catch
exceptions thrown by lexical_cast and added logic to
catch values > 256
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
badSubnetValues() - new test that checks
several invalid subnet value scenarios
Marcin Siodelski [Tue, 29 May 2018 19:51:01 +0000 (21:51 +0200)]
[5205] Unit tests for the HTTP message formatting.
Marcin Siodelski [Tue, 29 May 2018 14:08:03 +0000 (16:08 +0200)]
[5205] Improved HTTP server side logging.
Thomas Markwalder [Tue, 29 May 2018 12:13:58 +0000 (08:13 -0400)]
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Thomas Markwalder [Tue, 29 May 2018 12:12:53 +0000 (08:12 -0400)]
[master] Added config.h to files
Merge branch 'trac5521'
Thomas Markwalder [Tue, 29 May 2018 11:42:57 +0000 (07:42 -0400)]
[5596] fixed typos in commentary
Francis Dupont [Mon, 28 May 2018 15:09:19 +0000 (17:09 +0200)]
[5382a] Updated doc
Francis Dupont [Mon, 28 May 2018 15:00:03 +0000 (17:00 +0200)]
[5382a] Code done, need more check
Tomek Mrugalski [Mon, 28 May 2018 11:37:50 +0000 (13:37 +0200)]
[master] Added path to OpenSSL from homebrew
- this makes configure to work out of the box on Mac OS
(no more --with-openssl=... needed if you use OpenSSL from
homebrew)
Marcin Siodelski [Mon, 28 May 2018 09:20:29 +0000 (11:20 +0200)]
[master] Added ChangeLog entry for #5632.
Marcin Siodelski [Mon, 28 May 2018 09:18:01 +0000 (11:18 +0200)]
[master] Merge branch 'trac5632'
Marcin Siodelski [Mon, 28 May 2018 09:17:06 +0000 (11:17 +0200)]
[5632] Swap builtin classes order as a result of review.
Marcin Siodelski [Mon, 28 May 2018 09:14:49 +0000 (11:14 +0200)]
[5632] Minor wording change in the guide as a result or review.
Francis Dupont [Sun, 27 May 2018 06:17:19 +0000 (08:17 +0200)]
[master] Removed unused use_templates
Francis Dupont [Sat, 26 May 2018 22:02:05 +0000 (00:02 +0200)]
[master] Put testDbLostCallback in ifdefs
Francis Dupont [Fri, 25 May 2018 15:39:16 +0000 (17:39 +0200)]
[master] Updated git hash
Francis Dupont [Fri, 25 May 2018 15:37:59 +0000 (17:37 +0200)]
[master] Finishing merge of trac5591 (lambda warnings)
Francis Dupont [Fri, 25 May 2018 15:35:09 +0000 (17:35 +0200)]
[master] Merged trac5591 (lambda warnings)
Thomas Markwalder [Fri, 25 May 2018 15:12:30 +0000 (11:12 -0400)]
[5596] renew-timer and rebind-timer now optional for DHCPv4
v4 Parsing now allows renew/rebind timers to be unspecified,
and kea-dhcp4 logic now matchs ISC DHCP:
1. Send T2 only if it is specified and is less than lease lifetime
2. Send T1 only if it is specified and is less than either T2
if specified, or lease lifetime in the absence of T2
doc/guide/dhcp4-srv.xml
Updated discussion of rebind/renew-timers
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::assignLease() - modified to sanity check
T1 and T2
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp4/tests/simple_parser4_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
updated numerous tests
src/lib/dhcpsrv/network.cc
Network::toElement() - only outputs T1, T2, and
valid lifetime if they are specified
src/lib/dhcpsrv/network.h
Network() - inits t1_, t2_, and valid_ to unspecified
Triplet value
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
Subnet4ConfigParser::initSubnet() - allow renew-timer and
rebind-timer to be optional
src/lib/dhcpsrv/parsers/simple_parser4.cc
SimpleDefaults SimpleParser4::GLOBAL4_DEFAULTS - removed
entries for renew-timer and rebind-timer
Marcin Siodelski [Fri, 25 May 2018 10:08:20 +0000 (12:08 +0200)]
[master] Added ChangeLog for #5576.
Marcin Siodelski [Fri, 25 May 2018 09:42:16 +0000 (11:42 +0200)]
[master] Merge branch 'trac5576'
Marcin Siodelski [Fri, 25 May 2018 07:53:32 +0000 (09:53 +0200)]
[5632] Removed extraneous comma from the example HA config.
Marcin Siodelski [Fri, 25 May 2018 07:47:18 +0000 (09:47 +0200)]
[5632] Updated User's Guide saying that HA_ is builtin.
Marcin Siodelski [Fri, 25 May 2018 06:38:54 +0000 (08:38 +0200)]
[5632] Updated HA example config by removing HA_ class decls.
Marcin Siodelski [Fri, 25 May 2018 06:31:10 +0000 (08:31 +0200)]
[5632] HA_ is now a builtin class prefix.
Marcin Siodelski [Thu, 24 May 2018 16:16:02 +0000 (18:16 +0200)]
[5632] HA class prefix is now upper case in the docs.
Marcin Siodelski [Thu, 24 May 2018 16:01:26 +0000 (18:01 +0200)]
[master] Added Changelog entry for #5603.
Marcin Siodelski [Thu, 24 May 2018 15:06:41 +0000 (17:06 +0200)]
[master] Merge branch 'trac5603'
Francis Dupont [Thu, 24 May 2018 14:51:07 +0000 (16:51 +0200)]
[5563] Changes done and compile
Marcin Siodelski [Thu, 24 May 2018 14:08:04 +0000 (16:08 +0200)]
[5603] Added a note about restarting the HA service.
The server needs to be restarted or reloaded. In the future
we may provide a command.
Tomek Mrugalski [Thu, 24 May 2018 13:50:02 +0000 (15:50 +0200)]
[master] ChangeLog updated after github77 merged
Tomek Mrugalski [Tue, 24 Apr 2018 08:05:38 +0000 (09:05 +0100)]
[github77] Unittests written
Tomek Mrugalski [Tue, 24 Apr 2018 08:02:04 +0000 (09:02 +0100)]
[github77] -o code,hexstring is now supported in perfdhcp
Marcin Siodelski [Thu, 24 May 2018 12:25:30 +0000 (14:25 +0200)]
[5576] Fixing freezing control agent forward tests.
Wlodek Wencel [Thu, 24 May 2018 11:22:09 +0000 (13:22 +0200)]
[master] Date updated in kea-shell guide
Wlodek Wencel [Thu, 24 May 2018 11:17:10 +0000 (13:17 +0200)]
[master] Copyright update to 2018
Thomas Markwalder [Wed, 23 May 2018 18:23:13 +0000 (14:23 -0400)]
[master] Added ChangeLog entry 1407 for #5626
Thomas Markwalder [Wed, 23 May 2018 18:20:55 +0000 (14:20 -0400)]
[master] TimerMgr dtor no longer emits log statements
Merges in 5626.
Francis Dupont [Wed, 23 May 2018 13:55:44 +0000 (15:55 +0200)]
[master] cql-static-link -> lib
Francis Dupont [Wed, 23 May 2018 08:09:03 +0000 (10:09 +0200)]
[master] Updated git hash
Francis Dupont [Wed, 23 May 2018 08:08:21 +0000 (10:08 +0200)]
[master] Finished merge of trac5488 / PR71 (pkg-config for --with-cql)
Francis Dupont [Wed, 23 May 2018 08:05:27 +0000 (10:05 +0200)]
[master] Merged trac5488 / PR71 (pkg-config for --with-cql)
Thomas Markwalder [Tue, 22 May 2018 18:25:05 +0000 (14:25 -0400)]
[5603] Minor ha documentation wording changes
Marcin Siodelski [Tue, 22 May 2018 17:47:40 +0000 (19:47 +0200)]
[5603] Documented clock skew in HA and "terminated" state.
Thomas Markwalder [Mon, 21 May 2018 11:44:15 +0000 (07:44 -0400)]
[5488] Minor wording changes
Francis Dupont [Sat, 19 May 2018 13:37:53 +0000 (15:37 +0200)]
[5488] Updated doc
Thomas Markwalder [Fri, 18 May 2018 19:08:54 +0000 (15:08 -0400)]
[master] Added ChangeLog entry 1405 for #5625
Thomas Markwalder [Fri, 18 May 2018 19:04:09 +0000 (15:04 -0400)]
[master] Corrected missing "override" warnings in cql_lease_mgr.h
Merge branch 'trac5625'
Thomas Markwalder [Fri, 18 May 2018 18:19:29 +0000 (14:19 -0400)]
[5521] Used a different script that skips generated files
Added config.h to non-generated cc files only