]>
git.ipfire.org Git - thirdparty/kea.git/log
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.
Marcin Siodelski [Mon, 10 Feb 2014 17:49:54 +0000 (18:49 +0100)]
[master] Initialized the hops value of the DHCPv4 packet.
This prevents errors reported by valgrind about uninitialized value of
hops being used in unit tests which skip parsing the packet. Okayed
on jabber.
Tomek Mrugalski [Mon, 10 Feb 2014 17:33:10 +0000 (18:33 +0100)]
[3274] white_list_ is now of ClientClasses type.
Thomas Markwalder [Mon, 10 Feb 2014 16:56:44 +0000 (11:56 -0500)]
[master] Merge branch 'trac3299'
b10-dhcp-ddns uses lease length as TTL in DNS update RRsets.
Thomas Markwalder [Mon, 10 Feb 2014 16:54:45 +0000 (11:54 -0500)]
[3299] Updated a missed Copyright notice.
Thomas Markwalder [Mon, 10 Feb 2014 16:45:58 +0000 (11:45 -0500)]
[3221] Improved WatchSocket error handling in dhcp_ddns::NameChangeUDPSender
Shored up the error handling in the sender when the WatchSocket fails to mark
or clear. Addes unit tests accordingly.
Tomek Mrugalski [Mon, 10 Feb 2014 15:07:02 +0000 (16:07 +0100)]
[3274] Changes after second round of reviews:
- getRelayInfo() implemented, relay_ is now protected
- setRelay => setRelayInfo
- Option::Universe is passed as const reference
- Further clarified white_list_ field in Subnet.h
Marcin Siodelski [Mon, 10 Feb 2014 14:54:58 +0000 (15:54 +0100)]
[3316] Implemented unit test to cover packet with short Vendor Class.
Marcin Siodelski [Mon, 10 Feb 2014 11:46:50 +0000 (12:46 +0100)]
[3274] Fixed two typos.
Marcin Siodelski [Mon, 10 Feb 2014 10:42:09 +0000 (11:42 +0100)]
[master] Added ChangeLog entry for #3242.
Marcin Siodelski [Mon, 10 Feb 2014 10:32:27 +0000 (11:32 +0100)]
[master] Merge branch 'trac3242'
Conflicts:
src/bin/dhcp4/tests/fqdn_unittest.cc
Thomas Markwalder [Sat, 8 Feb 2014 19:04:56 +0000 (14:04 -0500)]
[3221] Fixed doxygen errors, removed commented include
Fixed a couple doxgyen errors and removed the commented
out include of ioctl.h in d2_upd_unittest.cc
Thomas Markwalder [Sat, 8 Feb 2014 18:26:01 +0000 (13:26 -0500)]
[3221] Addressed review comments.
Made behavior of dhcp_ddns::WatchSocket a bit more robust in handling
programmatic abuse.
Cleaned up addresses used in ncr_upd_unittest.cc, added specific test
for client side address if 0.0.0.0/port 0.
Updated copyrights as appropriate and other cosmetics.
Marcin Siodelski [Fri, 7 Feb 2014 18:01:36 +0000 (19:01 +0100)]
[master] Added ChangeLog entry for #3309.
Marcin Siodelski [Fri, 7 Feb 2014 17:41:05 +0000 (18:41 +0100)]
[master] Merge branch 'trac3309'
Tomek Mrugalski [Fri, 7 Feb 2014 16:26:03 +0000 (17:26 +0100)]
[3274] Changes after review:
- RelayInfoParser now takes Option::Universe as last parameter;
- Extra tests for checking invalid parameters in RelayInfoParser
- Comments in subnet.h improved
- Sanity checks in RelayInfoParser implemented, doc improved
Marcin Siodelski [Fri, 7 Feb 2014 15:52:30 +0000 (16:52 +0100)]
[3242] Log when received message is not supported.
Marcin Siodelski [Fri, 7 Feb 2014 14:13:44 +0000 (15:13 +0100)]
[3242] Removed typo from bind10-guide.
Marcin Siodelski [Fri, 7 Feb 2014 14:12:55 +0000 (15:12 +0100)]
[3242] Corrected typo in the DHCPv4 message.
Also added a pointer to valid message types on IANA website, in the log
message description.
Mukund Sivaraman [Fri, 7 Feb 2014 13:24:48 +0000 (18:54 +0530)]
[2185] Add tests for RdataPimplHolder
Mukund Sivaraman [Fri, 7 Feb 2014 13:00:50 +0000 (18:30 +0530)]
[2185] Add and use a RdataPimplHolder instead of auto_ptr
Mukund Sivaraman [Fri, 7 Feb 2014 05:42:14 +0000 (11:12 +0530)]
Merge branch 'trac3023'
Mukund Sivaraman [Fri, 7 Feb 2014 05:30:42 +0000 (11:00 +0530)]
Merge branch 'trac413'
Tomek Mrugalski [Thu, 6 Feb 2014 19:40:02 +0000 (20:40 +0100)]
[3274] Changes after review:
- Copyright years updated
- Minor corrections in BINDX Guide
- dhcp4.spec relay structure description updated.
- new unit-test for DHCPv4 client classification added
- new unit-test for DHCPv6 client classification added
- fixed Doxygen errors
- comments for CfgMgr::getSubnet{4,6} updated
Tomek Mrugalski [Thu, 6 Feb 2014 19:08:09 +0000 (20:08 +0100)]
[3274] Added new file for classify unittests.
Thomas Markwalder [Thu, 6 Feb 2014 18:34:46 +0000 (13:34 -0500)]
[3299] Set TTL in DDNS RRsets to lease length in NameChangeRequest
Changed build request methods in d2::NameAddTransaction to set the RRset TTL
value to the value of NameChangeRequest::lease_length.
Marcin Siodelski [Thu, 6 Feb 2014 17:45:34 +0000 (18:45 +0100)]
[3242] Added new section to bind10 guide about DHCPv4 subnet selection
Marcin Siodelski [Thu, 6 Feb 2014 17:10:07 +0000 (18:10 +0100)]
[3242] Addressed review comments.
Thomas Markwalder [Thu, 6 Feb 2014 12:39:59 +0000 (07:39 -0500)]
[3221] Fixed minor compilation errors in dhcp_ddns::WatchSocket
Compilation under Fedora turned a couple of missing includes,
errno.h and stdint.h.
Mukund Sivaraman [Thu, 6 Feb 2014 12:21:17 +0000 (17:51 +0530)]
[2512] Update check to an assertion
All the constructors currently check that the tag field is not empty.
Mukund Sivaraman [Thu, 6 Feb 2014 12:17:18 +0000 (17:47 +0530)]
[2512] Fix indent level
Mukund Sivaraman [Thu, 6 Feb 2014 12:16:24 +0000 (17:46 +0530)]
[2512] Add a comment about redundant test
Mukund Sivaraman [Thu, 6 Feb 2014 12:14:22 +0000 (17:44 +0530)]
[2512] Add equality test in .compare unittest
Mukund Sivaraman [Thu, 6 Feb 2014 11:15:28 +0000 (16:45 +0530)]
[413] Add a unittest for numeric owner names in master files
Mukund Sivaraman [Thu, 6 Feb 2014 09:52:33 +0000 (15:22 +0530)]
[3023] Add a lettuce test adding a CH static zone (as described in the guide)
Marcin Siodelski [Thu, 6 Feb 2014 10:09:54 +0000 (11:09 +0100)]
[3309] Updated bind10-guide with the text about overriding standard options
Mukund Sivaraman [Thu, 6 Feb 2014 09:16:09 +0000 (14:46 +0530)]
Merge branch 'trac2299'
Mukund Sivaraman [Thu, 6 Feb 2014 09:03:24 +0000 (14:33 +0530)]
[2168] Remove more cases of UnitTestUtil::matchWireData (merged from master)
Mukund Sivaraman [Thu, 6 Feb 2014 09:01:17 +0000 (14:31 +0530)]
Merge branch 'master' into trac2168
Conflicts:
src/lib/dns/tests/rrset_unittest.cc
Mukund Sivaraman [Thu, 6 Feb 2014 08:31:18 +0000 (14:01 +0530)]
Merge branch 'trac956'
Thomas Markwalder [Wed, 5 Feb 2014 21:18:04 +0000 (16:18 -0500)]
[3221] Added dhcp-ddns IO support to dhcp::D2ClientMgr
Added creation and management of NameChangeSender to dhcpsrv::D2ClientMgr.
Added new file of unit tests, d2_udp_unittest.cc, to exercise D2ClientMgr
with a UDP sender.
Stephen Morris [Wed, 5 Feb 2014 16:49:14 +0000 (16:49 +0000)]
[master] Merge branch 'trac3305'
Tomek Mrugalski [Wed, 5 Feb 2014 10:53:04 +0000 (11:53 +0100)]
[master] ChangeLog updated after #1485 merge.
Tomek Mrugalski [Wed, 5 Feb 2014 10:48:42 +0000 (11:48 +0100)]
Merge branch 'trac1485'
Tomek Mrugalski [Wed, 5 Feb 2014 10:48:25 +0000 (11:48 +0100)]
[1485] Minor changes after review:
- IOAddress test renamed
- flipped isV6() with !isV4() in perfdhcp/test_control.cc
Mukund Sivaraman [Wed, 5 Feb 2014 07:19:17 +0000 (12:49 +0530)]
[956] Make Message::toWire() TSIG agnostic
Mukund Sivaraman [Wed, 5 Feb 2014 06:51:58 +0000 (12:21 +0530)]
Merge branch 'trac3312'
Mukund Sivaraman [Wed, 5 Feb 2014 06:40:15 +0000 (12:10 +0530)]
Merge branch 'trac2539'
Mukund Sivaraman [Wed, 5 Feb 2014 06:39:47 +0000 (12:09 +0530)]
[master] Add ChangeLog entry for #2226
Mukund Sivaraman [Wed, 5 Feb 2014 06:26:08 +0000 (11:56 +0530)]
Merge branch 'trac2226'
Mukund Sivaraman [Tue, 4 Feb 2014 21:48:17 +0000 (03:18 +0530)]
[2536] Remove "using namespace" from headers (last remnant)
The daemons have been exorcised. This codebase is now clean.
Mukund Sivaraman [Tue, 4 Feb 2014 21:06:38 +0000 (02:36 +0530)]
[2536] Remove "using namespace" from headers (DHCP code)
Mukund Sivaraman [Tue, 4 Feb 2014 20:07:12 +0000 (01:37 +0530)]
[2536] Remove "using namespace" from headers (DNS code)
Marcin Siodelski [Tue, 4 Feb 2014 18:24:55 +0000 (19:24 +0100)]
[3242] Do not install test library.
Tomek Mrugalski [Tue, 4 Feb 2014 18:14:28 +0000 (19:14 +0100)]
[3274] Missing changes in dhcp{4,6}.spec added.
Tomek Mrugalski [Tue, 4 Feb 2014 17:33:54 +0000 (18:33 +0100)]
[master] Compilation fix after 3315 merge.
Marcin Siodelski [Tue, 4 Feb 2014 16:33:52 +0000 (17:33 +0100)]
[3309] Allow creation of definition for std options without def in libdhcp.