]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Tue, 14 May 2019 19:42:34 +0000 (15:42 -0400)]
[#597,!323] Use round() when calculating T1/T2 to ensure consistent results
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::setTeeTimes() - added use of round()
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::setTeeTimes() - added use of round()
src/bin/dhcp6/tests/dhcp6_test_utils.cc
Dhcpv6SrvTest::checkIA_NA() - replaced used of
EXPECTED_EQ with logic to add a failure so callers
can ASSERT_NO_FATAL_FAILURE and pinpoint the invocation.
src/bin/dhcp6/tests/hooks_unittest.cc
Wrapped calls to checkIA_NA() with ASSERT_NO_FATAL_FAILURE
Updated expected T1 values to adjust for use of round().
Thomas Markwalder [Wed, 15 May 2019 15:25:34 +0000 (11:25 -0400)]
[#557,!310] Updated ChangeLog entry.
Thomas Markwalder [Tue, 30 Apr 2019 14:55:01 +0000 (10:55 -0400)]
[#557,!310] Added ChangeLog entry.
Thomas Markwalder [Tue, 30 Apr 2019 14:48:39 +0000 (10:48 -0400)]
[#557,!310] Fixed kea-dhcp6 DNS updates on renewals with generated FQDNs
Moved logic for detecting FQDN changes from the alloc engine to the
kea-dhcp6 server proper. This allows the change detection to be done after
FQDN generation.
src/bin/dhcp6/dhcp6_srv.*
Dhcpv6Srv::createNameChangeRequests() - modified to detect when changes
to a valid lease require a DNS remove
Dhcpv6Srv::generateFqdn() - updated to store the generated name in
the current context
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::extendLease6()
AllocEngine::updateLeaseData() - removed logic that checks for FQDN changes
src/bin/dhcp6/dhcp6_messages.*
Revamped a message
Marcin Siodelski [Wed, 15 May 2019 11:22:01 +0000 (13:22 +0200)]
[#603,!322] Added ChangeLog entry for #603.
Marcin Siodelski [Tue, 14 May 2019 19:23:50 +0000 (21:23 +0200)]
[#603,!322] Register MySQL backend for v6 in mysql_cb hooks library.
Michal Nowikowski [Tue, 6 Nov 2018 09:05:58 +0000 (10:05 +0100)]
added colors to service statuses in keactrl
Marcin Siodelski [Tue, 14 May 2019 09:02:56 +0000 (11:02 +0200)]
[#599,!320] Added ChangeLog entry for #599.
Marcin Siodelski [Tue, 14 May 2019 07:41:13 +0000 (09:41 +0200)]
[#599,!320] Protect against null ptr dereferencing in HTTP log messages.
As a result of review.
Marcin Siodelski [Tue, 14 May 2019 07:22:49 +0000 (09:22 +0200)]
[#599,!320] Added another variant of the premature timeout test.
Marcin Siodelski [Tue, 14 May 2019 06:34:29 +0000 (08:34 +0200)]
[#599,!320] Introduce transaction id into the HTTP client.
Marcin Siodelski [Mon, 13 May 2019 15:21:23 +0000 (17:21 +0200)]
[#599,!320] Added log message when premature http timeout occurred.
Marcin Siodelski [Mon, 13 May 2019 14:52:21 +0000 (16:52 +0200)]
[#599,!320] Implemented unit test for premature timeout.
Marcin Siodelski [Mon, 13 May 2019 14:44:01 +0000 (16:44 +0200)]
[#599,!320] Fixed Kea HTTP client crash as a result of premature timeout
Francis Dupont [Fri, 10 May 2019 11:25:37 +0000 (13:25 +0200)]
[master] Added a ChangeLog entry for disabling client-id perf
Francis Dupont [Thu, 9 May 2019 12:55:27 +0000 (14:55 +0200)]
[509-improve-disabling-client-id] [509-improve-disabling-client-id-] Change subnetsAllHRGlobal type
Marcin Siodelski [Thu, 9 May 2019 11:20:57 +0000 (13:20 +0200)]
[509-improve-disabling-client-id] [509-improve-disabling-client-id-] Fixed typo.
Francis Dupont [Wed, 1 May 2019 13:36:52 +0000 (15:36 +0200)]
[509-improve-disabling-client-id] [509-improve-disabling-client-id-] Factored subnetsIncludeMatchClientId and subnetsAllHRGlobal
Francis Dupont [Fri, 22 Mar 2019 17:11:49 +0000 (18:11 +0100)]
[509-improve-disabling-client-id] [509-improve-disabling-client-id-] typo
Francis Dupont [Sun, 10 Mar 2019 14:42:54 +0000 (15:42 +0100)]
[509-improve-disabling-client-id] [509-improve-disabling-client-id-] Improved client-id lookup by code
Francis Dupont [Tue, 30 Apr 2019 16:11:58 +0000 (18:11 +0200)]
[587-radius-host-cache-do-not-work] Re-add host cache in createManagers which is called after hook loads
Thomas Markwalder [Thu, 2 May 2019 17:37:21 +0000 (13:37 -0400)]
[#591,!313] Updated ChangeLog
Thomas Markwalder [Thu, 2 May 2019 17:33:03 +0000 (13:33 -0400)]
[#591,!#313] Addressed review comments
Thomas Markwalder [Wed, 1 May 2019 18:05:55 +0000 (14:05 -0400)]
[#591,!#313] kea-dhcp6 skips sanity checks for prefix leases
src/lib/dhcpsrv/sanity_checker.*
SanityChecker::checkLease(Lease6Ptr& lease, bool current) - now
simply returns if lease type is TYPE_PD.
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, sanityChecker6PD) - new test to
verify PD leases are not sanity checked
ChangeLog - added proposed entry
Tomek Mrugalski [Mon, 29 Apr 2019 13:39:08 +0000 (15:39 +0200)]
[#360,!305] ChangeLog updated.
Marcin Siodelski [Tue, 16 Apr 2019 19:57:29 +0000 (21:57 +0200)]
[#360,!305] Host header is included in all HA exchanges.
Marcin Siodelski [Tue, 16 Apr 2019 19:57:07 +0000 (21:57 +0200)]
[#360,!305] Host header is included for all request types.
Marcin Siodelski [Tue, 16 Apr 2019 17:09:42 +0000 (19:09 +0200)]
[#360,!305] Host header is added before other headers in the HTTP request.
Marcin Siodelski [Tue, 16 Apr 2019 16:53:47 +0000 (18:53 +0200)]
[#360,!305] Refactoring HTTP request unit test.
Marcin Siodelski [Tue, 16 Apr 2019 16:48:46 +0000 (18:48 +0200)]
[#360,!305] Added descriptions of unit tests for HTTP request.
Marcin Siodelski [Tue, 16 Apr 2019 16:33:50 +0000 (18:33 +0200)]
[#360,!305] Always include Host header in the HTTP requests.
Thomas Markwalder [Fri, 26 Apr 2019 15:24:19 +0000 (11:24 -0400)]
[#365] Updated ChangeLog
Tomek Mrugalski [Fri, 26 Apr 2019 12:58:48 +0000 (14:58 +0200)]
[#365,!296] Added 2 paragraphs about renewals
Thomas Markwalder [Thu, 25 Apr 2019 18:19:26 +0000 (14:19 -0400)]
[#365,!296] Relaxed sanity checks
T2 may now be specified as any value >= 0, T1 must be less than T2.
This allows both values to exceed the valid life time.
Thomas Markwalder [Wed, 24 Apr 2019 18:41:25 +0000 (14:41 -0400)]
[#365,!296] Changed to use preferred lease time
doc/guide/dhcp6-srv.xml
Updated to reflect the use to preferred life time vs valid life time
src/bin/dhcp6/dhcp6_srv.*
Updated to use preferred lease time for tee time calculation
Dhcpv6Srv::setTeeTimes() - updated to allow values to less than or
equal, rathe than the just less than
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
src/bin/dhcp6/tests/hooks_unittest.cc
src/bin/dhcp6/tests/tee_times_unittest.cc
updated unit tests accordingly
Thomas Markwalder [Tue, 23 Apr 2019 15:49:08 +0000 (11:49 -0400)]
[#365,!296] Addressed review comments.
Thomas Markwalder [Tue, 9 Apr 2019 15:11:09 +0000 (11:11 -0400)]
[#365,!296] Regenned parsers, added ChangeLog and doc
ChangeLog - added proposed entry
doc/guide/dhcp6-srv.xml
added section describing calculate-tee-times, t1-percent, t2-percent
src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/dhcp6_parser.yy
Added missing parameter declares and regenned parsers
src/bin/dhcp6/tests/config_parser_unittest.cc
Updated expected timer values
src/bin/dhcp6/tests/get_config_unittest.cc
Updated generated tests
/src/bin/dhcp6/tests/simple_parser6_unittest.cc
TEST_F(SimpleParser6Test, globalDefaults6) - updated test
Thomas Markwalder [Fri, 5 Apr 2019 06:04:23 +0000 (02:04 -0400)]
[#365,!296] Added kea-dhcp6 parsing support for calculate-tee-time and percents
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
added support for calculate-tee-times, t1-percent and t2-percent
src/bin/dhcp6/tests/tee_times_unittest.cc
- new file with tests for t1/t2 determination
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
Subnet6ConfigParser::initSubnet() - added invocation
of parseTeePercents()
src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
updated tests
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
TEST(CfgSubnets6Test, teeTimePercentValidation) - new test
Thomas Markwalder [Thu, 4 Apr 2019 14:38:42 +0000 (10:38 -0400)]
[#365,!296] kea-dhcp6 calculates tee times
Server calcultates T1 & T2 when enabled. Does not
include parser support for calculate-tee-times,
t1-percent, or t2-percent
src/bin/dhcp6/dhcp6_srv.*
Dhcpv6Srv::setTeeTimes() - new method to
calcualte T1 and T2
Dhcpv6Srv::assignIA_NA()
Dhcpv6Srv::extendIA_NA()
Dhcpv6Srv::assignIA_PD()
Dhcpv6Srv::extendIA_NA() - modified to call setTeeTimes()
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
TEST_F(Dhcpv6SrvTest, calculateTeeTimers) - new test
src/bin/dhcp6/tests/hooks_unittest.cc
Removed overriding of Lease::t1_ and t2_ from tests
Marcin Siodelski [Fri, 26 Apr 2019 14:17:44 +0000 (16:17 +0200)]
[#579,!309] Added ChangeLog for #579.
Marcin Siodelski [Thu, 25 Apr 2019 17:08:26 +0000 (19:08 +0200)]
[#579] MySQL CB returns server tag for each returned config element.
Marcin Siodelski [Tue, 23 Apr 2019 14:13:13 +0000 (16:13 +0200)]
[#580,!308] Updated shared networks handling in test DHCP config backends.
Razvan Becheriu [Fri, 19 Apr 2019 15:44:20 +0000 (18:44 +0300)]
updated ChangeLog
Tomek Mrugalski [Fri, 19 Apr 2019 10:22:40 +0000 (12:22 +0200)]
[#494, !273] Unit-test written for authoritative flag.
Tomek Mrugalski [Fri, 19 Apr 2019 09:38:43 +0000 (11:38 +0200)]
[#494, !273] Removed old code after rebase.
Francis Dupont [Sun, 10 Mar 2019 23:13:47 +0000 (00:13 +0100)]
[494-dhcp4configparser-sharednetworkssanitychecks-is-buggy] Fixed sharedNetworksSanityChecks
Tomek Mrugalski [Fri, 19 Apr 2019 10:47:44 +0000 (12:47 +0200)]
[#465,!265] ChangeLog updated.
Francis Dupont [Wed, 17 Apr 2019 10:38:14 +0000 (12:38 +0200)]
[465-add-subnet4-update-and-subnet6-update-commands-to-subnet-cmds-hook] Addressed comments
Tomek Mrugalski [Tue, 16 Apr 2019 17:30:15 +0000 (19:30 +0200)]
[#465,!265] Messages regenerated
Tomek Mrugalski [Tue, 16 Apr 2019 17:29:20 +0000 (19:29 +0200)]
[#465,!265] Compilation fixes after rebase.
Francis Dupont [Fri, 8 Mar 2019 22:21:39 +0000 (23:21 +0100)]
[465-add-subnet4-update-and-subnet6-update-commands-to-subnet-cmds-hook] Added missing tests and updated doc
Francis Dupont [Fri, 8 Mar 2019 04:12:59 +0000 (05:12 +0100)]
[465-add-subnet4-update-and-subnet6-update-commands-to-subnet-cmds-hook] Added cfg_subnet replace -- unit test to do
Francis Dupont [Fri, 8 Mar 2019 01:29:29 +0000 (02:29 +0100)]
[465-add-subnet4-update-and-subnet6-update-commands-to-subnet-cmds-hook] Added replace unit tests
Francis Dupont [Thu, 7 Mar 2019 15:08:28 +0000 (16:08 +0100)]
[465-add-subnet4-update-and-subnet6-update-commands-to-subnet-cmds-hook] Added shared network replace(subnet) -- unit test to do
Razvan Becheriu [Fri, 19 Apr 2019 10:37:18 +0000 (13:37 +0300)]
updated ChangeLog
Razvan Becheriu [Wed, 17 Apr 2019 13:29:26 +0000 (16:29 +0300)]
force destroy schema
Razvan Becheriu [Mon, 8 Apr 2019 07:00:22 +0000 (10:00 +0300)]
minor changes
Razvan Becheriu [Thu, 28 Mar 2019 13:21:21 +0000 (15:21 +0200)]
minor changes
Razvan Becheriu [Thu, 28 Mar 2019 10:28:27 +0000 (12:28 +0200)]
minor changes
Razvan Becheriu [Tue, 12 Mar 2019 20:14:04 +0000 (22:14 +0200)]
fixed typo
Razvan Becheriu [Tue, 12 Mar 2019 15:05:31 +0000 (17:05 +0200)]
reverted bad push
Razvan Becheriu [Tue, 12 Mar 2019 14:30:50 +0000 (16:30 +0200)]
implemented getPage4 and getPage6 using getAll4 and getAll6, sorting and filtering
Razvan Becheriu [Tue, 12 Mar 2019 13:06:36 +0000 (15:06 +0200)]
force enable gtest with benchmarks
Razvan Becheriu [Tue, 12 Mar 2019 13:05:53 +0000 (15:05 +0200)]
updated copyright years
Razvan Becheriu [Tue, 12 Mar 2019 11:20:38 +0000 (13:20 +0200)]
removed updateHost benchmark
Razvan Becheriu [Tue, 12 Mar 2019 09:48:20 +0000 (11:48 +0200)]
replace tabs with spaces
Francis Dupont [Tue, 12 Mar 2019 08:59:06 +0000 (09:59 +0100)]
[520-fix_benchmarks] Updated configure.ac and benchmarks Makefile.am
Razvan Becheriu [Tue, 12 Mar 2019 06:50:08 +0000 (08:50 +0200)]
external libraries at the end
Razvan Becheriu [Tue, 12 Mar 2019 05:45:54 +0000 (07:45 +0200)]
fixed crash
Razvan Becheriu [Mon, 11 Mar 2019 19:41:12 +0000 (21:41 +0200)]
fixed compilation
Razvan Becheriu [Mon, 11 Mar 2019 18:07:52 +0000 (20:07 +0200)]
replace \n with std::endl
Razvan Becheriu [Mon, 11 Mar 2019 16:22:27 +0000 (18:22 +0200)]
changes after review
Razvan Becheriu [Tue, 5 Mar 2019 16:06:52 +0000 (18:06 +0200)]
fixed benchmarks
Marcin Siodelski [Thu, 18 Apr 2019 19:04:26 +0000 (21:04 +0200)]
[#571,!306] Added ChangeLog entry for #571.
Marcin Siodelski [Thu, 18 Apr 2019 18:37:38 +0000 (20:37 +0200)]
[#571,!306] Addressed review comments.
Marcin Siodelski [Thu, 18 Apr 2019 16:43:18 +0000 (18:43 +0200)]
[#571,!306] MySQL v6 CB uses factory functions to allocate objects.
This prevents segfaults during the server shutdown due to unavailable
hook library heap.
Marcin Siodelski [Wed, 17 Apr 2019 17:13:24 +0000 (19:13 +0200)]
[#571,!306] Modified MySQL CB to use factory functions to allocate objects.
Marcin Siodelski [Wed, 17 Apr 2019 12:56:47 +0000 (14:56 +0200)]
[#571,!306] Added factory functions to objects used in MySQL CB.
Thomas Markwalder [Thu, 18 Apr 2019 16:34:34 +0000 (12:34 -0400)]
[master] Remerge with 566
Merge branch 'master' of gitlab.isc.org:isc-projects/kea
Thomas Markwalder [Thu, 18 Apr 2019 14:53:47 +0000 (10:53 -0400)]
[#566,!304] Updated ChangeLog
Thomas Markwalder [Thu, 18 Apr 2019 13:53:35 +0000 (09:53 -0400)]
[#566,!304] Addressed review comments
Thomas Markwalder [Tue, 16 Apr 2019 19:42:08 +0000 (15:42 -0400)]
[#566,!304] kea-dhcp6 now removes objects deleted from config backend
src/lib/dhcpsrv/cb_ctl_dhcp6.cc
CBControlDHCPv6::databaseConfigApply() - revamped to
delete objects based on DELETE audit entries
src/lib/dhcpsrv/unittests
Renamed cb_ctl_dhcp_unittest.cc to cb_ctl_dhcp4_unittest.cc
cb_ctl_dhcp6_unittest.cc - new file
Added proposed ChangeLog
Francis Dupont [Thu, 18 Apr 2019 14:50:23 +0000 (16:50 +0200)]
[564-customer-request-relax-constraints-on-allowable-option-types-to-permit-option-type-0-and-255] Added ChangeLog entry
Francis Dupont [Wed, 17 Apr 2019 18:35:34 +0000 (20:35 +0200)]
[564-customer-request-relax-constraints-on-allowable-option-types-to-permit-option-type-0-and-255] Addressed comments
Francis Dupont [Thu, 11 Apr 2019 10:04:16 +0000 (12:04 +0200)]
[564-customer-request-relax-constraints-on-allowable-option-types-to-permit-option-type-0-and-255] Added tests including the ZTP one
Francis Dupont [Wed, 10 Apr 2019 22:38:55 +0000 (00:38 +0200)]
[564-customer-request-relax-constraints-on-allowable-option-types-to-permit-option-type-0-and-255] Moved checks to parsers - still some new tests to add
Francis Dupont [Wed, 10 Apr 2019 21:05:24 +0000 (23:05 +0200)]
[564-customer-request-relax-constraints-on-allowable-option-types-to-permit-option-type-0-and-255] Removed the 1..254 check and added tests
Francis Dupont [Wed, 10 Apr 2019 19:29:59 +0000 (21:29 +0200)]
[564-customer-request-relax-constraints-on-allowable-option-types-to-permit-option-type-0-and-255] checkpoint
Francis Dupont [Thu, 18 Apr 2019 13:57:30 +0000 (15:57 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Added ChangeLog entry
Francis Dupont [Thu, 18 Apr 2019 13:51:53 +0000 (15:51 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Use greater option code points
Marcin Siodelski [Tue, 16 Apr 2019 12:12:46 +0000 (14:12 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] More indentation corrections.
Marcin Siodelski [Tue, 16 Apr 2019 12:07:00 +0000 (14:07 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Correct indentation.
Marcin Siodelski [Tue, 16 Apr 2019 12:04:42 +0000 (14:04 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Corrected argument description.
Marcin Siodelski [Tue, 16 Apr 2019 11:32:40 +0000 (13:32 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Further updates in header docs.
Marcin Siodelski [Tue, 16 Apr 2019 11:28:27 +0000 (13:28 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] pd pool becomes prefix delegation pool
Francis Dupont [Sat, 13 Apr 2019 16:11:59 +0000 (18:11 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Shared body of createUpdateOptionDef[46]
Francis Dupont [Fri, 12 Apr 2019 13:32:45 +0000 (15:32 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Checkpoint before code move
Francis Dupont [Thu, 11 Apr 2019 17:21:09 +0000 (19:21 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] checkpoint before rebase
Francis Dupont [Sun, 31 Mar 2019 10:50:52 +0000 (12:50 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Finished unit tests
Francis Dupont [Sun, 31 Mar 2019 10:39:59 +0000 (12:39 +0200)]
[397-cb-implement-mysqlconfigbackenddhcpv6] Checkpoint: still getSharedNetwork4WithOptionalUnspecified to port