]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Tue, 15 Sep 2020 18:39:56 +0000 (20:39 +0200)]
[#1333] Added comment
Francis Dupont [Wed, 22 Jul 2020 16:11:43 +0000 (18:11 +0200)]
[#1333] Added match expr check
Francis Dupont [Wed, 2 Sep 2020 14:55:33 +0000 (16:55 +0200)]
[#1271] Updated manual files
Francis Dupont [Wed, 2 Sep 2020 14:19:26 +0000 (16:19 +0200)]
[#1271] Removed obsolete .rst files
Tomek Mrugalski [Thu, 17 Sep 2020 13:13:50 +0000 (15:13 +0200)]
[#1240] Minor typo fixed
Francis Dupont [Wed, 16 Sep 2020 13:06:20 +0000 (15:06 +0200)]
[#1240] Fixed template/README
Francis Dupont [Mon, 31 Aug 2020 15:06:48 +0000 (17:06 +0200)]
[#1240] Rebased/updated 1240 patch
Marcin Siodelski [Wed, 16 Sep 2020 14:01:10 +0000 (16:01 +0200)]
[#1415] Added todo for MT in new classes
FreeLeaseQueue and IPRangePermutation.
Marcin Siodelski [Wed, 16 Sep 2020 12:36:33 +0000 (14:36 +0200)]
[#1415] Extended FreeLeaseQueue description
Explained differences between next() and pop().
Marcin Siodelski [Wed, 16 Sep 2020 12:11:10 +0000 (14:11 +0200)]
[#1415] Check done flag for permutation
As suggested in the review comment, the unit test is now checking if the
done flag returned by the IP range permutation is set to false when the
permutation is not done returning addresses.
Marcin Siodelski [Wed, 16 Sep 2020 11:20:01 +0000 (13:20 +0200)]
[#1415] Fixed typos in pool.h
Marcin Siodelski [Wed, 16 Sep 2020 11:18:20 +0000 (13:18 +0200)]
[#1415] Fixed typo in ip_range_permutation
Per review comments.
Marcin Siodelski [Wed, 16 Sep 2020 11:13:07 +0000 (13:13 +0200)]
[#1415] Improve AddressRange and PrefixRange
Switch order of tests in AddressRange and added a comment. Changes
suggested in review.
Marcin Siodelski [Wed, 16 Sep 2020 11:03:38 +0000 (13:03 +0200)]
[#1415] Use "queue" rather than "container"
The descriptions in FreeLeaseQueue refer to the data structures as queue
rather than container. This was suggested in the review.
Marcin Siodelski [Wed, 16 Sep 2020 10:48:38 +0000 (12:48 +0200)]
[#1415] Grammatical errors in FreeLeaseQueue
Per review comments.
Marcin Siodelski [Wed, 16 Sep 2020 10:45:06 +0000 (12:45 +0200)]
[#1415] Renames in FreeLeaseQueue per review
Renamed:
- Container to Leases,
- ContainerDescriptor to RangeDescriptor
- Containers to Ranges
Marcin Siodelski [Wed, 16 Sep 2020 10:26:34 +0000 (12:26 +0200)]
[#1415] Improved offsetAddres
According to the review comments, the conversion of the offset to a vector
was simplified. In addition, when the offset address exceeds the maximum
value for IPv4 address the max value is returned.
Marcin Siodelski [Tue, 15 Sep 2020 16:17:15 +0000 (18:17 +0200)]
[#1415] Initialize bools in tests
To prevent warnings spit out by gcc.
Marcin Siodelski [Tue, 15 Sep 2020 15:56:44 +0000 (17:56 +0200)]
[#1415] Do not use nested types
Removed Range and PrefixRange typedefs from FreeLeaseQueue and
IPRangePermutation. This prevents compilation failures with g++.
Marcin Siodelski [Tue, 15 Sep 2020 09:56:34 +0000 (11:56 +0200)]
[#1415] Permutation of delegated prefixes
Extended IPRangePermutation to shuffle delegated prefixes.
Marcin Siodelski [Mon, 14 Sep 2020 19:43:12 +0000 (21:43 +0200)]
[#1415] Renamed address_ to ip_range_permutation
Marcin Siodelski [Mon, 14 Sep 2020 17:51:19 +0000 (19:51 +0200)]
[#1415] Moved address_range.h to ip_range.h
Marcin Siodelski [Mon, 14 Sep 2020 17:46:06 +0000 (19:46 +0200)]
[#1415] Support for PD in free lease container
Marcin Siodelski [Fri, 11 Sep 2020 17:31:17 +0000 (19:31 +0200)]
[#1415] Added permutation ptr to the pool
Marcin Siodelski [Fri, 11 Sep 2020 15:05:38 +0000 (17:05 +0200)]
[#1415] Implmented address range permutation
Marcin Siodelski [Fri, 11 Sep 2020 10:45:17 +0000 (12:45 +0200)]
[#1415] Added utility to find offset address
Marcin Siodelski [Thu, 10 Sep 2020 14:35:12 +0000 (16:35 +0200)]
[#1415] Moved address range to common place
Marcin Siodelski [Thu, 10 Sep 2020 11:06:05 +0000 (13:06 +0200)]
[#1415] Added free lease queue impl
Added implementation of the queue holding free leases.
Francis Dupont [Wed, 22 Jul 2020 15:35:01 +0000 (17:35 +0200)]
[#1333] Restored empty check
Francis Dupont [Wed, 22 Jul 2020 15:30:59 +0000 (17:30 +0200)]
[#1333] Updated inheritance tests
Francis Dupont [Wed, 22 Jul 2020 15:12:53 +0000 (17:12 +0200)]
[#1333] Checkpoint: code done - unit tests to update
Francis Dupont [Mon, 14 Sep 2020 13:32:51 +0000 (15:32 +0200)]
[#1304] Added ChangeLog entry
Francis Dupont [Mon, 14 Sep 2020 12:19:55 +0000 (14:19 +0200)]
[#1304] Addressed comments
Francis Dupont [Sun, 13 Sep 2020 20:33:30 +0000 (22:33 +0200)]
[#1304] Updated shell tests
Francis Dupont [Sun, 13 Sep 2020 20:21:03 +0000 (20:21 +0000)]
[#1304] regen files
Francis Dupont [Sun, 13 Sep 2020 20:21:33 +0000 (22:21 +0200)]
[#1304] Checkpoint before regen (3)
Francis Dupont [Sun, 13 Sep 2020 20:05:04 +0000 (20:05 +0000)]
[#1304] regen files
Francis Dupont [Sun, 13 Sep 2020 20:05:30 +0000 (22:05 +0200)]
[#1304] Checkpoint before regen (2)
Francis Dupont [Sun, 13 Sep 2020 20:03:07 +0000 (20:03 +0000)]
[#1304] regen files
Francis Dupont [Sun, 13 Sep 2020 20:03:20 +0000 (22:03 +0200)]
[#1304] Checkpoint before regen
Francis Dupont [Sat, 12 Sep 2020 16:17:16 +0000 (16:17 +0000)]
[#1304] regen files
Francis Dupont [Sat, 12 Sep 2020 16:17:19 +0000 (18:17 +0200)]
[#1304] Checkpoint before regen (2)
Francis Dupont [Sat, 12 Sep 2020 16:14:44 +0000 (18:14 +0200)]
[#1304] Checkpoint before regen
Francis Dupont [Sat, 12 Sep 2020 15:36:44 +0000 (17:36 +0200)]
[#1304] Addressed comments (but not for syntax)
Francis Dupont [Sat, 12 Sep 2020 08:52:33 +0000 (08:52 +0000)]
[#1304] regen bison
Francis Dupont [Tue, 28 Jul 2020 14:26:42 +0000 (16:26 +0200)]
[#1304] Prepared server callout
Francis Dupont [Tue, 28 Jul 2020 13:17:07 +0000 (15:17 +0200)]
[#1304] Regen http message files
Francis Dupont [Tue, 28 Jul 2020 13:02:20 +0000 (15:02 +0200)]
[#1304] Addressed comments
Francis Dupont [Tue, 14 Jul 2020 18:30:23 +0000 (20:30 +0200)]
[#1304] Updated .gitignore
Francis Dupont [Tue, 14 Jul 2020 11:04:12 +0000 (13:04 +0200)]
[#1304] Finished HA service tests
Francis Dupont [Mon, 13 Jul 2020 12:57:17 +0000 (14:57 +0200)]
[#1304] Checkpoint: HA/CA tests to add
Francis Dupont [Mon, 13 Jul 2020 08:58:42 +0000 (10:58 +0200)]
[#1304] Updated shell tests
Francis Dupont [Mon, 13 Jul 2020 08:14:25 +0000 (10:14 +0200)]
[#1304] Updated CA doc
Francis Dupont [Mon, 13 Jul 2020 07:31:02 +0000 (09:31 +0200)]
[#1304] Added CA test
Francis Dupont [Sun, 12 Jul 2020 15:32:39 +0000 (17:32 +0200)]
[#1304] Checkpoint: CA to finish
Francis Dupont [Sun, 12 Jul 2020 12:58:32 +0000 (14:58 +0200)]
[#1304] Added config/parse
Francis Dupont [Sun, 12 Jul 2020 08:20:35 +0000 (08:20 +0000)]
[#1304] Regen flex and bison
Francis Dupont [Sun, 12 Jul 2020 08:17:35 +0000 (10:17 +0200)]
[#1304] Updated CA syntax
Francis Dupont [Sun, 12 Jul 2020 07:38:09 +0000 (09:38 +0200)]
[#1304] Updated http response creator
Francis Dupont [Sat, 11 Jul 2020 19:50:06 +0000 (21:50 +0200)]
[#1304] Updated http client
Francis Dupont [Sat, 11 Jul 2020 17:18:40 +0000 (19:18 +0200)]
[#1304] Cosmetics
Francis Dupont [Sat, 11 Jul 2020 16:42:06 +0000 (18:42 +0200)]
[#1304] Fixed unicode handling
Francis Dupont [Fri, 10 Jul 2020 23:15:06 +0000 (01:15 +0200)]
[#1304] Checkpoint: updated shell + http basic_auth
Francis Dupont [Fri, 10 Jul 2020 21:05:16 +0000 (23:05 +0200)]
[#1304] Added latin1 -> UTF-8 encoder
Francis Dupont [Wed, 9 Sep 2020 13:39:04 +0000 (15:39 +0200)]
[#828] Fixed shellcheck
Francis Dupont [Wed, 9 Sep 2020 13:20:04 +0000 (15:20 +0200)]
[#828] Added negative db-version tests
Francis Dupont [Wed, 9 Sep 2020 12:59:48 +0000 (14:59 +0200)]
[#828] Moved checked_*sql_version
Francis Dupont [Sun, 6 Sep 2020 12:20:49 +0000 (14:20 +0200)]
[#828] Added checked_*sql_version functions
Francis Dupont [Sun, 6 Sep 2020 11:51:46 +0000 (13:51 +0200)]
[#828] Removed double spaces
Francis Dupont [Sun, 6 Sep 2020 09:15:17 +0000 (11:15 +0200)]
[#828] Fixed SC2086
Thomas Markwalder [Wed, 9 Sep 2020 15:56:56 +0000 (11:56 -0400)]
[#1409] Addressed review comments
Thomas Markwalder [Tue, 8 Sep 2020 19:17:34 +0000 (15:17 -0400)]
[#1409] Added ChangeLog entry
Thomas Markwalder [Tue, 8 Sep 2020 19:10:10 +0000 (15:10 -0400)]
[#1409] Clear DNS fields when reusing expired v4 leases
Clearing DNS fields after we do the remove ensures that we'll
do an add if the client is needs new DNS entries , while avoiding
duplicate DNS removes.
src/bin/dhcp4/tests/dhcp4_client.cc
Dhcp4Client::includeHostname() - reset hostname if given an empty parameter
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, processReuseExpired) - new test
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::reclaimExpiredLease(Lease4Ptr...) - always clear the DNS fields after
the call to queue and CHG_REMOVE
AllocEngine::allocateOrReuseLease4() - clear DNS fields in the old lease
so we don't trigger redundant removes
Thomas Markwalder [Fri, 4 Sep 2020 19:39:19 +0000 (15:39 -0400)]
Revert "[#1409] Correct DNS handling when reusing expired leases"
These changes overlook the fact that if a lease has expired, then
it's DNS entries have also expired and may or may not still be
in DNS. In any event, they need to be made anew.
Thomas Markwalder [Fri, 4 Sep 2020 17:42:23 +0000 (13:42 -0400)]
[#1409] Correct DNS handling when reusing expired leases
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::createNameChangeRequests() - added logic to queue
CHG_REMOVES for changed leases when new lease has no FQDN
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::allocateUnreservedLeases6() - return the old lease
as a changed lease, when reusing an expired lease
AllocEngine::reclaimExpiredLease() - moved queue CHG_REMOVE to
only occur when the DB is flagged for change.
AllocEngine::reclaimLeaseInDatabase() - removed logic to
clear lease FQDN data
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
TEST_F(AllocEngine6Test, requestReuseExpiredLease6) - verifies
changed_leases instead of old_leases
Francis Dupont [Mon, 31 Aug 2020 15:41:50 +0000 (17:41 +0200)]
[#1388] Removed a few EXPECT_EQ with boolean
Francis Dupont [Mon, 7 Sep 2020 15:28:29 +0000 (17:28 +0200)]
[#1357] Improved forceUDPSendFailure UTs
Francis Dupont [Wed, 2 Sep 2020 15:33:09 +0000 (15:33 +0000)]
[1197] regen bison
Francis Dupont [Wed, 2 Sep 2020 15:19:52 +0000 (17:19 +0200)]
[#1197] Updated dep_qualifying_suffix
Razvan Becheriu [Fri, 28 Aug 2020 11:34:03 +0000 (14:34 +0300)]
[#1333] rebased and fixed comments
Francis Dupont [Wed, 22 Jul 2020 14:48:31 +0000 (16:48 +0200)]
[#1333] Removed useless getLease calls in createLeaseX
Wlodek Wencel [Wed, 26 Aug 2020 15:48:35 +0000 (17:48 +0200)]
[#1404] version bumped up to 1.9.0
Wlodek Wencel [Mon, 24 Aug 2020 08:54:36 +0000 (10:54 +0200)]
[1396] pre 1.8.0 release changes
Wlodek Wencel [Mon, 24 Aug 2020 07:55:55 +0000 (09:55 +0200)]
[1397] out of subnet reservations removed from default config
Razvan Becheriu [Fri, 21 Aug 2020 20:58:16 +0000 (23:58 +0300)]
[#1395] add ChangeLog
Razvan Becheriu [Fri, 21 Aug 2020 20:33:16 +0000 (23:33 +0300)]
[#1395] bump up lib versions for 1.8.0
Francis Dupont [Fri, 21 Aug 2020 13:19:53 +0000 (15:19 +0200)]
[#1394] Moved to 1.8.0
Marcin Siodelski [Fri, 21 Aug 2020 12:45:25 +0000 (14:45 +0200)]
[#1390] Minor fix in ChangeLog entry
Marcin Siodelski [Fri, 21 Aug 2020 12:44:51 +0000 (14:44 +0200)]
[#1390] Removed spurious reference
Per review comments.
Marcin Siodelski [Thu, 20 Aug 2020 11:29:58 +0000 (13:29 +0200)]
[#1390] Added ChangeLog entry for #1390
Marcin Siodelski [Thu, 20 Aug 2020 11:23:22 +0000 (13:23 +0200)]
[#1390] Http connection closed on timeout
When the client gets the timeout trying to communicate with the server it
now closes connection and re-establishes it when next request is to be
sent.
Razvan Becheriu [Thu, 20 Aug 2020 19:51:32 +0000 (22:51 +0300)]
[#1393] added missing files from .gitignore
Razvan Becheriu [Thu, 20 Aug 2020 19:22:43 +0000 (22:22 +0300)]
[#1393] added missing files from .gitignore
Razvan Becheriu [Thu, 20 Aug 2020 20:28:47 +0000 (23:28 +0300)]
[#505] added missing test
Razvan Becheriu [Thu, 20 Aug 2020 20:11:03 +0000 (23:11 +0300)]
[#505] addressed review
Razvan Becheriu [Thu, 20 Aug 2020 20:07:52 +0000 (23:07 +0300)]
[#505] addressed review
Razvan Becheriu [Thu, 20 Aug 2020 20:03:07 +0000 (23:03 +0300)]
[#505] addressed review
Razvan Becheriu [Thu, 20 Aug 2020 19:40:28 +0000 (22:40 +0300)]
[#505] add ChangeLog
Razvan Becheriu [Thu, 20 Aug 2020 18:42:20 +0000 (21:42 +0300)]
[#505] addressed review
Razvan Becheriu [Tue, 18 Aug 2020 12:52:46 +0000 (15:52 +0300)]
[#505] add check for T1 and T2 at subnet and network level