]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Tue, 4 Feb 2014 16:33:05 +0000 (17:33 +0100)]
[3309] Created tests to check that defs for std options can be created.
As long as libdhcp++ doesn't provide definitions for all options, it
should be possible to create definitions for some standard options using
a configuration mechanism. The new tests check that.
Tomek Mrugalski [Tue, 4 Feb 2014 14:17:17 +0000 (15:17 +0100)]
Merge branch 'trac3315'
Tomek Mrugalski [Tue, 4 Feb 2014 14:16:52 +0000 (15:16 +0100)]
[3315] Changes after second review:
- SocketCallbackContainer is now SocketCallbackInfoContainer
- test callback is now quiet
Mukund Sivaraman [Tue, 4 Feb 2014 13:55:05 +0000 (19:25 +0530)]
[2430] Print debugging aid when check fails
Mukund Sivaraman [Tue, 4 Feb 2014 13:37:43 +0000 (19:07 +0530)]
[2430] Do case-specific tests using TXT RR type
(The implementation being tested did not need any changes.)
Tomek Mrugalski [Tue, 4 Feb 2014 13:31:38 +0000 (14:31 +0100)]
[3274] Proposed ChangeLog entry updated.
Mukund Sivaraman [Tue, 4 Feb 2014 13:22:59 +0000 (18:52 +0530)]
[2430] Rollback case change
These were not the correct tests to be modified. The correct tests to be
modified do not use any hex alphabets currently, and the alphabets are
also generated in the LHS names which are case-insensitive during
comparison.
This will be properly fixed in the next commits on the branch.
Tomek Mrugalski [Tue, 4 Feb 2014 13:03:30 +0000 (14:03 +0100)]
[3274] DHCPv6 sections about client classification in User's Guide added
Stephen Morris [Tue, 4 Feb 2014 12:56:46 +0000 (12:56 +0000)]
[3305] Don't install DHCP hooks example library
Tomek Mrugalski [Tue, 4 Feb 2014 12:54:01 +0000 (13:54 +0100)]
[3274] DHCPv4 section of User's Guide written
Stephen Morris [Tue, 4 Feb 2014 12:07:10 +0000 (12:07 +0000)]
[3305] Do not install libraries used for DHCP tests
Marcin Siodelski [Tue, 4 Feb 2014 11:37:12 +0000 (12:37 +0100)]
[3242] Removed the commented code from the CfgMgr.
Tomek Mrugalski [Tue, 4 Feb 2014 11:17:54 +0000 (12:17 +0100)]
[3274] Client-class can now be specified in DHCPv{4,6} subnets config
Marcin Siodelski [Tue, 4 Feb 2014 10:14:11 +0000 (11:14 +0100)]
[3242] Added unit test to check that direct packet is dropped on iface.
Mukund Sivaraman [Tue, 4 Feb 2014 05:33:59 +0000 (11:03 +0530)]
[2518] Add C++ unittests for DNS exception hierarchy
Mukund Sivaraman [Tue, 4 Feb 2014 05:10:12 +0000 (10:40 +0530)]
[2518] Update common DNS exceptions into a hierarchy
Mukund Sivaraman [Tue, 4 Feb 2014 04:57:07 +0000 (10:27 +0530)]
[2518] Fix description
Mukund Sivaraman [Tue, 4 Feb 2014 04:56:52 +0000 (10:26 +0530)]
[2518] Organize isc::Exception-s in a hierarchy
Mukund Sivaraman [Tue, 4 Feb 2014 04:44:31 +0000 (10:14 +0530)]
[2518] Add Python bindings for NameParserException hierarchy
Mukund Sivaraman [Tue, 4 Feb 2014 04:19:12 +0000 (09:49 +0530)]
[1894] Minor coding style fix
Mukund Sivaraman [Tue, 4 Feb 2014 04:19:00 +0000 (09:49 +0530)]
[1894] Avoid doing costly name splits (database backend)
Tomek Mrugalski [Mon, 3 Feb 2014 20:42:55 +0000 (21:42 +0100)]
[3274] Client classification for v6 implemented in CfgMgr
Tomek Mrugalski [Mon, 3 Feb 2014 20:15:23 +0000 (21:15 +0100)]
[3274] Client classification logic for IPv4 implemented.
Marcin Siodelski [Mon, 3 Feb 2014 19:41:04 +0000 (20:41 +0100)]
[3242] Use library with IfaceMgrTestConfig to test DHCPv4 server.
Tomek Mrugalski [Mon, 3 Feb 2014 19:33:33 +0000 (20:33 +0100)]
[3274] Subnets are now able to store client class information.
Thomas Markwalder [Mon, 3 Feb 2014 19:10:38 +0000 (14:10 -0500)]
[3221] Added use of dhcp_ddns::WatchSocket and additonal queue methods
Integrated use of WatchSocket to NameChangeSender and NameChangeUDPSender.
Added addtional methods for accessing sender's send queue.
Created include and source for common dhcp_ddns lib test components.
Tomek Mrugalski [Mon, 3 Feb 2014 18:53:14 +0000 (19:53 +0100)]
[3274] ClientClass added, Classes renamed to ClientClasses
Tomek Mrugalski [Mon, 3 Feb 2014 18:03:27 +0000 (19:03 +0100)]
[3274] Added Classes parameter to getSubnet{4,6} methods.
Tomek Mrugalski [Mon, 3 Feb 2014 17:50:24 +0000 (18:50 +0100)]
[3274] Added dhcp/classify.h
Marcin Siodelski [Mon, 3 Feb 2014 17:40:36 +0000 (18:40 +0100)]
[3242] Select subnet for renewing client using supplied ciaddr.
Tomek Mrugalski [Mon, 3 Feb 2014 16:47:56 +0000 (17:47 +0100)]
[3274] Support for relay information in parser for DHCPv6 added
Thomas Markwalder [Mon, 3 Feb 2014 16:34:45 +0000 (11:34 -0500)]
[3221] Add new class dhcp_ddns::WatchSocket
Added a new to libdhcp_ddns, WatchSocket. This class provides an open
file descriptor whose read-readiness can be set or cleared and checked
via select() or poll() variants.
Tomek Mrugalski [Mon, 3 Feb 2014 15:26:07 +0000 (16:26 +0100)]
[3315] Small cppcheck issue fixed
Tomek Mrugalski [Mon, 3 Feb 2014 15:25:43 +0000 (16:25 +0100)]
[3315] IPv6 tests for external sockets implemented.
Mukund Sivaraman [Mon, 3 Feb 2014 15:16:28 +0000 (20:46 +0530)]
[2430] Fix uppercase nibble test
(Was broken due to a bad copy and paste.)
Tomek Mrugalski [Mon, 3 Feb 2014 15:09:14 +0000 (16:09 +0100)]
[3315] Changes after review:
- SessionCallback renamed to SocketCallback
- Removed references in comments to session
- removed unused names string in receive{4,6}
- extended unit-test to check that unregistered callback is not
triggered
- Implemented similar tests for receive6()
- Fixed a bug that was revealed by those new unit-tests :)
Mukund Sivaraman [Mon, 3 Feb 2014 12:16:22 +0000 (17:46 +0530)]
Merge branch 'trac1366'
Marcin Siodelski [Mon, 3 Feb 2014 11:47:42 +0000 (12:47 +0100)]
[3242] Added a unit test to check one subnet selection for two ifaces.
Mukund Sivaraman [Mon, 3 Feb 2014 10:11:45 +0000 (15:41 +0530)]
Merge branch 'trac1796'
Mukund Sivaraman [Mon, 3 Feb 2014 09:09:58 +0000 (14:39 +0530)]
Merge branch 'trac1397'
Conflicts:
src/lib/dns/tests/rrset_unittest.cc
The merge conflict resolution was reviewed by Shane on Jabber.
Mukund Sivaraman [Mon, 3 Feb 2014 08:10:13 +0000 (13:40 +0530)]
[2430] Support nibble mode with $GENERATE
Mukund Sivaraman [Mon, 3 Feb 2014 08:04:46 +0000 (13:34 +0530)]
[2430] Rearrange code to be easier to follow
Mukund Sivaraman [Mon, 3 Feb 2014 07:38:51 +0000 (13:08 +0530)]
[2430] Support $GENERATE format modifiers
Supports everything except nibble mode. Nibble mode will come soon.
Mukund Sivaraman [Mon, 3 Feb 2014 05:29:23 +0000 (10:59 +0530)]
[2430] Use $GENERATE in NS records too
Mukund Sivaraman [Mon, 3 Feb 2014 05:23:01 +0000 (10:53 +0530)]
[2430] Add lettuce test for $GENERATE
Mukund Sivaraman [Sun, 2 Feb 2014 22:17:52 +0000 (03:47 +0530)]
[2430] Support basic $GENERATE in dns::MasterLoader
It doesn't support format specifiers given in {} yet. This will be added
in follow-up work on this branch.
Relative names are not permitted in the RHS of $GENERATE
statements. This is because the string version of createRdata() is used
to construct RDATA, which does not take an origin.
Tomek Mrugalski [Fri, 31 Jan 2014 19:13:58 +0000 (20:13 +0100)]
[3274] Relay info support added to DHCPv4 parsers.
Marcin Siodelski [Fri, 31 Jan 2014 19:03:51 +0000 (20:03 +0100)]
[3242] Adjusted unit tests to use correct subnets.
This change was necessary, because the recent changes to DHCPv4 imply that
subnet is selected for directly connected clients by matching the IPv4
address of the interface on which the message is received, with the
configured subnet.
Marcin Siodelski [Fri, 31 Jan 2014 18:43:07 +0000 (19:43 +0100)]
[3242] DHCPv4 server selects subnet for direct client using iface IP addr.
Marcin Siodelski [Fri, 31 Jan 2014 18:29:08 +0000 (19:29 +0100)]
[3242] Removed unused constant pointing to file carrying server id.
Tomek Mrugalski [Fri, 31 Jan 2014 17:25:59 +0000 (18:25 +0100)]
[3274] RelayInfo parser implemented.
Marcin Siodelski [Fri, 31 Jan 2014 13:10:44 +0000 (14:10 +0100)]
[3242] Implement function which returns subnet for the interface.
This function replaces the one that checked whether there is a subnet for
an interface and returns boolean value.
Marcin Siodelski [Fri, 31 Jan 2014 09:40:48 +0000 (10:40 +0100)]
[master] Added ChangeLog entry 744 for #3295.
Also, removed spurious whitespaces from 743.
Marcin Siodelski [Fri, 31 Jan 2014 09:22:25 +0000 (10:22 +0100)]
[master] Merge branch 'trac3295_2'
Conflicts:
src/bin/dhcp6/dhcp6_srv.cc
Shane Kerr [Fri, 31 Jan 2014 08:56:48 +0000 (09:56 +0100)]
Merge branch 'trac3010'
Mukund Sivaraman [Thu, 30 Jan 2014 05:47:43 +0000 (11:17 +0530)]
[2518] Introduce DNSTextError and remove generic catch for isc::Exception from the MasterLoader
Mukund Sivaraman [Fri, 31 Jan 2014 06:27:03 +0000 (11:57 +0530)]
[2539] Removed unnecessary assignments
Mukund Sivaraman [Fri, 31 Jan 2014 06:12:33 +0000 (11:42 +0530)]
[1366] Fix copyright year in file
Mukund Sivaraman [Fri, 31 Jan 2014 06:07:36 +0000 (11:37 +0530)]
[1366] Add unittests for DummyIOCallback
Mukund Sivaraman [Fri, 31 Jan 2014 05:23:36 +0000 (10:53 +0530)]
Merge branch 'trac3313'
Mukund Sivaraman [Fri, 31 Jan 2014 04:57:32 +0000 (10:27 +0530)]
Merge branch 'trac3314'
Mukund Sivaraman [Fri, 31 Jan 2014 04:43:53 +0000 (10:13 +0530)]
Merge branch 'trac3286'
Coleen O'Brien [Thu, 30 Jan 2014 23:14:47 +0000 (18:14 -0500)]
Updated bind_control.py which did not make it in in last commit - this
references the stored default_user.csv file so lettuce tests run.
Change reviewed by jreed in jabber.
Coleen O'Brien [Thu, 30 Jan 2014 20:56:00 +0000 (15:56 -0500)]
Modification to add default user for lettuce tests & reference this file
code review by jreed
Marcin Siodelski [Thu, 30 Jan 2014 19:45:55 +0000 (20:45 +0100)]
[3242] Use new IfaceMgr::getAddress function in CfgMgr.
Marcin Siodelski [Thu, 30 Jan 2014 19:12:28 +0000 (20:12 +0100)]
[3242] Implemented function which returns IPv4 address for interface.
Marcin Siodelski [Thu, 30 Jan 2014 18:29:33 +0000 (19:29 +0100)]
[3242] Added function to check that the iface's address belongs to subnet.
Marcin Siodelski [Thu, 30 Jan 2014 18:27:55 +0000 (19:27 +0100)]
[3242] Created a test library to create fake interfaces in IfaceMgr.
Thomas Markwalder [Thu, 30 Jan 2014 15:09:28 +0000 (10:09 -0500)]
[master] Added ChangeLog entry 743 for trac# 3282.
Thomas Markwalder [Thu, 30 Jan 2014 14:48:32 +0000 (09:48 -0500)]
[master] Merge branch 'trac3282'
Implements use of dhcp-ddns configuration parameters in b10-dhcp4.
Tomek Mrugalski [Thu, 30 Jan 2014 14:29:08 +0000 (15:29 +0100)]
[3315] Support for multiple external sockets in dhcp::IfaceMgr
Mukund Sivaraman [Thu, 30 Jan 2014 13:08:08 +0000 (18:38 +0530)]
[3286] Make fromWire() always start reading from position 0 in the passed buffer
This fixes a bug which occurs if parseHeader() is called separately from
fromWire().
Kean Johnston [Thu, 30 Jan 2014 10:31:23 +0000 (12:31 +0200)]
Merge branch 'trac3285'
JINMEI Tatuya [Thu, 30 Jan 2014 07:47:28 +0000 (13:17 +0530)]
[3314] Add a catch-all to logger Formatter destructor
Mukund Sivaraman [Thu, 30 Jan 2014 06:46:06 +0000 (12:16 +0530)]
[3286] Clear Message before parsing fromWire()
Mukund Sivaraman [Thu, 30 Jan 2014 06:20:29 +0000 (11:50 +0530)]
[1366] Throw an exception if DummyIOCallback() is called
Jeremy C. Reed [Thu, 30 Jan 2014 06:17:28 +0000 (11:47 +0530)]
[1366] Update doc of dummy_io_cb.h
Mukund Sivaraman [Thu, 30 Jan 2014 05:32:51 +0000 (11:02 +0530)]
[master] Add ChangeLog entry for #2756
Mukund Sivaraman [Thu, 30 Jan 2014 05:30:03 +0000 (11:00 +0530)]
[master] Reformat last ChangeLog entry
Mukund Sivaraman [Thu, 30 Jan 2014 05:28:12 +0000 (10:58 +0530)]
Merge branch 'trac2756'
Mukund Sivaraman [Thu, 30 Jan 2014 05:22:21 +0000 (10:52 +0530)]
Merge branch 'trac2517'
Mukund Sivaraman [Thu, 30 Jan 2014 05:14:01 +0000 (10:44 +0530)]
[3313] Make minor optimization of wildcard concatenation in database datasource
Shane Kerr [Wed, 29 Jan 2014 22:07:44 +0000 (23:07 +0100)]
[3010] Avoid signed integer overflow
Stephen Morris [Wed, 29 Jan 2014 20:12:28 +0000 (20:12 +0000)]
[3305] Build the hooks test libraries in the test directory
Stephen Morris [Wed, 29 Jan 2014 19:52:50 +0000 (19:52 +0000)]
[3305] Do not install hooks test libraries
Mukund Sivaraman [Wed, 29 Jan 2014 16:56:46 +0000 (22:26 +0530)]
[3312] Remove redundant variable (cppcheck report)
Mukund Sivaraman [Wed, 29 Jan 2014 16:52:42 +0000 (22:22 +0530)]
[3312] Avoid C++ language parser warning of uninitialized variable
Mukund Sivaraman [Wed, 29 Jan 2014 16:40:40 +0000 (22:10 +0530)]
[3312] Pass variables by reference (cppcheck report, etc.)
Mukund Sivaraman [Wed, 29 Jan 2014 16:34:29 +0000 (22:04 +0530)]
[3312] Reduce scope of variables (cppcheck report)
Shane Kerr [Wed, 29 Jan 2014 15:24:08 +0000 (16:24 +0100)]
Add ChangeLog entry fro #3099
Shane Kerr [Wed, 29 Jan 2014 15:19:56 +0000 (16:19 +0100)]
Merge branch 'trac3099'
Thomas Markwalder [Wed, 29 Jan 2014 14:51:59 +0000 (09:51 -0500)]
[3282] Addressed review comments.
Most notable change is the removeal of the remove-on-renew
configuration parameter. Other changes were to commentary
or minor code improvements.
Marcin Siodelski [Wed, 29 Jan 2014 14:33:43 +0000 (15:33 +0100)]
[3295] Do not generate NCRs if DDNS is disabled.
This is a result of the second review.
Mukund Sivaraman [Wed, 29 Jan 2014 13:41:38 +0000 (19:11 +0530)]
Merge branch 'trac2443'
Mukund Sivaraman [Wed, 29 Jan 2014 13:17:51 +0000 (18:47 +0530)]
[1397] Add missing TreeNodeRRset::addRdata() implementation for new interface
Marcin Siodelski [Wed, 29 Jan 2014 12:03:16 +0000 (13:03 +0100)]
[3295] Addressed review comments.
Mukund Sivaraman [Wed, 29 Jan 2014 10:48:29 +0000 (16:18 +0530)]
Merge branch 'trac1396'
Mukund Sivaraman [Wed, 29 Jan 2014 10:45:46 +0000 (16:15 +0530)]
[master] Add ChangeLog entry for #3239
Mukund Sivaraman [Wed, 29 Jan 2014 09:56:32 +0000 (15:26 +0530)]
Merge branch 'trac3239_3'
Mukund Sivaraman [Wed, 29 Jan 2014 07:03:07 +0000 (12:33 +0530)]
[3301] Wait for new message XFRIN log messages
This reverts changes that were made in commit
199beea87baee4dd3d4339ec20c32d0d2cb47f40 . It seems that commit removed
the wait for a "new" logged message, and introduced the regression in
Without waiting for a new log message, the check matches log messages
that were generated by initial AXFR during startup of the secondary
("bind10") instance.