]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Mon, 9 Oct 2017 12:18:56 +0000 (14:18 +0200)]
[5364] Docs updated
Tomek Mrugalski [Mon, 9 Oct 2017 12:13:54 +0000 (14:13 +0200)]
[5364] The same value of rapid-commit is now enforced on all subnets
Tomek Mrugalski [Sat, 7 Oct 2017 14:57:38 +0000 (16:57 +0200)]
[5364] Configs commented, simplified, test for rapid-commit added
Marcin Siodelski [Thu, 5 Oct 2017 09:17:28 +0000 (11:17 +0200)]
[5364] Avoid null pointer dereference when there is no subnet.
Marcin Siodelski [Tue, 3 Oct 2017 18:27:33 +0000 (20:27 +0200)]
[5364] Removed unused structures in shared network tests.
Marcin Siodelski [Tue, 3 Oct 2017 18:00:52 +0000 (20:00 +0200)]
[5364] Added log messages to the DHCP servers about dynamic subnet change.
Marcin Siodelski [Tue, 3 Oct 2017 17:07:50 +0000 (19:07 +0200)]
[5364] Corrected issues with lease stats gathering in Memfile backend.
The backend now iteraters over the leases using the subnet id as a key
index to group all subnets together.
Marcin Siodelski [Tue, 3 Oct 2017 13:13:39 +0000 (15:13 +0200)]
[5364] Verify that subnet id in lease is valid.
Marcin Siodelski [Tue, 3 Oct 2017 10:26:11 +0000 (12:26 +0200)]
[5364] Verify that the subnet id is not messed up in the database.
Marcin Siodelski [Tue, 3 Oct 2017 10:15:32 +0000 (12:15 +0200)]
[5364] Simplified statistics verification in DHCPv4 shared network tests.
Marcin Siodelski [Tue, 3 Oct 2017 10:00:35 +0000 (12:00 +0200)]
[5364] Implemented stats verification tests in DHCPv6 shared networks.
Marcin Siodelski [Mon, 2 Oct 2017 19:11:01 +0000 (21:11 +0200)]
[5364] Extended v4 shared networks tests with checks for statistics.
Marcin Siodelski [Fri, 29 Sep 2017 14:44:02 +0000 (16:44 +0200)]
[5364] Implemented unit tests for shared network selection by iface id.
Marcin Siodelski [Thu, 28 Sep 2017 17:50:02 +0000 (19:50 +0200)]
[5364] Shared network unit tests verify that lease is in the database.
Marcin Siodelski [Thu, 28 Sep 2017 13:41:25 +0000 (15:41 +0200)]
[5364] Unit tests for shared networks now verify leases on the server.
Wlodek Wencel [Tue, 26 Sep 2017 22:47:05 +0000 (00:47 +0200)]
[master] typos, dates, *.mes files updates before release
Francis Dupont [Tue, 26 Sep 2017 09:19:00 +0000 (11:19 +0200)]
[master] Tentative merge fix (2)
Francis Dupont [Tue, 26 Sep 2017 08:45:11 +0000 (10:45 +0200)]
[master] Tentative merge fix
Francis Dupont [Mon, 25 Sep 2017 23:48:57 +0000 (23:48 +0000)]
[master] regen flex/bison
Francis Dupont [Mon, 25 Sep 2017 23:47:14 +0000 (01:47 +0200)]
[master] Finished merge of trac5073a (option 43)
Francis Dupont [Mon, 25 Sep 2017 23:43:11 +0000 (01:43 +0200)]
[master] Merged trac5073a (option 43)
Francis Dupont [Mon, 25 Sep 2017 18:12:33 +0000 (20:12 +0200)]
[5073a] Attempt to resolve last review comments
Marcin Siodelski [Mon, 25 Sep 2017 15:30:16 +0000 (17:30 +0200)]
[5073a] Fixed some typos as a result of a review.
Thomas Markwalder [Mon, 25 Sep 2017 15:26:36 +0000 (11:26 -0400)]
[master] Added ChangeLog entry 1303 for 5332.
Thomas Markwalder [Mon, 25 Sep 2017 15:20:44 +0000 (11:20 -0400)]
[master] lease_cmds hook lib handlers are now implmeneted as hook callouts
Merges branch 'trac5332'
Marcin Siodelski [Mon, 25 Sep 2017 13:53:10 +0000 (15:53 +0200)]
[5332] Generate doxygen documentation for lease_cmds hook.
Thomas Markwalder [Mon, 25 Sep 2017 13:30:15 +0000 (09:30 -0400)]
[master] Moved botan logic from configure.ac to m4macros
Merges in branch 'trac5358'
Francis Dupont [Mon, 25 Sep 2017 13:27:54 +0000 (15:27 +0200)]
[5073a] Addressed review comments
Marcin Siodelski [Mon, 25 Sep 2017 11:04:05 +0000 (13:04 +0200)]
[master] Added ChangeLog entry for #5307.
Marcin Siodelski [Mon, 25 Sep 2017 10:45:55 +0000 (12:45 +0200)]
[master] Merge branch 'trac5307'
Marcin Siodelski [Mon, 25 Sep 2017 10:44:45 +0000 (12:44 +0200)]
[5307] Addressed review comments.
- Increase total_attempts one by one.
- Add debug message to indicate skipping reservations in subnet
which classes do not match.
Thomas Markwalder [Sat, 23 Sep 2017 11:12:30 +0000 (07:12 -0400)]
[5358] Extraced crypto logic into a macro
Thomas Markwalder [Fri, 22 Sep 2017 18:35:12 +0000 (14:35 -0400)]
[5332] Removed unused messages and some cleanup
Tomek Mrugalski [Fri, 22 Sep 2017 17:49:58 +0000 (19:49 +0200)]
[5307] Minor tweaks in DHCPv6 tests, added couple @todos
Thomas Markwalder [Fri, 22 Sep 2017 17:14:50 +0000 (13:14 -0400)]
[5332] Created config::CmdsImpl base class
Extracted command helper functions into new base class, so
other hook libs may use it.
Tomek Mrugalski [Fri, 22 Sep 2017 16:38:46 +0000 (18:38 +0200)]
[5307] Minor tweaks in alloc_engine, couple tests added.
Thomas Markwalder [Fri, 22 Sep 2017 15:15:25 +0000 (11:15 -0400)]
[5332] Pass II on lease_cmds, refactored handlers to accept CalloutHandle
Refactored the LeaseCmd(Impl) handlers to accept CalloutHandle rather
than command name and arguments. This does two things:
1. Passes the context into the handlers, should we ever want to
pass additional information into or out of the handlers
2. Greatly reduces code clutter
Francis Dupont [Fri, 22 Sep 2017 12:18:46 +0000 (14:18 +0200)]
[master] Updated git hash
Francis Dupont [Fri, 22 Sep 2017 12:17:09 +0000 (14:17 +0200)]
[master] Finished merge of trac5227 (adding easy missing option defs) after pull
Francis Dupont [Fri, 22 Sep 2017 12:15:01 +0000 (14:15 +0200)]
[master] Finished merge of trac5227 (adding easy missing option defs)
Tomek Mrugalski [Fri, 22 Sep 2017 12:14:18 +0000 (14:14 +0200)]
[master] ChangeLog upated.
Tomek Mrugalski [Fri, 22 Sep 2017 12:13:00 +0000 (14:13 +0200)]
[master] Merge branch 'trac5310' (shared networks docs)
Francis Dupont [Fri, 22 Sep 2017 12:09:30 +0000 (14:09 +0200)]
[5073a] Added a failing raw value case for option 43
Marcin Siodelski [Fri, 22 Sep 2017 10:23:10 +0000 (12:23 +0200)]
[5310] Applied minor changes to Shared Networks sections in User's Guide.
As a result of review.
Francis Dupont [Fri, 22 Sep 2017 00:52:25 +0000 (02:52 +0200)]
[master] Fixed doxygen
Francis Dupont [Fri, 22 Sep 2017 00:45:57 +0000 (02:45 +0200)]
[master] Fixed doxygen
Francis Dupont [Thu, 21 Sep 2017 22:37:54 +0000 (00:37 +0200)]
[5227] Addressed review comments
Francis Dupont [Thu, 21 Sep 2017 22:02:35 +0000 (00:02 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 21 Sep 2017 22:01:37 +0000 (00:01 +0200)]
[master] Finished merge of trac5282 (client https)
Francis Dupont [Thu, 21 Sep 2017 21:59:04 +0000 (23:59 +0200)]
[master] Merging trac5282 (client https)
Francis Dupont [Thu, 21 Sep 2017 21:58:06 +0000 (23:58 +0200)]
[5282] Applied Thomas' proposed diff
Francis Dupont [Thu, 21 Sep 2017 21:50:48 +0000 (23:50 +0200)]
[5073a] Updated docs and made deferredUnpack more robust to hooks
Thomas Markwalder [Thu, 21 Sep 2017 20:34:15 +0000 (16:34 -0400)]
[5332] Revamped lease_cmds hook lib to use hook callouts for command processing
The changes were patterned after what was done in subnets_cmds hook lib.
src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
New file which provides callout functions for each lease command
as well as load() and unload() (formerly in load_unload.cc)
src/hooks/dhcp/lease_cmds/load_unload.cc
File deleted
src/hooks/dhcp/lease_cmds/Makefile.am
Added lease_cmds_callouts.cc
Removed load_unload.cc
src/hooks/dhcp/lease_cmds/lease_cmds.h
src/hooks/dhcp/lease_cmds/lease_cmds.cc
LeaseCmdsImpl - removed ctor, dtor, registerCommands, deregisterCommands,
and changed handlers to non static
LeaseCmds - added wrapper methods around LeaseCmdImpl handlers
Tomek Mrugalski [Thu, 21 Sep 2017 14:51:18 +0000 (16:51 +0200)]
[5310] Documentation for shared networks added.
Francis Dupont [Thu, 21 Sep 2017 13:44:43 +0000 (15:44 +0200)]
[5073a] Added DHCPv4 unit tests (still doc to update)
Marcin Siodelski [Thu, 21 Sep 2017 11:30:04 +0000 (13:30 +0200)]
[5307] Added test cases for prefix delegation.
Marcin Siodelski [Thu, 21 Sep 2017 07:39:19 +0000 (09:39 +0200)]
[5307] DHCPv6 server uses reserved client classes in shared network case.
Marcin Siodelski [Thu, 21 Sep 2017 06:58:36 +0000 (08:58 +0200)]
[5307] DHCPv6 server assigns shared network specific options.
Marcin Siodelski [Wed, 20 Sep 2017 16:27:55 +0000 (18:27 +0200)]
[5307] Assign reserved hostnames for shared networks.
Marcin Siodelski [Wed, 20 Sep 2017 07:40:34 +0000 (09:40 +0200)]
[5307] Created basic unit tests for shared networks in DHCPv6.
Marcin Siodelski [Tue, 12 Sep 2017 18:03:01 +0000 (20:03 +0200)]
[5307] Updated allocation engine to facilitate shared networks for v6.
Marcin Siodelski [Thu, 21 Sep 2017 08:57:03 +0000 (10:57 +0200)]
[master] Added ChangeLog for #5306.
Marcin Siodelski [Thu, 21 Sep 2017 07:54:10 +0000 (09:54 +0200)]
[master] Merge branch 'trac5306_rebase'
Francis Dupont [Thu, 21 Sep 2017 07:22:54 +0000 (09:22 +0200)]
[5073a] Added library unit tests
Francis Dupont [Wed, 20 Sep 2017 20:48:58 +0000 (22:48 +0200)]
[5073a] Main code finished
Francis Dupont [Wed, 20 Sep 2017 19:33:52 +0000 (21:33 +0200)]
[5073a] Code almost finished (still need tests and doc)
Francis Dupont [Wed, 20 Sep 2017 14:59:17 +0000 (16:59 +0200)]
[5073a] On the right track (still a lot of code and new tests to do)
Tomek Mrugalski [Wed, 20 Sep 2017 10:44:29 +0000 (12:44 +0200)]
[5306] Added unit-tests for relay-ip address on subnet level.
Tomek Mrugalski [Wed, 20 Sep 2017 10:29:59 +0000 (12:29 +0200)]
[5306] Couple more unit-test simplifications.
Tomek Mrugalski [Tue, 19 Sep 2017 22:44:10 +0000 (00:44 +0200)]
[5306] Unit-tests refactored slightly.
Tomek Mrugalski [Tue, 19 Sep 2017 22:43:48 +0000 (00:43 +0200)]
[5606] Minor tweaks in unit-tests, configurations described
Francis Dupont [Tue, 19 Sep 2017 18:39:17 +0000 (18:39 +0000)]
[trac5073a] regen flex/bison
Francis Dupont [Tue, 19 Sep 2017 18:37:03 +0000 (20:37 +0200)]
[5073a] Augmented syntax
Tomek Mrugalski [Tue, 19 Sep 2017 14:51:22 +0000 (16:51 +0200)]
[5306] Reworked existing and added new unit-tests.
Tomek Mrugalski [Tue, 19 Sep 2017 13:24:23 +0000 (15:24 +0200)]
[5306] unit-tests refactored.
Tomek Mrugalski [Tue, 19 Sep 2017 13:24:01 +0000 (15:24 +0200)]
[5306] Changes after review:
- max attempts set to 0 in unit-tests (matching production code)
- couple typos
- new unit-test added (selectSharedNetworkByRelayAddressSubnetLevel)
- ClientContext4 is now noncopyable
- unused network parameter removed
Thomas Markwalder [Tue, 19 Sep 2017 11:50:22 +0000 (07:50 -0400)]
[master] Added ChangeLog entry 1296 for 5111.
Thomas Markwalder [Tue, 19 Sep 2017 11:48:09 +0000 (07:48 -0400)]
[master] Added a hook point, "command-processed", to kea-dhcp4, kea-dhcp6 servers
Merges in branch 'trac5111'
Thomas Markwalder [Mon, 18 Sep 2017 18:33:59 +0000 (14:33 -0400)]
[5111] Correct segfault in agent unit test
src/lib/config/base_command_mgr.h
src/lib/config/base_command_mgr.cc
Moved the hook point registration ouf of the
BaseCommandMgr ctor and into static module space.
Thomas Markwalder [Mon, 18 Sep 2017 14:53:36 +0000 (10:53 -0400)]
[master] Added Changelog entry 1296 for trac 5354.
Thomas Markwalder [Mon, 18 Sep 2017 14:51:12 +0000 (10:51 -0400)]
[master] Fixed sporadic segfault when using mysql backend
Merges in 5354.
Thomas Markwalder [Mon, 18 Sep 2017 11:54:18 +0000 (07:54 -0400)]
[5282] Minor word smithing
Marcin Siodelski [Mon, 18 Sep 2017 10:51:22 +0000 (12:51 +0200)]
[5306] Created unit test for shared network selection based on classes.
Marcin Siodelski [Mon, 18 Sep 2017 10:11:51 +0000 (12:11 +0200)]
[5306] Use match-client-id defined on shared network level.
Marcin Siodelski [Mon, 18 Sep 2017 08:46:31 +0000 (10:46 +0200)]
[5306] Updated DHCPv4 server to use shared networks.
Marcin Siodelski [Thu, 14 Sep 2017 11:10:34 +0000 (13:10 +0200)]
[5306] Added stub unit tests for shared networks in DHCPv4.
Marcin Siodelski [Wed, 13 Sep 2017 10:43:28 +0000 (12:43 +0200)]
[5306] Implemented getNextSubnet() including classes.
Marcin Siodelski [Mon, 11 Sep 2017 16:47:30 +0000 (18:47 +0200)]
[5306] Client contexts now hold multiple hosts.
Marcin Siodelski [Fri, 8 Sep 2017 18:29:59 +0000 (20:29 +0200)]
[5306] Implemented getNextSubnet() function for subnets.
Marcin Siodelski [Thu, 7 Sep 2017 14:15:09 +0000 (16:15 +0200)]
[5306] Client classification for subnets added to allocation engine.
Marcin Siodelski [Thu, 7 Sep 2017 08:16:06 +0000 (10:16 +0200)]
[5306] Subnet selection for shared networks implemented.
Marcin Siodelski [Wed, 6 Sep 2017 17:15:41 +0000 (19:15 +0200)]
[5306] Basic IPv4 shared subnets scenarios implemented in alloc engine.
Tomek Mrugalski [Mon, 18 Sep 2017 08:45:31 +0000 (08:45 +0000)]
[master] parsers regenerated
Francis Dupont [Sat, 16 Sep 2017 10:55:31 +0000 (12:55 +0200)]
[5282] Added a paragraph about kea-shell / stunnel
Tomek Mrugalski [Fri, 15 Sep 2017 21:33:08 +0000 (23:33 +0200)]
[5360] Lexer fixed, unit-tests added.
Tomek Mrugalski [Fri, 15 Sep 2017 18:00:40 +0000 (20:00 +0200)]
[5360] client-class and match-client-id params on shared-network level
Tomek Mrugalski [Thu, 14 Sep 2017 10:32:09 +0000 (12:32 +0200)]
[master] Parsers regenerated on docs
Tomek Mrugalski [Thu, 14 Sep 2017 10:20:33 +0000 (12:20 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 14 Sep 2017 10:02:38 +0000 (12:02 +0200)]
[master] Merge branch 'trac5357' (shared network parsers update)
# Conflicts:
# src/bin/dhcp4/dhcp4_lexer.cc
# src/bin/dhcp4/dhcp4_parser.cc
# src/bin/dhcp4/dhcp4_parser.h
# src/bin/dhcp6/dhcp6_lexer.cc
# src/bin/dhcp6/dhcp6_parser.cc
# src/bin/dhcp6/dhcp6_parser.h
Marcin Siodelski [Thu, 14 Sep 2017 09:42:46 +0000 (11:42 +0200)]
[5357] Corrected comments in examples: shared subnet => shared network.