]>
git.ipfire.org Git - thirdparty/kea.git/log
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
Mukund Sivaraman [Fri, 14 Feb 2014 13:31:20 +0000 (19:01 +0530)]
[2430] Check NS records too in lettuce test
Mukund Sivaraman [Fri, 14 Feb 2014 13:25:24 +0000 (18:55 +0530)]
[2430] Update test comment
Mukund Sivaraman [Fri, 14 Feb 2014 13:23:26 +0000 (18:53 +0530)]
[2430] Fix separator spelling
Mukund Sivaraman [Fri, 14 Feb 2014 13:22:46 +0000 (18:52 +0530)]
[2430] Update copyright year
Mukund Sivaraman [Fri, 14 Feb 2014 07:39:47 +0000 (13:09 +0530)]
[2185] Add include for NULL definition
Mukund Sivaraman [Fri, 14 Feb 2014 07:10:57 +0000 (12:40 +0530)]
Merge branch 'trac1894'
Conflicts:
src/lib/datasrc/database.cc
Thomas Markwalder [Thu, 13 Feb 2014 21:33:06 +0000 (16:33 -0500)]
[3329] ioReady methods were missing commentary in dhcp_ddns.
Adding missing commentary in ncr_io.h and ncr_upd.h
Thomas Markwalder [Thu, 13 Feb 2014 21:08:43 +0000 (16:08 -0500)]
[3329] Added D2ClientMgr control into b10-dhcp4
Server now starts D2ClientMgr send mode after configuration if updates are
enabled, and provides an error handler to intervene if D2 communications fail.
Added new unitests in d2_unittest.h and .cc.
Tomek Mrugalski [Thu, 13 Feb 2014 19:51:03 +0000 (20:51 +0100)]
[3322] ChangeLog added
Tomek Mrugalski [Thu, 13 Feb 2014 19:48:20 +0000 (20:48 +0100)]
[3322] The guide is now updated (relay override and classification examples)
Thomas Markwalder [Thu, 13 Feb 2014 19:39:10 +0000 (14:39 -0500)]
[3329] D2ClientMgr now supports suspending updates.
Added ability to suspend DDNS updates to D2ClientMgr, so updating can be
stopped when errors communications with D2 fail.
Made D2ClientMgr non-copyable to avoid programmatic errors.
Changed D2ClientMgr to return simply return from startSender() if already
in send mode.
Thomas Markwalder [Thu, 13 Feb 2014 19:35:49 +0000 (14:35 -0500)]
[3329] Added setter for enable-updates to dhcp::D2ClientConfig
Added enableUpdates() method to D2ClientConfig to allow DDNS updates to be
enabled or disabled independent of reconfiguration.
Thomas Markwalder [Thu, 13 Feb 2014 19:31:31 +0000 (14:31 -0500)]
[3329] Automatically intiate sends when starting NameChangeSender
Changed dhcp_ddns::NameChangeSender to kick-start send process if there are
messages in the queue when startSending is called. Prior to this it required
the queuing of a new message via sendRequest().
Tomek Mrugalski [Thu, 13 Feb 2014 18:10:18 +0000 (19:10 +0100)]
[3322] Unit-tests for DHCPv4 implemented.
Tomek Mrugalski [Thu, 13 Feb 2014 17:41:22 +0000 (18:41 +0100)]
[3322] Unit-tests for relay-ip override implemented.
Marcin Siodelski [Thu, 13 Feb 2014 16:46:36 +0000 (17:46 +0100)]
[3316] Implemented function to return text representation of VC option
Marcin Siodelski [Thu, 13 Feb 2014 15:45:57 +0000 (16:45 +0100)]
[3316] Use OptionVendorClass to encapsulate DHCPv4 option 124.
Marcin Siodelski [Thu, 13 Feb 2014 13:50:07 +0000 (14:50 +0100)]
[3316] Use the OptionVendorClass in DHCPv6 server code.
Marcin Siodelski [Thu, 13 Feb 2014 13:33:02 +0000 (14:33 +0100)]
[3316] Implemented function to check if specified tuple is in VC option.
Marcin Siodelski [Thu, 13 Feb 2014 13:17:03 +0000 (14:17 +0100)]
[3316] Use OptionVendorClass to encapsulate DHCPv6 option 16.
Marcin Siodelski [Thu, 13 Feb 2014 09:41:26 +0000 (10:41 +0100)]
[3316] Implemented a class which encapsulates Vendor Class option.
Tomek Mrugalski [Wed, 12 Feb 2014 14:51:04 +0000 (15:51 +0100)]
[3322] Relay address used in relay-info can now be used in getSubnet{4,6}
Thomas Markwalder [Wed, 12 Feb 2014 13:51:48 +0000 (08:51 -0500)]
[master] Corrected valgrind complaint in dhcpsrv unittest.
Thomas Markwalder [Tue, 11 Feb 2014 20:50:50 +0000 (15:50 -0500)]
[3329] dhcpsrv::D2ClientMgr now registers IfaceMgr
D2ClientMgr now registers and unregisters its runReadyIO method and sender's
select-fd with IfaceMgr's external socket monitoring.
Thomas Markwalder [Tue, 11 Feb 2014 20:43:08 +0000 (15:43 -0500)]
[3329] dhcp_ddns::NameChangeSender extended to support running ready IO
Rememebering the io_service in use and how to run ready IO handlers was
pushed down from D2ClientMgr into NameChangeSender. NameChangeSender stop
logic was altered so it will now cleanly complete the last send as well
as interrupting the daisy-chain of instigating the next send upon
completion of the current send.
Thomas Markwalder [Tue, 11 Feb 2014 19:08:21 +0000 (14:08 -0500)]
[master] Corrected invalid read complaint in D2ClientMgr
valgrind reported an invalid D2ClientMgr is destroyed while in send mode
Added call to stopSender to D2ClientMgr destructor.
Thomas Markwalder [Tue, 11 Feb 2014 18:40:57 +0000 (13:40 -0500)]
[master] Corrected dhcp_ddns::WatchSocket unit test failure
Unit test was failing as a closed fd passed to select() does not fail
on all OSs. Changed the test so it verifies that the fd in question
no longer evaluates to ready to ready.
Marcin Siodelski [Tue, 11 Feb 2014 18:36:42 +0000 (19:36 +0100)]
[3316] Added an object encapsulating opaque-data carried in Vendor Class.
Mukund Sivaraman [Tue, 11 Feb 2014 08:05:59 +0000 (13:35 +0530)]
[2512] Use CharStringData when constructing from parameters too
This supports handling escapes and such when coming from the
presentation format.
Mukund Sivaraman [Tue, 11 Feb 2014 08:00:14 +0000 (13:30 +0530)]
[2512] Add some <character-string> tests for Value field
Mukund Sivaraman [Tue, 11 Feb 2014 07:48:50 +0000 (13:18 +0530)]
[2512] Add CAA::getValue()
Mukund Sivaraman [Tue, 11 Feb 2014 07:44:00 +0000 (13:14 +0530)]
[2512] Simplify CAA implementation using CharStringData type
Mukund Sivaraman [Tue, 11 Feb 2014 07:43:01 +0000 (13:13 +0530)]
[2512] Add a CharStringData type (with no length byte prefix)
Mukund Sivaraman [Tue, 11 Feb 2014 06:01:47 +0000 (11:31 +0530)]
Merge branch 'trac3301'
Mukund Sivaraman [Tue, 11 Feb 2014 05:48:09 +0000 (11:18 +0530)]
Merge branch 'trac2536'
Mukund Sivaraman [Tue, 11 Feb 2014 05:31:27 +0000 (11:01 +0530)]
[2185] Don't allow empty TLSA certificate association data
Thomas Markwalder [Mon, 10 Feb 2014 21:01:49 +0000 (16:01 -0500)]
[3329] Moved dhcp::D2ClientMgr into its own header and source.
d2_client.h and .cc was split into four files:
D2ClientConfig class is now in d2_client_cfg.h/cc
D2ClientMgr class is now in d2_client_mgr.h/cc
Thomas Markwalder [Mon, 10 Feb 2014 19:21:29 +0000 (14:21 -0500)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Thomas Markwalder [Mon, 10 Feb 2014 19:09:46 +0000 (14:09 -0500)]
[master] Merge branch 'trac3221'
Integrates use of NameChangeUDPSender in D2ClientMgr.
Tomek Mrugalski [Mon, 10 Feb 2014 19:03:10 +0000 (20:03 +0100)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Conflicts:
ChangeLog
Tomek Mrugalski [Mon, 10 Feb 2014 18:54:51 +0000 (19:54 +0100)]
[master] Merge branch 'trac3274' DHCP client classification
Conflicts:
ChangeLog
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/dhcp4_test_utils.h
src/lib/dhcpsrv/cfgmgr.cc
src/lib/dhcpsrv/cfgmgr.h
Thomas Markwalder [Mon, 10 Feb 2014 18:05:27 +0000 (13:05 -0500)]
[master] Added ChangeLog entry 749 for trac# 3299.
Thomas Markwalder [Mon, 10 Feb 2014 18:00:11 +0000 (13:00 -0500)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Master updated while merging in 3299.
Thomas Markwalder [Mon, 10 Feb 2014 17:57:27 +0000 (12:57 -0500)]
[3221] Corrected typo and spelling in new log message
Also ran dhcp_ddns_messages.mes through reorder tool.