]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Tue, 17 Dec 2013 16:38:47 +0000 (11:38 -0500)]
[3088] Minor review fixes.
Fixed two missed minor cleanups from the initial review.
Thomas Markwalder [Tue, 17 Dec 2013 13:43:10 +0000 (08:43 -0500)]
[3088] Addressed review changes.
Changes are largely clean up and commentary.
Kean Johnston [Tue, 17 Dec 2013 11:12:29 +0000 (13:12 +0200)]
[3267] Use local #include directives
Some files were using #include <full/path/to/header> syntax which is
not desirable as the directory may move about in the source tree, and
all of the files it was including are local to perfdhcp so they should
be using #include "filename.h".
Kean Johnston [Tue, 17 Dec 2013 05:33:22 +0000 (07:33 +0200)]
[master] Fix building with srcdir != objdir
Recent changes to the perfdhcp tool introduced a new breakage when
configuring with srcdir != objdir. These were introuced by the code
using #include <tests/tools/perfdhcp/SOME_FILE.h> but there were no
-I flags set to allow for including files from the top level.
Tomek Mrugalski [Mon, 16 Dec 2013 17:31:24 +0000 (18:31 +0100)]
[master] Merge branch 'trac3210' (DHCPv4 client-id echo config parameter)
Conflicts:
ChangeLog
doc/guide/bind10-guide.xml
Tomek Mrugalski [Mon, 16 Dec 2013 17:28:42 +0000 (18:28 +0100)]
[3210] Changes after review:
- flag => configuration parameter
- echoClientId test uses ASSERTs rather than EXPECTs
Tomek Mrugalski [Fri, 13 Dec 2013 19:28:50 +0000 (20:28 +0100)]
[master] ChangeLog commit-id updated
Tomek Mrugalski [Fri, 13 Dec 2013 18:45:48 +0000 (19:45 +0100)]
[2246] Another Solaris 11 compilation fix
Tomek Mrugalski [Fri, 13 Dec 2013 16:04:47 +0000 (17:04 +0100)]
[2246] Merge branch 'master' into trac2246 (includes #1824 fix)
Conflicts:
ChangeLog
Tomek Mrugalski [Fri, 13 Dec 2013 14:54:27 +0000 (15:54 +0100)]
[3210] Redundant statements in Dhcpv4SrvTest.requestEchoClientId removed
Tomek Mrugalski [Fri, 13 Dec 2013 14:47:36 +0000 (15:47 +0100)]
[3210] Changes after review:
- tests/methods descriptions improved
- CfgMgrTest.echoClientId improved
- Redundant checks removed from Dhcpv4SrvTest.discoverEchoClientId
- BIND10 Guide clarified
- ChangeLog added
Marcin Siodelski [Fri, 13 Dec 2013 13:10:27 +0000 (14:10 +0100)]
[3251] Add control whether socket is to join multicast group.
Tomek Mrugalski [Fri, 13 Dec 2013 13:04:17 +0000 (14:04 +0100)]
[2246] Solaris compilation fix
Marcin Siodelski [Fri, 13 Dec 2013 10:19:12 +0000 (11:19 +0100)]
[3251] Added section to developer guide about packet filters in DHCPv6.
Tomek Mrugalski [Fri, 13 Dec 2013 10:17:43 +0000 (11:17 +0100)]
[2246] Merge branch 'master' into trac2246
Conflicts:
ChangeLog
Marcin Siodelski [Fri, 13 Dec 2013 09:30:34 +0000 (10:30 +0100)]
[3251] Fixed doxygen errors in the new PktFilter6 class.
Marcin Siodelski [Fri, 13 Dec 2013 09:25:42 +0000 (10:25 +0100)]
[3251] Additional unit test for the case when there are no interfaces.
Marcin Siodelski [Fri, 13 Dec 2013 06:28:16 +0000 (07:28 +0100)]
[3251] Implemented basic tests for IfaceMgr::openSockets6.
Marcin Siodelski [Thu, 12 Dec 2013 18:00:57 +0000 (19:00 +0100)]
[3251] Make IfaceMgr use PktFilterInet6 object to send/recv DHCP messages.
Marcin Siodelski [Thu, 12 Dec 2013 12:57:50 +0000 (13:57 +0100)]
[3251] Implemented PktFilterInet6 class to handle IP/UDP sockets for DHCPv6
Thomas Markwalder [Wed, 11 Dec 2013 20:27:23 +0000 (15:27 -0500)]
[3088] Corrected commentary RFC references.
d2/nc_add.cc contained some inaccurate RFC references.
Thomas Markwalder [Wed, 11 Dec 2013 18:14:41 +0000 (13:14 -0500)]
[master] Correct trac numbers for ChangeLog entries 711 and 713
Marcin Siodelski [Wed, 11 Dec 2013 17:30:36 +0000 (18:30 +0100)]
[3251] Added an abstract class to handle IPv6 sockets in libdhcp++.
Thomas Markwalder [Wed, 11 Dec 2013 16:16:36 +0000 (11:16 -0500)]
[3088] Added DNS request construction to d2::NameRemoveTransaction
Added methods for constructing all three types of DNS update requests
required by d2::NameRemoveTransaction to complete the implementation of its
state machine. Also refactored some unit test code into nc_test_utils.h
and .cc. Renamed request verification functions in nc_test_utils to match
the build request function names.
Marcin Siodelski [Wed, 11 Dec 2013 08:39:49 +0000 (09:39 +0100)]
[master] Added ChangeLog entry for #2772.
Marcin Siodelski [Wed, 11 Dec 2013 08:35:11 +0000 (09:35 +0100)]
[master] Merge branch 'trac2772'
Marcin Siodelski [Wed, 11 Dec 2013 08:32:29 +0000 (09:32 +0100)]
[master] Added ChangeLog entry for #3181.
Marcin Siodelski [Wed, 11 Dec 2013 06:27:17 +0000 (07:27 +0100)]
[master] Merge branch 'trac3181'
Tomek Mrugalski [Tue, 10 Dec 2013 18:19:31 +0000 (19:19 +0100)]
[2246] Changes after review:
- another patch contributed by dclink (thanks!)
- BIND10 Guide updated
- BSD/Sun interface detection cleaned up
- MAC address checking improved
- Developer's guide updated
- Several whitespace cleanups
Marcin Siodelski [Tue, 10 Dec 2013 15:37:38 +0000 (16:37 +0100)]
[master] Added Changelog entry for #1824.
Marcin Siodelski [Tue, 10 Dec 2013 15:15:36 +0000 (16:15 +0100)]
[master] Merge branch 'trac1824'
Marcin Siodelski [Tue, 10 Dec 2013 13:10:40 +0000 (14:10 +0100)]
[3181] Addressed review comments.
Marcin Siodelski [Mon, 9 Dec 2013 18:50:00 +0000 (19:50 +0100)]
[2772] The private DHCPv4 opts (code > 224) are not standard opts.
Marcin Siodelski [Mon, 9 Dec 2013 17:11:26 +0000 (18:11 +0100)]
[1824] More descriptive error strings if the sendmsg function fails.
Marcin Siodelski [Mon, 9 Dec 2013 16:40:54 +0000 (17:40 +0100)]
[1824] Use CMSG_SPACE instead of CMSG_LEN to set msg_controllen.
Both macros should be accepted, but CMSG_LEN appears not to work on
OpenBSD.
Jeremy C. Reed [Mon, 9 Dec 2013 15:45:50 +0000 (09:45 -0600)]
[master] fix three misspelling typos
Jeremy C. Reed [Mon, 9 Dec 2013 15:41:43 +0000 (09:41 -0600)]
[master] fix misspelling typo in comment
Kean Johnston [Mon, 9 Dec 2013 06:40:34 +0000 (08:40 +0200)]
[master] Use tput rather than hard-coded escape sequences
Rather than using terminal-specific hard-coded escape sequences that are
not guaranteed to work on all terminals, use the tput utility. Also use
the terminal defined standout mode rather than trying to set a specific
colour. The old way enabled bright yellow text which, while very visible
if your background is black, is all but invisible if your terminal
background is white.
Kean Johnston [Sun, 8 Dec 2013 09:48:44 +0000 (11:48 +0200)]
[2103] Merge branch 'trac2103'
Kean Johnston [Sun, 8 Dec 2013 09:47:10 +0000 (11:47 +0200)]
Merge branch 'trac2103' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2103
Francis Dupont [Mon, 2 Dec 2013 09:28:34 +0000 (11:28 +0200)]
[2103] Use asio::error_code so its resources are correctly freed
Kean Johnston [Sun, 8 Dec 2013 09:37:11 +0000 (11:37 +0200)]
[1501] Merge branch 'trac1501'
Thomas Markwalder [Fri, 6 Dec 2013 21:28:02 +0000 (16:28 -0500)]
[3088] Initial implementation of d2::NameRemoveTransaction
Interrim check-in for 3088, which introduces the initial
implementation of d2:NameRemoveTransaction. This class
implements the state model logic necessary for removing
DNS entries per RFC 4703. The state model logic is
complete, what remains is the logic to build the actual
request messages.
Thomas Markwalder [Fri, 6 Dec 2013 19:23:59 +0000 (14:23 -0500)]
Merge branch 'master'
Remerged to pick up changes for trac3241, that
were merged but not pushed.
Tomek Mrugalski [Fri, 6 Dec 2013 19:03:23 +0000 (20:03 +0100)]
[master] Merge branch 'trac3109' (Contributor's Guide)
Conflicts:
ChangeLog
Thomas Markwalder [Fri, 6 Dec 2013 17:06:01 +0000 (12:06 -0500)]
[master] Added ChangeLog entry #713 for Trac# 3241.
Thomas Markwalder [Fri, 6 Dec 2013 16:25:30 +0000 (11:25 -0500)]
Merge branch 'trac3241'
Adds DNS update request building to d2::NameAddTransaction.
Marcin Siodelski [Fri, 6 Dec 2013 15:25:08 +0000 (16:25 +0100)]
[3181] Temporarily disable displaying orphan messages.
Marcin Siodelski [Fri, 6 Dec 2013 15:16:39 +0000 (16:16 +0100)]
[3181] Fixed doxygen errors in perfdhcp.
Marcin Siodelski [Fri, 6 Dec 2013 13:14:47 +0000 (14:14 +0100)]
[3181] Added a RateControl class omitted in the previous commit.
Marcin Siodelski [Fri, 6 Dec 2013 13:08:05 +0000 (14:08 +0100)]
[3181] Moved perfdhcp rate control logic to a new class.
Mukund Sivaraman [Fri, 6 Dec 2013 09:37:09 +0000 (15:07 +0530)]
[3239] Update exception messages returned when types mismatch
We include the type of the received value so that the user can see the
type mismatch more clearly from the returned exception message.
Mukund Sivaraman [Fri, 6 Dec 2013 09:28:00 +0000 (14:58 +0530)]
[3239] Expand documentation on configuration data type syntax
Mukund Sivaraman [Fri, 6 Dec 2013 09:22:08 +0000 (14:52 +0530)]
[3239] Update comment
Thomas Markwalder [Thu, 5 Dec 2013 18:20:54 +0000 (13:20 -0500)]
[3241] Addressed review comments.
Changed dhcp_ddns::NameChangeRequest to store lease address as
IOAddress only. Corrected logic that handles request build
exceptions and added unit tests for same. Other minor changes.
Tomek Mrugalski [Thu, 5 Dec 2013 18:10:43 +0000 (19:10 +0100)]
[3109] ChangeLog updated
Tomek Mrugalski [Thu, 5 Dec 2013 18:10:20 +0000 (19:10 +0100)]
[3109] Added proposed chages in review:
- eased language
- added link to system specific notes
- fixed coding guidelines link to look better
- added link to our build farm
Mukund Sivaraman [Thu, 5 Dec 2013 12:08:23 +0000 (17:38 +0530)]
[1501] Change language to say it may cause errors
Marcin Siodelski [Thu, 5 Dec 2013 06:30:12 +0000 (07:30 +0100)]
[3181] Added an exchange name for Release-Reply in perfdhcp StatsMgr.
Tomek Mrugalski [Wed, 4 Dec 2013 19:25:12 +0000 (20:25 +0100)]
[master] fix for IfaceMgrTest.sendReceive6 failing on FreeBSD
Marcin Siodelski [Wed, 4 Dec 2013 18:37:11 +0000 (19:37 +0100)]
[3181] Reset the time stamp of the last sent release.
Marcin Siodelski [Wed, 4 Dec 2013 17:34:34 +0000 (18:34 +0100)]
[3181] Fixed error in perfdhcp doxygen documentation.
Marcin Siodelski [Wed, 4 Dec 2013 15:43:08 +0000 (16:43 +0100)]
[master] Added ChangeLog entry for #2765.
Marcin Siodelski [Wed, 4 Dec 2013 15:38:35 +0000 (16:38 +0100)]
[master] Merge branch 'trac2765'
Mukund Sivaraman [Wed, 4 Dec 2013 15:15:35 +0000 (20:45 +0530)]
[master] Delete trailing space and reindent ChangeLog entry
Mukund Sivaraman [Wed, 4 Dec 2013 15:15:14 +0000 (20:45 +0530)]
[master] Fix ChangeLog numbers
Marcin Siodelski [Wed, 4 Dec 2013 15:13:55 +0000 (16:13 +0100)]
[2765] Fixed typo in the libdhcp++ developer's guide.
Marcin Siodelski [Wed, 4 Dec 2013 15:09:06 +0000 (16:09 +0100)]
[3181] Send Release messages if -F<release-rate> is specified.
Thomas Markwalder [Wed, 4 Dec 2013 13:12:53 +0000 (08:12 -0500)]
[3241] Add ability to build DNS update requests to d2::NameAddTransaction
Added methods for constructing all three types of DNS update requests
required by d2::NameAddTransaction to complete the implementation of its
state machine. Also refactored some unit test code into nc_test_utils.h
and .cc, and ran much needed spell checking.
Marcin Siodelski [Wed, 4 Dec 2013 08:50:13 +0000 (09:50 +0100)]
[3181] Added common function to create DHCPv6 Release and Renew messages
Thomas Markwalder [Tue, 3 Dec 2013 18:04:37 +0000 (13:04 -0500)]
[master] Added ChangeLog entry 801 for Trac# 3087.
Marcin Siodelski [Tue, 3 Dec 2013 17:23:25 +0000 (18:23 +0100)]
[3181] Moved -f and -F perfdhcp parameters to a DHCPv6 only options.
Marcin Siodelski [Tue, 3 Dec 2013 17:14:06 +0000 (18:14 +0100)]
[3181] Added support for the new perfdhcp command line option: release-rate
Marcin Siodelski [Tue, 3 Dec 2013 16:24:43 +0000 (17:24 +0100)]
[3181] Fixed bug which caused wrong calculation of a timeout for receiving.
Thomas Markwalder [Tue, 3 Dec 2013 15:56:06 +0000 (10:56 -0500)]
Merge branch 'trac3087'
Thomas Markwalder [Tue, 3 Dec 2013 15:48:10 +0000 (10:48 -0500)]
[3087] Minor review corrections.
Fixed a typo and added a bit more diagnostic output to two unit tests.
Mukund Sivaraman [Tue, 3 Dec 2013 14:22:08 +0000 (19:52 +0530)]
[master] Make some minor text updates
Mukund Sivaraman [Tue, 3 Dec 2013 14:21:43 +0000 (19:51 +0530)]
[master] Replace redundant resolver cache design document with one that supercedes it
Marcin Siodelski [Tue, 3 Dec 2013 13:35:37 +0000 (14:35 +0100)]
[2765] Added unit test description in IfaceMgr unit tests.
Marcin Siodelski [Tue, 3 Dec 2013 13:02:21 +0000 (14:02 +0100)]
[2765] Added throw tag to the openFallbackSocket function.
Marcin Siodelski [Tue, 3 Dec 2013 12:58:31 +0000 (13:58 +0100)]
[2765] Addressed review comments.
Thomas Markwalder [Mon, 2 Dec 2013 21:18:44 +0000 (16:18 -0500)]
[3087] Additional minor review updates.
Minor corrections based on re-review.
Kean Johnston [Mon, 2 Dec 2013 14:06:38 +0000 (16:06 +0200)]
[1501] Added warning about -j to BIND guide
Kean Johnston [Mon, 2 Dec 2013 14:06:17 +0000 (16:06 +0200)]
[1501] Added warning about -j to configure output
Thomas Markwalder [Mon, 2 Dec 2013 13:18:00 +0000 (08:18 -0500)]
[3087] Minor corrections for D2 unit tests
Addressed minor compilation issues in nc_trans_unittests.cc under
FreeBSD.
Marcin Siodelski [Mon, 2 Dec 2013 10:58:18 +0000 (11:58 +0100)]
[2765] Updated Developer's guide with the section about raw sockets use.
Kean Johnston [Mon, 2 Dec 2013 09:28:34 +0000 (11:28 +0200)]
[2103] Use asio::error_code so its resources are correctly freed
Marcin Siodelski [Fri, 29 Nov 2013 17:59:05 +0000 (18:59 +0100)]
[2765] Fixed a typo in the doxygen documentation.
Marcin Siodelski [Fri, 29 Nov 2013 17:54:48 +0000 (18:54 +0100)]
[2765] Pass error handler when opening sockets in the constructor.
Marcin Siodelski [Fri, 29 Nov 2013 17:45:38 +0000 (18:45 +0100)]
[2765] Initialize variable used in unit test to prevent compilation failure
Thomas Markwalder [Fri, 29 Nov 2013 14:46:05 +0000 (09:46 -0500)]
3087 Addressed review comments
Good deal of commentary clean up, rolled back IOService reference
changes to DNSClient, and most significantly added unit tests
for NameChangeTransaction::sendUpdate. These tests involve an
actual message exchange.
Marcin Siodelski [Fri, 29 Nov 2013 13:58:52 +0000 (14:58 +0100)]
[2765] Fix an order of parameters passed to the SocketInfo constructor.
Marcin Siodelski [Fri, 29 Nov 2013 12:57:18 +0000 (13:57 +0100)]
[2765] Fixed error handling in the IfaceMgr::openSockets4.
Marcin Siodelski [Fri, 29 Nov 2013 12:30:03 +0000 (13:30 +0100)]
[2765] Invoke error handler if the interface opening failed.
Marcin Siodelski [Thu, 28 Nov 2013 18:16:36 +0000 (19:16 +0100)]
[2765] Improved commentary in the IfaceMgr.
Marcin Siodelski [Thu, 28 Nov 2013 17:46:53 +0000 (18:46 +0100)]
[2765] Gracefully handle socket opening errors in the IfaceMgr.
Also, implemented missing unit tests for the Iface function which opens
v4 sockets in IfaceMgr.
Marcin Siodelski [Wed, 27 Nov 2013 12:50:32 +0000 (13:50 +0100)]
[2765] Receive and discard data from the fallback socket.
Marcin Siodelski [Wed, 27 Nov 2013 10:46:29 +0000 (11:46 +0100)]
[2765] Implemented common utility functions for the PktFilter tests.
Marcin Siodelski [Tue, 26 Nov 2013 18:10:35 +0000 (19:10 +0100)]
[2765] Close fallback sockets together with primary sockets.
Marcin Siodelski [Tue, 26 Nov 2013 18:00:47 +0000 (19:00 +0100)]
[2765] Open fallback socket when LPF is used.