]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Wed, 13 Jun 2018 16:25:00 +0000 (18:25 +0200)]
[5628] Radius doc fixes.
Francis Dupont [Wed, 13 Jun 2018 13:11:23 +0000 (15:11 +0200)]
[master] Updated git hash
Francis Dupont [Wed, 13 Jun 2018 13:10:17 +0000 (15:10 +0200)]
[master] Finished merge of trac5549a (known/unknown)
Francis Dupont [Wed, 13 Jun 2018 12:56:39 +0000 (14:56 +0200)]
[5549a] Addressed comments
Thomas Markwalder [Wed, 13 Jun 2018 10:46:39 +0000 (06:46 -0400)]
[master] Updated INSTALL file
Merge branch 'trac5409'
Thomas Markwalder [Wed, 13 Jun 2018 10:44:46 +0000 (06:44 -0400)]
[5409] Fixed a typo
Tomek Mrugalski [Wed, 13 Jun 2018 07:58:35 +0000 (09:58 +0200)]
[5409] Changes after review:
- premium script mentioned
- sudo added to make install
Marcin Siodelski [Tue, 12 Jun 2018 20:40:54 +0000 (22:40 +0200)]
[master] Added Changelog for #5647.
Marcin Siodelski [Tue, 12 Jun 2018 20:36:08 +0000 (22:36 +0200)]
[master] Merge branch 'trac5647'
Marcin Siodelski [Tue, 12 Jun 2018 16:09:40 +0000 (18:09 +0200)]
[5647] Added missing dependency to perfdhcp.
Marcin Siodelski [Tue, 12 Jun 2018 15:24:04 +0000 (17:24 +0200)]
[5647] Added missing libs in unit tests.
Marcin Siodelski [Tue, 12 Jun 2018 14:57:53 +0000 (16:57 +0200)]
[5647] Added missing library in Makefile.am
Tomek Mrugalski [Tue, 12 Jun 2018 14:54:30 +0000 (16:54 +0200)]
[5549a] Doc changes after review
Marcin Siodelski [Tue, 12 Jun 2018 14:33:09 +0000 (16:33 +0200)]
[5647] CalloutHandle is now associated with the DHCP packet object.
When the packet goes out of scope the callout handle is destroyed.
Thomas Markwalder [Tue, 12 Jun 2018 10:40:57 +0000 (06:40 -0400)]
[5409] Improved INSTALL file
Marcin Siodelski [Mon, 11 Jun 2018 18:07:59 +0000 (20:07 +0200)]
[master] Added Changelog for #5613.
Marcin Siodelski [Mon, 11 Jun 2018 18:05:28 +0000 (20:05 +0200)]
[master] Merge branch 'trac5613'
Marcin Siodelski [Mon, 11 Jun 2018 17:21:27 +0000 (19:21 +0200)]
[5613] Further changes from "attached to" to "loaded by"
Marcin Siodelski [Mon, 11 Jun 2018 17:16:49 +0000 (19:16 +0200)]
[5613] Change "attached to" to "loaded by" per review comments.
Thomas Markwalder [Mon, 11 Jun 2018 15:40:28 +0000 (11:40 -0400)]
[5613] Wording clean up
Marcin Siodelski [Mon, 11 Jun 2018 14:27:14 +0000 (16:27 +0200)]
[5613] Be more explicit where the hooks libs should be installed.
Thomas Markwalder [Mon, 11 Jun 2018 14:25:53 +0000 (10:25 -0400)]
[master] Added ChangeLog entry 1423 for 5378.
Thomas Markwalder [Mon, 11 Jun 2018 14:23:51 +0000 (10:23 -0400)]
[master] Servers store and emit configured global scalar parameters
Merge branch 'trac5378'
Francis Dupont [Mon, 11 Jun 2018 13:20:00 +0000 (15:20 +0200)]
[5378] Added missing line break
Francis Dupont [Mon, 11 Jun 2018 13:05:24 +0000 (15:05 +0200)]
[master] Updated git hash
Francis Dupont [Mon, 11 Jun 2018 13:04:45 +0000 (15:04 +0200)]
[master] Commented out BOOST_ASIO_DISABLE_THREADS
Thomas Markwalder [Mon, 11 Jun 2018 12:36:07 +0000 (08:36 -0400)]
[5378] Fixed failing unparse test
tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, unparseHR) - added init of CfgMgr
instance family. Test was failing when run with other
tests.
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.
Thomas Markwalder [Thu, 7 Jun 2018 19:07:06 +0000 (15:07 -0400)]
[5378] kea-dhcp4/6 now keep track of their configured global params
src/bin/dhcp4/json_config_parser.cc
configureDhcp4Server() - added extract of configured globals
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
Updated extracted and unparsed configs.
src/bin/dhcp6/json_config_parser.cc
configureDhcp6Server() - added extract of configured globals
src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/srv_config.cc
Added storage and maintence of configured globals
SrvConfig::toElement() - added configured globals to result
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, configuredGlobals) - new test
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
Francis Dupont [Thu, 7 Jun 2018 11:59:55 +0000 (13:59 +0200)]
[5549a] Code, examples and doc updated
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.