]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Wed, 4 Jun 2014 10:38:23 +0000 (12:38 +0200)]
[master] Merge branch 'trac3336'
Marcin Siodelski [Wed, 4 Jun 2014 10:25:03 +0000 (12:25 +0200)]
[3336] Minor changes after the second review.
Fixed one typo and clarified in the configuration examples that it is up
to the client to pick the renew and rebind timers if the server doesn't
send option 58 and 59.
Marcin Siodelski [Tue, 3 Jun 2014 18:47:51 +0000 (20:47 +0200)]
[3451] Removed unused structure field in the Postgres SQL backend.
The presence of this field caused cppcheck failures.
Marcin Siodelski [Tue, 3 Jun 2014 17:12:59 +0000 (19:12 +0200)]
[3336] Renew and Rebind timers optional in the config example for DHCPv4.
Marcin Siodelski [Tue, 3 Jun 2014 17:06:09 +0000 (19:06 +0200)]
[master] Merge branch 'master' into trac3336
Marcin Siodelski [Tue, 3 Jun 2014 17:05:48 +0000 (19:05 +0200)]
[3336] Addressed review comments.
Marcin Siodelski [Tue, 3 Jun 2014 16:04:34 +0000 (18:04 +0200)]
[3405] Minor fix in the bundy_controller for DHCPv4.
Marcin Siodelski [Tue, 3 Jun 2014 15:42:52 +0000 (17:42 +0200)]
[3405] Signal set can handle a signal it owns.
Tomek Mrugalski [Tue, 3 Jun 2014 14:34:54 +0000 (16:34 +0200)]
[3413] Several build steps no longer require python3
- *.spec files in src/lib/dns/tests/testsdata are now included in dist
- src/lib/util/pyunittests is removed
- src/lib/util/python trimmed down a lot
- fix for missing dhcp6_shutdown_test.sh in src/bin/dhcp6
- many python macros in configure.ac removed
(more of them to be removed in Makefiles)
Marcin Siodelski [Tue, 3 Jun 2014 13:59:25 +0000 (15:59 +0200)]
[3405] Updated developer's guide with respect to the dynamic reconfigure.
Tomek Mrugalski [Tue, 3 Jun 2014 12:04:03 +0000 (14:04 +0200)]
[3413] setproctitle check removed from configure.ac
Tomek Mrugalski [Tue, 3 Jun 2014 11:36:31 +0000 (13:36 +0200)]
[3413] sqlite scripts removed.
Tomek Mrugalski [Tue, 3 Jun 2014 11:00:33 +0000 (13:00 +0200)]
[3413] *.wire files are no longer generated on the fly
- added generate *.wire files to repo, so python generator is
no longer needed
Tomek Mrugalski [Tue, 3 Jun 2014 10:59:10 +0000 (12:59 +0200)]
[3413] Compilation fix after recent changes.
Marcin Siodelski [Tue, 3 Jun 2014 10:13:56 +0000 (12:13 +0200)]
[3405] Clean log files after test of signal handling.
Marcin Siodelski [Tue, 3 Jun 2014 10:11:50 +0000 (12:11 +0200)]
[3405] Renamed tests for signal handlers.
Marcin Siodelski [Tue, 3 Jun 2014 10:08:23 +0000 (12:08 +0200)]
[3405] Install signal handlers in DHCPv4 server.
Tomek Mrugalski [Tue, 3 Jun 2014 09:58:35 +0000 (11:58 +0200)]
[3413] libdns++ is now less python dependent
- no longer builds src/lib/dns/python directory
- gen-rdatacode.py is no longer necessary for build
Marcin Siodelski [Tue, 3 Jun 2014 09:56:30 +0000 (11:56 +0200)]
[3405] Fixed line break in the signal handling test for DHCPv6.
Marcin Siodelski [Tue, 3 Jun 2014 09:54:57 +0000 (11:54 +0200)]
[3405] Added unit tests for signal handling in DHCPv4 server.
Marcin Siodelski [Tue, 3 Jun 2014 09:09:58 +0000 (11:09 +0200)]
[3405] Globally check for duplicated signals in SignalSets.
Marcin Siodelski [Mon, 2 Jun 2014 17:33:47 +0000 (19:33 +0200)]
[3405] Cleanup in the isc::util::io::SignalSet class.
Marcin Siodelski [Mon, 2 Jun 2014 16:49:10 +0000 (18:49 +0200)]
[3405] Use SignalSet class to handle signals in DHCPv6 server.
Marcin Siodelski [Thu, 29 May 2014 17:30:39 +0000 (19:30 +0200)]
[3405] Implemented Signal set class to monitor signals.
Tomek Mrugalski [Mon, 2 Jun 2014 20:05:32 +0000 (22:05 +0200)]
[3413] src/lib/python removed :)
Tomek Mrugalski [Mon, 2 Jun 2014 19:14:08 +0000 (21:14 +0200)]
[3413] BIND10 framework removal, part 1
Tomek Mrugalski [Mon, 2 Jun 2014 17:44:33 +0000 (19:44 +0200)]
[master] Merge branch 'trac3399' [Kea4 reads config from JSON file]
Conflicts:
ChangeLog
src/bin/dhcp6/kea_controller.cc
src/lib/dhcpsrv/daemon.h
Tomek Mrugalski [Mon, 2 Jun 2014 17:18:29 +0000 (19:18 +0200)]
[3399] Parameters are now printed during exception
Tomek Mrugalski [Fri, 30 May 2014 13:06:45 +0000 (15:06 +0200)]
[3399] Updated comments in kea_controller_unittest.cc
Tomek Mrugalski [Fri, 30 May 2014 12:39:52 +0000 (14:39 +0200)]
[3399] Kea config backend no longer silently ignores NULL configuration results
Tomek Mrugalski [Fri, 30 May 2014 12:24:25 +0000 (14:24 +0200)]
[3399] Changes after review
- ChangLog updated (b10-dhcp4 => DHCPv4 server)
- stand-alone mode removed in Kea4,Kea6
- getInstance() used instead of server_
- ctrl_dhcp4_srv.cc: one stringstream instance now shared by all error messages
- ctrl_dhcp4_srv.h: comments cleaned up
- Added log message for received configuration
- kea_controller.cc: Unnecessary header/using namespace removed
- *.json files are now cleaned up in src/bin/dhcp4/tests
- added comment that explains lack of tests for Bundy backend
- kea_controller_unittest.cc now uses the same filename everywhere
Changes also applied to Kea6 (where applicable).
Marcin Siodelski [Thu, 29 May 2014 08:23:00 +0000 (10:23 +0200)]
[master] Added Changelog entry for #3406.
Marcin Siodelski [Wed, 28 May 2014 20:19:27 +0000 (22:19 +0200)]
[master] Merge branch 'trac3406'
Marcin Siodelski [Wed, 28 May 2014 18:12:10 +0000 (20:12 +0200)]
[3406] Ignore window size when calling ps to get process pid.
Without that change the name of the process will be truncated if the
command line to start the process is out of bounds of the window size.
When running unit tests on the build farm there is in fact no window so
the ps function wouldn't find a pid of Kea and the shell-based tests
would fail.
Marcin Siodelski [Wed, 28 May 2014 13:55:28 +0000 (15:55 +0200)]
[3406] Moved script with common functions to testutils.
Thomas Markwalder [Wed, 28 May 2014 13:24:07 +0000 (09:24 -0400)]
[master] Broken unit test in D2 after merging in 3432
Thomas Markwalder [Wed, 28 May 2014 11:46:12 +0000 (07:46 -0400)]
[master] Added ChangeLog entry 786 for trac3432
Thomas Markwalder [Wed, 28 May 2014 11:40:34 +0000 (07:40 -0400)]
[master] Merge branch 'trac3432'
Implements TSIG in D2
Fixed Conflicts:
src/bin/d2/nc_trans.cc
src/bin/d2/nc_trans.h
src/bin/d2/tests/nc_test_utils.cc
src/bin/d2/tests/nc_trans_unittests.cc
Thomas Markwalder [Wed, 28 May 2014 11:10:59 +0000 (07:10 -0400)]
[3432] Updated unit test commentary
Marcin Siodelski [Wed, 28 May 2014 11:08:14 +0000 (13:08 +0200)]
[3406] Addressed review comments.
Marcin Siodelski [Tue, 27 May 2014 18:09:10 +0000 (20:09 +0200)]
[3336] Renew and Rebind timers are optional in the dhcp4.spec.
Marcin Siodelski [Tue, 27 May 2014 17:58:11 +0000 (19:58 +0200)]
[3336] DHCPv4 server includes renew and rebind timers when specified.
Marcin Siodelski [Tue, 27 May 2014 16:55:17 +0000 (18:55 +0200)]
[3336] renew-timer and rebind-timer are optional parameters in Kea4.
Thomas Markwalder [Tue, 27 May 2014 15:05:20 +0000 (11:05 -0400)]
[3432] Addressed review comments
Consolidated DNSClient::doUpdate variants into a single method which
accepts a smart pointer to a TSIGKey instead of TSIGKey reference.
Simplified some unit tests.
Added missing commentary.
Corrected typos and copyright dates.
Marcin Siodelski [Tue, 27 May 2014 13:20:37 +0000 (15:20 +0200)]
[3336] It is now possible to mark triplet unspecified.
Marcin Siodelski [Tue, 27 May 2014 13:23:27 +0000 (15:23 +0200)]
[3336] Little cleanup in the Triplet class.
Marcin Siodelski [Mon, 26 May 2014 16:14:51 +0000 (18:14 +0200)]
[3399] Corrected a couple of typos and little errors spotted in review.
Stephen Morris [Mon, 26 May 2014 12:48:05 +0000 (13:48 +0100)]
[3432] Miscellaneous modifications to DHCP-DDNS documentation made during review
Jeremy C. Reed [Fri, 23 May 2014 18:10:09 +0000 (18:10 +0000)]
Merge branch 'master' of git://git.kea.isc.org/kea
Jeremy C. Reed [Fri, 23 May 2014 18:06:09 +0000 (18:06 +0000)]
adjust report-cpp-coverage make target
exclude include/ so will remove /usr/local/include too
also add a hack to change the paths to be consistent
in the case that the directory the job is done in is a symlink
to another directory.
(Alternative method would be to run the lcov tool multiple times
for each path and set the base-directory switch plus add-tracefile
switch to combine.)
I didn't get this reviewed. I am under assuption that this make target
is rarely used.
Tomek Mrugalski [Fri, 23 May 2014 17:14:24 +0000 (19:14 +0200)]
[3399] make distcheck clean-up
Tomek Mrugalski [Fri, 23 May 2014 17:14:08 +0000 (19:14 +0200)]
[3399] make distcheck patch
Marcin Siodelski [Fri, 23 May 2014 17:12:32 +0000 (19:12 +0200)]
[3406] Fixed cleanup in signal handling tests for DHCPv6.
Tomek Mrugalski [Fri, 23 May 2014 17:10:40 +0000 (19:10 +0200)]
[master] make distcheck fix
Tomek Mrugalski [Fri, 23 May 2014 16:42:32 +0000 (18:42 +0200)]
[3399] Two example Kea4 configs added.
Tomek Mrugalski [Fri, 23 May 2014 16:40:57 +0000 (18:40 +0200)]
[3399] Documentation updated.
Tomek Mrugalski [Fri, 23 May 2014 16:40:28 +0000 (18:40 +0200)]
[3399] Prototype for a test that loads example config files.
Marcin Siodelski [Fri, 23 May 2014 15:34:39 +0000 (17:34 +0200)]
[3406] Use absolute paths to imported shell libs, in DHCPv6 tests.
Marcin Siodelski [Fri, 23 May 2014 15:07:03 +0000 (17:07 +0200)]
[3406] Implemented support for SIGTERM and SIGINT signals handling.
Marcin Siodelski [Fri, 23 May 2014 14:53:32 +0000 (16:53 +0200)]
[3406] Use common test library for reconfigure test.
Marcin Siodelski [Fri, 23 May 2014 14:21:38 +0000 (16:21 +0200)]
[3406] Implemented test checking graceful server shutdown.
Marcin Siodelski [Fri, 23 May 2014 08:03:24 +0000 (10:03 +0200)]
[master] Bumped up timeout values in D2 controller tests.
On the FreeBSD10 system installed on the physical machine with the CPU:
(Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz), Kea compiled with clang 3.3,
it takes slightly more than 2100ms (the previous timeout value) for the
callback to occur. This seems to be specific to this system but on the
other hand we don't test on FreeBSDs a lot, so the problem may be more
common than we think. This was okayed on Jabber.
Marcin Siodelski [Fri, 23 May 2014 06:55:29 +0000 (08:55 +0200)]
[master] Unit tests for IAPREFIX compare IOAddress objects.
The unit tests used to compare the addresses in the textual formats. Since
IPv6 addresses may be presented in various ways, it led to false
positives on some OSes.
Marcin Siodelski [Thu, 22 May 2014 17:57:06 +0000 (19:57 +0200)]
[master] Added Changelog entry for #3246.
Marcin Siodelski [Thu, 22 May 2014 17:54:36 +0000 (19:54 +0200)]
[master] Merge branch 'trac3246'
Conflicts:
src/bin/dhcp6/tests/Makefile.am
Marcin Siodelski [Thu, 22 May 2014 17:17:43 +0000 (19:17 +0200)]
[3406] Remove line breaks from shell script to avoid fails on some systems.
Marcin Siodelski [Thu, 22 May 2014 17:00:45 +0000 (19:00 +0200)]
[3246] Addressed review comments.
Marcin Siodelski [Thu, 22 May 2014 15:58:45 +0000 (17:58 +0200)]
[3406] Updated developer's guide with section about SIGHUP based reconfig.
Marcin Siodelski [Thu, 22 May 2014 15:01:22 +0000 (17:01 +0200)]
[3406] Handle reconfiguration errors gracefully.
Marcin Siodelski [Thu, 22 May 2014 13:07:08 +0000 (15:07 +0200)]
[3406] Cleanup in the dynamic reconfiguration test.
Marcin Siodelski [Thu, 22 May 2014 12:57:24 +0000 (14:57 +0200)]
[3406] Implemented dynamic reconfiguration when SIGHUP is received.
Thomas Markwalder [Thu, 22 May 2014 11:50:11 +0000 (07:50 -0400)]
[master] Disabled forceUDPSendError unit test for Solaris
The goal of these tests is to exercise error handling of a failed NCR send
in Kea4/Kea6. Because the test is for a UDP sender is there is no simple way
to make the send fail. The only way found so far is to attmpt to send it to
0.0.0.0/port 0. This fails everywhere except Solaris 11. For now the tests
have been disabled for Solaris 11
Marcin Siodelski [Thu, 22 May 2014 09:16:23 +0000 (11:16 +0200)]
[3406] Test configuration does not depend on network interfaces.
Also, use SIGHUP number rather than name as name is not recognized on some
operating systems correctly.
Thomas Markwalder [Wed, 21 May 2014 18:32:09 +0000 (14:32 -0400)]
[master] Merge branch 'trac3382'
Fixed Conflicts in:
src/bin/d2/tests/nc_test_utils.cc
src/lib/dns/tests/labelsequence_unittest.cc
Tomek Mrugalski [Wed, 21 May 2014 18:16:44 +0000 (20:16 +0200)]
[3399] Minor corrections in DHCPv6 (after 3400)
Tomek Mrugalski [Wed, 21 May 2014 18:16:24 +0000 (20:16 +0200)]
[3399] Kea configuration backend for DHCPv4
Marcin Siodelski [Wed, 21 May 2014 17:35:19 +0000 (19:35 +0200)]
[3406] Implemented test that checks dynamic reconfiguration of the server.
Tomek Mrugalski [Wed, 21 May 2014 14:16:41 +0000 (16:16 +0200)]
[3399] Missign ctrl_dhcp4_srv.cc added.
Tomek Mrugalski [Wed, 21 May 2014 14:16:18 +0000 (16:16 +0200)]
[3399] Bundy controller implemented.
Thomas Markwalder [Wed, 21 May 2014 12:16:43 +0000 (08:16 -0400)]
[3382] A few more review changes.
Added unit tests for null DUIDs.
Minor nit fixes.
Thomas Markwalder [Wed, 21 May 2014 11:19:21 +0000 (07:19 -0400)]
[master] Added ChangeLog entry 784 for trac3268.
Thomas Markwalder [Wed, 21 May 2014 11:17:04 +0000 (07:17 -0400)]
[master] Merge branch 'trac3268'
Added osx_version check of 10.9.3 to configure.ac
Fixed Conflicts:
src/bin/d2/tests/nc_test_utils.cc
src/lib/dns/tests/labelsequence_unittest.cc
Thomas Markwalder [Tue, 20 May 2014 20:01:25 +0000 (16:01 -0400)]
[3382] Addressed review comments
Added tests for Y2038 timestamps.
Added missing commentary.
Minor cleanup.
Marcin Siodelski [Tue, 20 May 2014 17:16:08 +0000 (19:16 +0200)]
[3246] Set non-significant bits of parsed prefix option to 0.
Thomas Markwalder [Tue, 20 May 2014 11:27:22 +0000 (07:27 -0400)]
[3432] Fixed compilation error in d2_cfg_mgr.cc
Minor compilation error incurred after review changes.
Marcin Siodelski [Tue, 20 May 2014 11:23:20 +0000 (13:23 +0200)]
[3246] Implemented unit test which checks collisions of prefixes.
Thomas Markwalder [Tue, 20 May 2014 11:16:05 +0000 (07:16 -0400)]
[3432] Addressed review comments
Added missing commentary, corrected typos.
Tomek Mrugalski [Tue, 20 May 2014 09:35:37 +0000 (11:35 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Tue, 20 May 2014 09:13:50 +0000 (11:13 +0200)]
Merge branch 'trac3400'
Tomek Mrugalski [Tue, 20 May 2014 09:13:01 +0000 (11:13 +0200)]
[3400] Obsolete comment removed.
Thomas Markwalder [Mon, 19 May 2014 15:08:08 +0000 (11:08 -0400)]
[3432] Updated Admin guide for TSIG key configuration
Updated the admin guilde and minor change to dhcp-ddns.spec file.
Tomek Mrugalski [Mon, 19 May 2014 14:49:11 +0000 (16:49 +0200)]
[3382] configure now uses PGSQL_INCLUDEDIR_SERVER
Tomek Mrugalski [Mon, 19 May 2014 14:11:45 +0000 (16:11 +0200)]
[3382] Compilation fix
- Removed unused constant. Failed to compile with Xcode 5.1
Marcin Siodelski [Mon, 19 May 2014 14:03:31 +0000 (16:03 +0200)]
[3268] Fixed a couple of typos during a review.
Tomek Mrugalski [Mon, 19 May 2014 13:31:42 +0000 (15:31 +0200)]
[3400] Space added in error message.
Tomek Mrugalski [Mon, 19 May 2014 13:21:17 +0000 (15:21 +0200)]
[3400] Coding style fixes, better error message.
Tomek Mrugalski [Mon, 19 May 2014 12:40:39 +0000 (14:40 +0200)]
[3400] Configuration backend description expanded
Tomek Mrugalski [Mon, 19 May 2014 12:15:29 +0000 (14:15 +0200)]
[3400] Element::preprocess() is now thread safe.
Tomek Mrugalski [Mon, 19 May 2014 11:47:16 +0000 (13:47 +0200)]
[3400] Daemon::init is now void method.
Tomek Mrugalski [Mon, 19 May 2014 09:35:30 +0000 (11:35 +0200)]
[3400] Broken test removed.