]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Tue, 25 Feb 2014 20:54:02 +0000 (15:54 -0500)]
[master] Correct compile error in watch_socket_unittests.cc under Solaris
Solaris defines FIONREAD, used in unit test is dhcp_ddns/watch_socket_unittests.cc in sys/filio.h. Added header check for this file to configure.ac and use
of HAVE_SYS_FILIO_H in the unit test source.
Thomas Markwalder [Tue, 25 Feb 2014 19:26:31 +0000 (14:26 -0500)]
[3283] Added DDNS config sections for Kea
Added secctions for configuring dhcp-ddns to DHCPv4 and DHCPv6 sections.
Added empty Chapter for DHCP-DDNS server.
Stephen Morris [Tue, 25 Feb 2014 16:30:27 +0000 (16:30 +0000)]
[2307] Feformatted so that most lines are no longer than 80 characters wide
Stephen Morris [Tue, 25 Feb 2014 16:24:48 +0000 (16:24 +0000)]
[2307] Minor change as a result of second review.
Marcin Siodelski [Tue, 25 Feb 2014 11:40:01 +0000 (12:40 +0100)]
[3222] Fixed a few nits found during the review.
Marcin Siodelski [Tue, 25 Feb 2014 07:55:34 +0000 (08:55 +0100)]
[3232] Renamed two functions in the test DHCPv6 client.
Marcin Siodelski [Tue, 25 Feb 2014 06:09:19 +0000 (07:09 +0100)]
[3232] Fixed server behavior for non matching address in IA_NA.
Marcin Siodelski [Mon, 24 Feb 2014 18:36:50 +0000 (19:36 +0100)]
[3232] Removed the note from bind10-guide about lack of Rebind support.
Thomas Markwalder [Mon, 24 Feb 2014 18:30:50 +0000 (13:30 -0500)]
[3339] data::merge now handles map elements
data::merge function is intended to merge to map elements together.
However, if those maps contain elements which are themselves maps they
are not merged. The function uses recursion to merge map sub-elements.
Tomek Mrugalski [Mon, 24 Feb 2014 18:20:15 +0000 (19:20 +0100)]
[master] Merge branch 'trac3322' (relay override in client classification)
Conflicts:
ChangeLog
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
Marcin Siodelski [Mon, 24 Feb 2014 18:16:05 +0000 (19:16 +0100)]
[3232] Implemented support for Rebind.
Tomek Mrugalski [Mon, 24 Feb 2014 17:55:49 +0000 (18:55 +0100)]
[3322] IfaceMgrTestConfig destructor restores default PktFilterInet6
Stephen Morris [Mon, 24 Feb 2014 13:27:51 +0000 (13:27 +0000)]
[2307] Minor changes as the result of review.
Thomas Markwalder [Mon, 24 Feb 2014 11:40:21 +0000 (06:40 -0500)]
[master] Added ChangeLog entry 758 for #3340.
Thomas Markwalder [Mon, 24 Feb 2014 11:27:19 +0000 (06:27 -0500)]
[master] Merge branch 'trac3340'
Corrects DHO_HOST_OPTION bug in b10-dhcp4.
Marcin Siodelski [Mon, 24 Feb 2014 10:14:50 +0000 (11:14 +0100)]
[3322] Fixed a typo in the new header file.
Mukund Sivaraman [Mon, 24 Feb 2014 09:57:02 +0000 (15:27 +0530)]
Merge branch 'trac3344'
Stephen Morris [Fri, 21 Feb 2014 16:04:08 +0000 (16:04 +0000)]
[2307] Added the full list of options to the perfdhcp man page
Also added section on templates, separate the options out into
different categories, and generally tidied up the XML.
Mukund Sivaraman [Fri, 21 Feb 2014 07:21:20 +0000 (12:51 +0530)]
[3344] Delete trailing whitespace
Mukund Sivaraman [Fri, 21 Feb 2014 07:21:12 +0000 (12:51 +0530)]
[3344] Remove static objects
Thomas Markwalder [Thu, 20 Feb 2014 21:44:47 +0000 (16:44 -0500)]
[3222] Removed superflous server instance in dhcp6 unit tests
Added a member instance of NakedDhcpv6Srv to FqdnDhcpv6SrvTest
rather than have an external local instance for each test.
Thomas Markwalder [Thu, 20 Feb 2014 21:31:16 +0000 (16:31 -0500)]
[3222] Added D2 unit test files to dhpc6
Thomas Markwalder [Thu, 20 Feb 2014 20:27:02 +0000 (15:27 -0500)]
[3222] Made b10-dhcp-ddns server matching case insensitve
The method used in D2 to match a FQDN (or reverse IP addrss)
to a list of servers, DdnsDomainListMgr::matchDomain(), was
made case insensitive.
Thomas Markwalder [Thu, 20 Feb 2014 20:25:06 +0000 (15:25 -0500)]
[3222] b10-dhcp6 now sends NCRs to b10-dhcp-ddns
Replaced use of internal queue in Dhcpv6Srv with posting
NCRs to D2ClientMgr. Upgraded unit tests accordingly.
b10-dhcp6 is now fully able to participate in DDNS.
Thomas Markwalder [Thu, 20 Feb 2014 20:10:56 +0000 (15:10 -0500)]
[3222] b10-dhcp6 now controls D2ClientMgr
Added D2ClientMgr send mode control and error handler
to Dhcp6vSrv and use of each to ControlledDhcpv6Srv.
Added new unit test files d2_unittest.h and cc.
Thomas Markwalder [Thu, 20 Feb 2014 19:58:12 +0000 (14:58 -0500)]
[3222] Augmented DNS message IO in b10-dhcp-ddns
Added descriptive message comment log statement for
to outbound DNS update requests, and conversion of status
and RCODEs for DNS inbound responses to b10-dhcp-ddns log.
Thomas Markwalder [Thu, 20 Feb 2014 19:19:10 +0000 (14:19 -0500)]
[master] Created ChangeLog entry 757.
Thomas Markwalder [Thu, 20 Feb 2014 19:16:42 +0000 (14:16 -0500)]
[master] Merge branch 'trac3034'
b10-dhcp6 parses and uses ddns-dhcp configuration
Thomas Markwalder [Thu, 20 Feb 2014 18:45:48 +0000 (13:45 -0500)]
[3034] Minor review corrections.
Reviewed required a few comments to be added.
Tomek Mrugalski [Thu, 20 Feb 2014 16:37:42 +0000 (17:37 +0100)]
[3322] 2 unit-tests for CfgMgr added.
Tomek Mrugalski [Thu, 20 Feb 2014 16:37:27 +0000 (17:37 +0100)]
[3322] Debug log message added for relay-override
Tomek Mrugalski [Thu, 20 Feb 2014 16:12:37 +0000 (17:12 +0100)]
[3322] Guide updated.
Tomek Mrugalski [Thu, 20 Feb 2014 15:47:48 +0000 (16:47 +0100)]
[3322] Couple DHCPv6Srv unit-tests cleaned up.
Tomek Mrugalski [Thu, 20 Feb 2014 15:37:01 +0000 (16:37 +0100)]
[3322] PktFilter6TestStub implemented.
Mukund Sivaraman [Thu, 20 Feb 2014 13:17:44 +0000 (18:47 +0530)]
Merge branch 'trac2534'
Marcin Siodelski [Thu, 20 Feb 2014 09:40:08 +0000 (10:40 +0100)]
[3232] Refactored the srv code to have common bits for IA_NA Renew/Rebind
Marcin Siodelski [Thu, 20 Feb 2014 09:37:25 +0000 (10:37 +0100)]
[master] Added ChangeLog entry for #3316.
Marcin Siodelski [Thu, 20 Feb 2014 09:13:47 +0000 (10:13 +0100)]
[master] Merge branch 'trac3316'
Mukund Sivaraman [Thu, 20 Feb 2014 03:08:09 +0000 (08:38 +0530)]
[2534] Update CAA unittest to match change in string token scanning behavior
Mukund Sivaraman [Thu, 20 Feb 2014 03:07:25 +0000 (08:37 +0530)]
Merge branch 'master' into trac2534
Mukund Sivaraman [Thu, 20 Feb 2014 02:40:19 +0000 (08:10 +0530)]
Merge branch 'trac2000'
Tomek Mrugalski [Wed, 19 Feb 2014 16:54:37 +0000 (17:54 +0100)]
[3322] Changes after review:
- Unit-tests for DHCPv4 now use configure() method.
- Typo fixed in DHCPv6 unit-tests.
- Removed, updated comments in cfgmgr
- Guide updated
Mukund Sivaraman [Wed, 19 Feb 2014 14:05:50 +0000 (19:35 +0530)]
[master] Add ChangeLog for #2512
Mukund Sivaraman [Wed, 19 Feb 2014 14:27:30 +0000 (19:57 +0530)]
Merge branch 'trac2512'
Thomas Markwalder [Wed, 19 Feb 2014 14:20:33 +0000 (09:20 -0500)]
[master] Corrected two minor cppchecks.
Thomas Markwalder [Wed, 19 Feb 2014 14:09:00 +0000 (09:09 -0500)]
[3340] b10-dhcp4 now handles DHO_HOST_NAME as a OptionString
Modified Dhcpv4Srv to handle DHO_HOST_NAME as an OptionString
rather than an OptionCustom.
Mukund Sivaraman [Wed, 19 Feb 2014 13:54:31 +0000 (19:24 +0530)]
[master] Add ChangeLog for #2185
Mukund Sivaraman [Wed, 19 Feb 2014 13:53:16 +0000 (19:23 +0530)]
Merge branch 'trac2185'
Mukund Sivaraman [Wed, 19 Feb 2014 13:48:41 +0000 (19:18 +0530)]
[2000] Stop using API that was removed
Mukund Sivaraman [Wed, 19 Feb 2014 13:45:57 +0000 (19:15 +0530)]
Merge branch 'master' into trac2000
Mukund Sivaraman [Wed, 19 Feb 2014 09:21:10 +0000 (14:51 +0530)]
[2000] Add API documentation for specialized methods and PseudoRR class
Mukund Sivaraman [Wed, 19 Feb 2014 09:08:59 +0000 (14:38 +0530)]
[2000] Update option code to be different from option length
Mukund Sivaraman [Wed, 19 Feb 2014 08:58:17 +0000 (14:28 +0530)]
[2000] Start comments with a capital letter
Mukund Sivaraman [Wed, 19 Feb 2014 08:57:11 +0000 (14:27 +0530)]
[2000] Fix spelling mistake
Mukund Sivaraman [Wed, 19 Feb 2014 08:49:23 +0000 (14:19 +0530)]
[master] Add ChangeLog entry for #2426
Mukund Sivaraman [Wed, 19 Feb 2014 08:37:13 +0000 (14:07 +0530)]
Merge branch 'trac2426'
Mukund Sivaraman [Wed, 19 Feb 2014 08:19:06 +0000 (13:49 +0530)]
[2512] Stop using API that was removed
Mukund Sivaraman [Wed, 19 Feb 2014 08:12:14 +0000 (13:42 +0530)]
Merge branch 'master' into trac2512
Mukund Sivaraman [Wed, 19 Feb 2014 07:57:57 +0000 (13:27 +0530)]
[2185] Stop using API that was removed
Mukund Sivaraman [Wed, 19 Feb 2014 07:54:04 +0000 (13:24 +0530)]
Merge branch 'master' into trac2185
Thomas Markwalder [Tue, 18 Feb 2014 19:43:15 +0000 (14:43 -0500)]
[master] Created entry 752 for Trac #3329
Thomas Markwalder [Tue, 18 Feb 2014 19:38:58 +0000 (14:38 -0500)]
[master] Merge branch 'trac3329'
b10-dhcp4 now fully able to generate and send DHCP-DDNS requests
Thomas Markwalder [Tue, 18 Feb 2014 18:13:56 +0000 (13:13 -0500)]
[3329] Addressed review comments
Primarily cosmetic changes and commentary.
Tomek Mrugalski [Tue, 18 Feb 2014 16:35:58 +0000 (17:35 +0100)]
[3316] Minor update in classSpecificProcessing()
Tomek Mrugalski [Tue, 18 Feb 2014 15:57:45 +0000 (16:57 +0100)]
[3316] User's Guide update
Mukund Sivaraman [Tue, 18 Feb 2014 14:04:49 +0000 (19:34 +0530)]
[master] Add cppcheck suppressions for sscanf() false-positives
Reviewed by Thomas Markwalder on Jabber.
Mukund Sivaraman [Tue, 18 Feb 2014 14:11:34 +0000 (19:41 +0530)]
Merge branch 'trac2168'
Marcin Siodelski [Tue, 18 Feb 2014 14:11:27 +0000 (15:11 +0100)]
[3316] Merge branch 'master' into trac3316
Conflicts:
src/bin/dhcp4/tests/dhcp4_test_utils.h
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
src/bin/dhcp6/tests/dhcp6_test_utils.h
Mukund Sivaraman [Tue, 18 Feb 2014 13:46:19 +0000 (19:16 +0530)]
Merge branch 'trac2518'
Mukund Sivaraman [Tue, 18 Feb 2014 13:15:34 +0000 (18:45 +0530)]
Merge branch 'master' into trac2168
Conflicts:
src/lib/dns/tests/rdata_nsec3param_like_unittest.cc
src/lib/dns/tests/rdata_nsecbitmap_unittest.cc
Mukund Sivaraman [Tue, 18 Feb 2014 13:06:57 +0000 (18:36 +0530)]
[2426] Update exception message
Mukund Sivaraman [Tue, 18 Feb 2014 13:03:27 +0000 (18:33 +0530)]
[2426] Add a comment on why the ungetToken() is necessary
Mukund Sivaraman [Tue, 18 Feb 2014 12:55:25 +0000 (18:25 +0530)]
[2426] Move the ungetToken() call to make it easier to follow
Mukund Sivaraman [Tue, 18 Feb 2014 12:50:02 +0000 (18:20 +0530)]
[2426] Initialize rdlen (apparently cppcheck doesn't detect the throw and complains)
Tomek Mrugalski [Tue, 18 Feb 2014 12:49:50 +0000 (13:49 +0100)]
[3316] Vendor class content is now prefixed with VENDOR_CLASS_PREFIX.
Mukund Sivaraman [Tue, 18 Feb 2014 12:32:38 +0000 (18:02 +0530)]
[2512] Add API doc comments for generic::CAA specialized methods
Mukund Sivaraman [Tue, 18 Feb 2014 12:21:45 +0000 (17:51 +0530)]
[2512] Add some comments
Mukund Sivaraman [Tue, 18 Feb 2014 12:21:31 +0000 (17:51 +0530)]
[2512] Update assert() to a gtest ASSERT
Mukund Sivaraman [Tue, 18 Feb 2014 05:16:09 +0000 (10:46 +0530)]
[2512] Combine resize() call with the constructor
Marcin Siodelski [Mon, 17 Feb 2014 17:27:49 +0000 (18:27 +0100)]
[3316] Addressed review comments.
Thomas Markwalder [Mon, 17 Feb 2014 17:00:06 +0000 (12:00 -0500)]
[3034] Added use of D2ClientMgr method to generate FQDNs in b10-dhcp6
Replaced logic in Dhcpv6Srv::generateFqdn() which constructed the
FQDN from the lease address to use D2ClientMgr::generateFqdn() method.
Removed remaining obsolete FQDN_ constants.
Thomas Markwalder [Mon, 17 Feb 2014 16:55:19 +0000 (11:55 -0500)]
[3034] Replaced constant with CfgMgr::ddnsEnabled() in Dhcpv6Srv
Dhcpv6Srv now uses method in CfgMgr to test whether or not ddns updates
are enabled. Add unit tests to verify NCRs are or are not created
accordingly.
Thomas Markwalder [Mon, 17 Feb 2014 16:52:03 +0000 (11:52 -0500)]
[3034] Updated Dhcpv6Srv to use D2ClientMgr fqdn methods
Replaced constants and logic in Dhcp6Srv::processClientFqdn()
with use of D2ClientMgr configuration-sensitive FQDN flag
and domain name methods.
Thomas Markwalder [Mon, 17 Feb 2014 16:48:33 +0000 (11:48 -0500)]
[3034] Add dhcp-ddns element to b10-dhcp6 configuration
Added "dhpc-ddns" element to dhcp6.spec file.
Added "dhcp-ddns" to list of elements recognized in createGlobal6DhcpConfigParser()
Added unit tests for dhcp-ddns parsing.
Mukund Sivaraman [Mon, 17 Feb 2014 16:05:21 +0000 (21:35 +0530)]
[master] Add ChangeLog entry for #2430
Mukund Sivaraman [Mon, 17 Feb 2014 15:48:34 +0000 (21:18 +0530)]
Merge branch 'trac2430'
Thomas Markwalder [Mon, 17 Feb 2014 15:47:06 +0000 (10:47 -0500)]
[3341] Allow b10-dchp-ddns to optionally support updates in a given direction
Added methods to D2CfgMgr to return whether or not forward or reverse
updates are enabled. Altered D2UpdateMgr::makeTransaction to utlilize
these new methods. Added additional logs and unittests.
Mukund Sivaraman [Mon, 17 Feb 2014 08:15:17 +0000 (13:45 +0530)]
[2430] Update genNibbles() doc
Mukund Sivaraman [Mon, 17 Feb 2014 05:55:19 +0000 (11:25 +0530)]
[2430] Write API doc for MasterLoaderImpl
Thomas Markwalder [Sun, 16 Feb 2014 15:33:19 +0000 (10:33 -0500)]
[3329] Added inital call to startD2 to dhcp4's controller.
Added a callt to startD2 ControlledDhcpv4Srv::establishSession().
This ensures D2ClientMgr is started upon initial server startup.
Added commentary to d2_unittests.cc
Mukund Sivaraman [Sat, 15 Feb 2014 09:18:33 +0000 (14:48 +0530)]
[2430] Change to C++ include
Mukund Sivaraman [Fri, 14 Feb 2014 16:08:40 +0000 (21:38 +0530)]
[2430] Update a comment
Mukund Sivaraman [Fri, 14 Feb 2014 16:06:00 +0000 (21:36 +0530)]
[2430] Document the code further
Mukund Sivaraman [Fri, 14 Feb 2014 15:50:37 +0000 (21:20 +0530)]
[2430] Document the code
Thomas Markwalder [Fri, 14 Feb 2014 14:30:58 +0000 (09:30 -0500)]
[3329] Dhcpv4 now sends NameChangeRequests to D2ClientMgr
Dhcpv4Srv now sends NameChangeRequests to D2ClientMgr rather than posting
them to an internal queue. At this point, b10-dhcp4 should generate requests
and ship them to b10-dhcp-ddns when configured appropriately.
Thomas Markwalder [Fri, 14 Feb 2014 13:59:53 +0000 (08:59 -0500)]
[3329] D2ClientMgr::sendRequest now calls client's error handler
Altered D2ClientMgr::sendRequest to call the client's error handler if
in send mode and sendRequest fails. Prior to this it simply allowed any
sender exceptions to propagate.
Mukund Sivaraman [Fri, 14 Feb 2014 13:49:53 +0000 (19:19 +0530)]
[2430] Add generateAtEnd unittest
Mukund Sivaraman [Fri, 14 Feb 2014 13:44:58 +0000 (19:14 +0530)]
[2430] Add comment about before and after scaffolding in test
Mukund Sivaraman [Fri, 14 Feb 2014 13:41:58 +0000 (19:11 +0530)]
[2430] Rename argument i to num
Mukund Sivaraman [Fri, 14 Feb 2014 13:35:01 +0000 (19:05 +0530)]
[2430] Rename variables to match BIND 9 ARM documentation