summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [5649] ClientConnection timeout is delayed when transaction progresses.Marcin Siodelski2018-06-132-9/+36
|
* [master] Merge branch 'trac5644'Marcin Siodelski2018-06-1312-12/+12
|\
| * [5644] Bumped up library version numbers for 1.4 final release.Marcin Siodelski2018-06-1312-12/+12
| |
* | [master] Finished merge of trac5549a (known/unknown)Francis Dupont2018-06-1312-29/+450
|\ \ | |/ |/|
| * [5549a] Addressed commentsFrancis Dupont2018-06-137-9/+87
| |
| * [5549a] Code, examples and doc updatedFrancis Dupont2018-06-079-41/+49
| |
| * [5549a] Ported unit testsFrancis Dupont2018-05-193-1/+148
| |
| * [5549a] Rebased/Updated code - toto unit tests to portFrancis Dupont2018-05-1810-33/+221
| |
* | [5647] Added missing dependency to perfdhcp.Marcin Siodelski2018-06-122-0/+8
| |
* | [5647] Added missing libs in unit tests.Marcin Siodelski2018-06-122-0/+2
| |
* | [5647] Added missing library in Makefile.amMarcin Siodelski2018-06-122-0/+2
| |
* | [5647] CalloutHandle is now associated with the DHCP packet object.Marcin Siodelski2018-06-1210-119/+152
| | | | | | | | When the packet goes out of scope the callout handle is destroyed.
* | [master] Servers store and emit configured global scalar parametersThomas Markwalder2018-06-117-105/+562
|\ \ | | | | | | | | | Merge branch 'trac5378'
| * | [5378] Added missing line breakFrancis Dupont2018-06-111-2/+3
| | |
| * | [5378] Fixed failing unparse testThomas Markwalder2018-06-111-0/+1
| | | | | | | | | | | | | | | | | | | | | tests/srv_config_unittest.cc TEST_F(SrvConfigTest, unparseHR) - added init of CfgMgr instance family. Test was failing when run with other tests.
| * | [5378] kea-dhcp4/6 now keep track of their configured global paramsThomas Markwalder2018-06-077-106/+561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | [5646] Dedicated checks for truncated client-id, server-id addedTomek Mrugalski2018-06-114-1/+110
| | |
* | | [5645] HA developer's guide moved to main devguide.Marcin Siodelski2018-06-084-2465/+12
| | |
* | | [5645] Changed copyright headers to MPL.Marcin Siodelski2018-06-0830-62/+90
| | |
* | | [5645] Moved HA hook library from premium repo to main repo.Marcin Siodelski2018-06-0838-1/+15939
| | |
* | | [master] Finishing merge of trac5449 (Fixes from analyzers)Francis Dupont2018-06-077-10/+36
|\ \ \
| * | | [5449] Removed explicit throws() in data.hTomek Mrugalski2018-06-072-9/+8
| | | | | | | | | | | | | | | | - dynamic exception specifications are deprecated in C++11
| * | | [5449] Extra fixesFrancis Dupont2018-05-313-5/+8
| | | |
| * | | [5449] Removed throwing scan memory leakFrancis Dupont2017-12-211-3/+9
| | | |
| * | | [5449] Spit has_feature #ifFrancis Dupont2017-12-211-2/+6
| | | |
| * | | [5449] Fixes from address sanitizer run on last macOS/XcodeFrancis Dupont2017-12-092-2/+13
| | | |
* | | | [master] Merge branch 'trac5622'Marcin Siodelski2018-06-071-2/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | [5622] Renamed lease cmds logger to lease-cmds-hooks.Marcin Siodelski2018-06-061-2/+2
| | | |
* | | | [master] Improves Ctrl Channel partial command handlingThomas Markwalder2018-06-065-14/+129
|\ \ \ \ | |/ / / |/| | | | | | | Merge branch 'trac5599'
| * | | [5599] Control channel now emits info on any discarded dataThomas Markwalder2018-06-055-14/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [5638] Added commenary to simpleAlloc tests.Marcin Siodelski2018-06-052-3/+30
| | | | | | | | | | | | | | | | As a result of review.
* | | | [5638] Reset callout handle status prior to lease6_select.Marcin Siodelski2018-06-045-17/+68
| | | |
* | | | [5638] Fixed invalid callouts status for the v4 case.Marcin Siodelski2018-06-042-0/+37
|/ / /
* | | [master] Merge branch 'trac5205'Marcin Siodelski2018-06-0413-29/+343
|\ \ \
| * | | [5205] Return hints to include "service" parameter over control channel.Marcin Siodelski2018-05-301-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | [5205] Further separate client-side from server-side msgs.Marcin Siodelski2018-05-303-55/+55
| | | |
| * | | [5205] Improved logging in the HTTP client class.Marcin Siodelski2018-05-308-8/+117
| | | |
| * | | [5205] Unit tests for the HTTP message formatting.Marcin Siodelski2018-05-293-4/+49
| | | |
| * | | [5205] Improved HTTP server side logging.Marcin Siodelski2018-05-294-11/+125
| | | |
* | | | [master] Fixed Coverity CID 1435921Francis Dupont2018-06-011-0/+2
| | | |
* | | | [master] Merged trac5382 (Botan 2.x support)Francis Dupont2018-06-017-57/+527
|\ \ \ \
| * | | | [5382a] Code done, need more checkFrancis Dupont2018-05-287-57/+527
| |/ / /
* | | | [master] Fixed doxygen problemsFrancis Dupont2018-06-015-5/+6
| | | |
* | | | [master] Improved parsing error checking for subnet address/prefix valuesThomas Markwalder2018-06-013-15/+149
|\ \ \ \ | | | | | | | | | | | | | | | Merge branch 'trac5418'
| * | | | [5418] Improved error handling of invalid subnet prefix lengthsThomas Markwalder2018-05-293-15/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | [master] Lease and host back ends now validate schema version during openThomas Markwalder2018-06-0113-111/+234
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Merge branch 'trac5629'
| * | | | | [5629] Addressed review commentsThomas Markwalder2018-06-012-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | Added missing schema minor number to CQL log messages.
| * | | | | [5629] Cql lease and host now validate schema versionThomas Markwalder2018-05-317-9/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | [5629] MySQL and PostgreSQL host backends now verify schema versionThomas Markwalder2018-05-316-81/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | [5629] PostgreSQL Lease back end now properly validates schema versionThomas Markwalder2018-05-313-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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