]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Mon, 28 Sep 2015 11:21:09 +0000 (13:21 +0200)]
[3971] DHCPv6 server uses TimerMgr to run LFC timers.
Marcin Siodelski [Mon, 28 Sep 2015 11:01:30 +0000 (13:01 +0200)]
[3971] Better handling errors when thread is stopped/started.
Also, improved some LFC unit tests.
Marcin Siodelski [Mon, 28 Sep 2015 09:24:25 +0000 (11:24 +0200)]
[3971] TimerMgr returns the number of registered timers.
Marcin Siodelski [Mon, 28 Sep 2015 09:10:15 +0000 (11:10 +0200)]
[3971] Memfile_LeaseMgr test holds instance of TimerMgr.
Marcin Siodelski [Wed, 23 Sep 2015 11:58:54 +0000 (13:58 +0200)]
[3971] Resolved issues with fork/exec while spawning LFC.
Marcin Siodelski [Wed, 23 Sep 2015 10:10:18 +0000 (12:10 +0200)]
[3971] Using TimerMgrPtr returned by the TimerMgr.
Marcin Siodelski [Mon, 14 Sep 2015 12:07:22 +0000 (14:07 +0200)]
[3971] Added test for LFC scheduling in DHCPv4 server.
Marcin Siodelski [Tue, 15 Sep 2015 21:08:14 +0000 (23:08 +0200)]
[3971] Fixed logic of the MemfileLeaseMgrTest timeout.
Marcin Siodelski [Fri, 11 Sep 2015 12:30:51 +0000 (14:30 +0200)]
[3971] Using TimerMgr in the Memfile backend.
Marcin Siodelski [Fri, 25 Sep 2015 13:53:07 +0000 (15:53 +0200)]
[master] Link perfdhcp with pthread to prevent build issues.
Francis Dupont [Fri, 25 Sep 2015 07:16:26 +0000 (09:16 +0200)]
[master] Updated git hash
Francis Dupont [Fri, 25 Sep 2015 07:15:06 +0000 (09:15 +0200)]
[master] Merged trac4015 supplement (DHCPv4 missing definitions)
Francis Dupont [Thu, 24 Sep 2015 23:29:09 +0000 (01:29 +0200)]
[4015] Tentative dhcp4.h
Francis Dupont [Thu, 24 Sep 2015 22:35:18 +0000 (00:35 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 22:33:49 +0000 (00:33 +0200)]
[master] Finished merge of trac4015 (secure DHCPv6 definitions)
Francis Dupont [Thu, 24 Sep 2015 22:31:16 +0000 (00:31 +0200)]
[master] Merged trac4015 (secure DHCPv6 definitions)
Shawn Routhier [Thu, 24 Sep 2015 21:43:54 +0000 (14:43 -0700)]
[4015] Update the comments a bit to make the clearer.
Francis Dupont [Thu, 24 Sep 2015 20:18:25 +0000 (22:18 +0200)]
[4015] Added an experimental options table in user doc
Francis Dupont [Thu, 24 Sep 2015 19:51:53 +0000 (21:51 +0200)]
[4015] Added a IANA / standard option leading note and some EXPERIMENTAL labels
Marcin Siodelski [Thu, 24 Sep 2015 18:55:40 +0000 (20:55 +0200)]
[master] Merge branch 'trac4039'
Stephen Morris [Thu, 24 Sep 2015 18:00:40 +0000 (19:00 +0100)]
[master] Merge branch 'trac3952'
Thomas Markwalder [Thu, 24 Sep 2015 16:08:02 +0000 (12:08 -0400)]
[master] Added ChangeLog entry 1010 for #4067.
Thomas Markwalder [Thu, 24 Sep 2015 15:43:01 +0000 (11:43 -0400)]
[master] Fixed fd/0 unit test issue
Merged branch 'trac4067'
Marcin Siodelski [Thu, 24 Sep 2015 15:41:16 +0000 (17:41 +0200)]
[4039] Longer intervals in the TimerMgr test to avoid timing issues.
Thomas Markwalder [Thu, 24 Sep 2015 15:33:14 +0000 (11:33 -0400)]
[4067] Addressed review comments
Updated commentary in pkt_filter_test_stub.h as requested.
Francis Dupont [Thu, 24 Sep 2015 14:53:16 +0000 (16:53 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 14:48:54 +0000 (16:48 +0200)]
[master] Merged trac4065 (block all signals in child threads)
Francis Dupont [Thu, 24 Sep 2015 14:37:36 +0000 (16:37 +0200)]
[master] Fixed old asio.hpp include in new code (bis)
Francis Dupont [Thu, 24 Sep 2015 14:32:57 +0000 (16:32 +0200)]
[master] Fixed old asio.hpp include in new code
Francis Dupont [Thu, 24 Sep 2015 14:11:36 +0000 (16:11 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 14:09:57 +0000 (16:09 +0200)]
[master] Cleanup merge of trac4009 (use Boost Asio vs. ext/asio)
Francis Dupont [Thu, 24 Sep 2015 13:53:10 +0000 (15:53 +0200)]
[master] Finished merge of trac4009 (use Boost Asio vs. ext/asio)
Marcin Siodelski [Thu, 24 Sep 2015 13:38:03 +0000 (15:38 +0200)]
[4065] Added test description in the thread.cc
Francis Dupont [Thu, 24 Sep 2015 13:22:05 +0000 (15:22 +0200)]
[4009] Improved new boost options doc
Francis Dupont [Thu, 24 Sep 2015 13:18:35 +0000 (15:18 +0200)]
[4009] Improved --with-boost-libs help
Thomas Markwalder [Thu, 24 Sep 2015 13:01:49 +0000 (09:01 -0400)]
[4067] PktFilterTestStub no longer used fd 0
src/lib/dhcp/tests/pkt_filter_test_stub.cc
- PktFilterTestStub::openSocket() - the filter's SocketInfo::sock_fd_ is
now set with value returend by opening "/dev/null" as read_only. This
provides a valid, consumed fd that the filter retains until its socket
is closed.
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
CtrlChannelDhcp4SrvTest removed the fd/0 work-around as it is no
longer needed
~
Francis Dupont [Thu, 24 Sep 2015 10:20:22 +0000 (12:20 +0200)]
[4015] Fixed D60_MIP6_VDINF spelling
Francis Dupont [Wed, 23 Sep 2015 20:46:03 +0000 (22:46 +0200)]
[4065] Added a signal safe comment
Francis Dupont [Wed, 23 Sep 2015 20:44:18 +0000 (22:44 +0200)]
[4065] Added unit test
Francis Dupont [Wed, 23 Sep 2015 20:30:55 +0000 (22:30 +0200)]
[4009] Added --with-boost-lib-dir
Francis Dupont [Wed, 23 Sep 2015 14:22:00 +0000 (16:22 +0200)]
[4009] Added boost_lib_path (NetBSD (and more?) fix)
Francis Dupont [Wed, 23 Sep 2015 11:22:48 +0000 (13:22 +0200)]
[master] Merged trac4032 (improve unit tests for exceptions)
Tomek Mrugalski [Tue, 22 Sep 2015 20:18:25 +0000 (22:18 +0200)]
[master] ChangeLog updated after #3982 merge.
Tomek Mrugalski [Tue, 22 Sep 2015 19:19:22 +0000 (21:19 +0200)]
[master] Merge branch 'trac3982' (Decline v6)
Conflicts:
src/bin/dhcp6/dhcp6_srv.cc
src/lib/dhcpsrv/lease.cc
src/lib/dhcpsrv/tests/lease_unittest.cc
Tomek Mrugalski [Tue, 22 Sep 2015 19:16:10 +0000 (21:16 +0200)]
[3982] Minor fix after review:
- DUID is checked in Lease6::decline() unit-test.
Marcin Siodelski [Tue, 22 Sep 2015 18:44:55 +0000 (20:44 +0200)]
[master] Removed extraneous variable.
Reviewed on jabber.
Shawn Routhier [Tue, 22 Sep 2015 17:39:01 +0000 (10:39 -0700)]
Merge branch 'trac4002' Save error string before use
Save the error string before using it to minimize the possibility of
it changing between when it gets generated and reviewed and when it
gets logged.
Shawn Routhier [Tue, 22 Sep 2015 17:32:12 +0000 (10:32 -0700)]
Merge branch 'trac4001' Update code to clear errno before use.
Update the code to clear the errno variable before making calls that
might use it. This should limit problems with one section of code
creating an inappropriate error message due to looking at an errno
set by some other section ofcode.
Shawn Routhier [Tue, 22 Sep 2015 15:54:30 +0000 (08:54 -0700)]
[trac4001] Move the clearing of errno per review comments
Francis Dupont [Tue, 22 Sep 2015 15:46:38 +0000 (17:46 +0200)]
[4065] untabify
Stephen Morris [Tue, 22 Sep 2015 15:27:39 +0000 (16:27 +0100)]
[3952] Added additional checking in the hooks parser tests after review
Marcin Siodelski [Tue, 22 Sep 2015 15:00:59 +0000 (17:00 +0200)]
[master] Added ChangeLog entry for #4047.
Francis Dupont [Tue, 22 Sep 2015 14:58:44 +0000 (16:58 +0200)]
[4065] New threads got all signals blocked
Stephen Morris [Tue, 22 Sep 2015 13:40:29 +0000 (14:40 +0100)]
[3952] Abandon hooks tests on unrecoverable error
Changed some EXPECT_EQ tests to ASSERT_EQ in cases where the length
of a vector was checked and subsequently followed by checks that
accessed elements of the array. This way, if the array is too short,
the test will cleanly exit rather than possibly segmentation fault.
Marcin Siodelski [Tue, 22 Sep 2015 12:56:19 +0000 (14:56 +0200)]
[master] Merge branch 'trac4047'
Marcin Siodelski [Tue, 22 Sep 2015 05:58:54 +0000 (07:58 +0200)]
[4047] Updated TimerMgr and tests per review comments.
Shawn Routhier [Tue, 22 Sep 2015 03:01:52 +0000 (20:01 -0700)]
[trac4002] Save a copy of the err string in case errno changes under us
Shawn Routhier [Tue, 22 Sep 2015 00:21:30 +0000 (17:21 -0700)]
[trac4001] Clear errno before calling OS functions
Tomek Mrugalski [Mon, 21 Sep 2015 12:52:26 +0000 (14:52 +0200)]
[3982] Changes after review
- Lease6::decline() implemented
- DUID::generateEmpty() implemented
- Unit-tests for Decline (not include address, not include IA_NA)
implemented
- several comments updated
- logging corrected and reworded
Marcin Siodelski [Mon, 21 Sep 2015 08:06:18 +0000 (10:06 +0200)]
[master] Merge branch 'trac3973'
Francis Dupont [Sun, 20 Sep 2015 07:44:51 +0000 (09:44 +0200)]
[4009] Added ext/coroutine Makefile
Francis Dupont [Sun, 20 Sep 2015 07:31:12 +0000 (09:31 +0200)]
[4009] Forgot BOOST_ASIO_DISABLE_DEV_POLL
Tomek Mrugalski [Fri, 18 Sep 2015 17:09:59 +0000 (19:09 +0200)]
[master] ChangeLog updated after #3981.
Tomek Mrugalski [Fri, 18 Sep 2015 17:04:26 +0000 (19:04 +0200)]
[master] Unit-test fix after #3981 merge.
- Statistic is now reset properly in DeclineTest.*
Tomek Mrugalski [Fri, 18 Sep 2015 16:10:28 +0000 (18:10 +0200)]
[master] Merge branch 'trac3981'
Conflicts:
src/bin/dhcp4/tests/Makefile.am
Tomek Mrugalski [Fri, 18 Sep 2015 16:07:39 +0000 (18:07 +0200)]
[3981] Changes after review:
- moved lease decline to Lease::decline()
Tomek Mrugalski [Fri, 18 Sep 2015 14:58:07 +0000 (16:58 +0200)]
[3981] Merge branch 'trac3981' of ssh://git.kea.isc.org/git/kea into trac3981
Marcin Siodelski [Fri, 18 Sep 2015 11:20:08 +0000 (13:20 +0200)]
[4047] Corrected order of calls in the TimerMgr unit test.
Marcin Siodelski [Fri, 18 Sep 2015 11:08:14 +0000 (13:08 +0200)]
[4047] Cleanup in the TimerMgr unit tests.
Marcin Siodelski [Fri, 18 Sep 2015 11:03:05 +0000 (13:03 +0200)]
[4047] Instance of the TimerMgr is now shared pointer.
Marcin Siodelski [Fri, 18 Sep 2015 10:45:47 +0000 (12:45 +0200)]
[4047] Fixed documentation of the TimerMgr.
Marcin Siodelski [Fri, 18 Sep 2015 10:36:22 +0000 (12:36 +0200)]
[4047] Fixed issues with static deinitialization fiasco in TimerMgr.
Marcin Siodelski [Fri, 18 Sep 2015 05:49:40 +0000 (07:49 +0200)]
[4047] Implemented synchronization between the worker thead
Shawn Routhier [Fri, 18 Sep 2015 02:06:53 +0000 (19:06 -0700)]
[trac3982] fix some typos
Shawn Routhier [Thu, 17 Sep 2015 00:11:14 +0000 (17:11 -0700)]
[trac3891] Typo level items
Francis Dupont [Wed, 16 Sep 2015 21:12:18 +0000 (23:12 +0200)]
[4009] Added --with-boost-libs description
Francis Dupont [Wed, 16 Sep 2015 21:01:46 +0000 (23:01 +0200)]
[4009] Moved LICENSE file
Francis Dupont [Wed, 16 Sep 2015 20:55:38 +0000 (22:55 +0200)]
[4032] Improved message unit test comment
Francis Dupont [Wed, 16 Sep 2015 15:36:44 +0000 (17:36 +0200)]
[master] Updated git hash
Francis Dupont [Wed, 16 Sep 2015 15:36:06 +0000 (17:36 +0200)]
[master] Finished merge of trac3773 (always call SanityCheck)
Francis Dupont [Wed, 16 Sep 2015 15:33:45 +0000 (17:33 +0200)]
[master] Merged trac3773 (always call SanityCheck)
Francis Dupont [Wed, 16 Sep 2015 15:32:14 +0000 (17:32 +0200)]
[3773] Updated comments
Shawn Routhier [Wed, 16 Sep 2015 14:50:07 +0000 (07:50 -0700)]
[trac3982] Fix some typos and cut and paste errors
Tomek Mrugalski [Wed, 16 Sep 2015 14:01:07 +0000 (16:01 +0200)]
[3981] Messages reworded slightly.
Tomek Mrugalski [Wed, 16 Sep 2015 13:55:25 +0000 (15:55 +0200)]
[3981] Changes after review:
- Explanation why are we not updating assigned-addresses
- DHCP4_DECLINE_LEASE message reworded as suggested
- processDecline method described properly
- declineNonMatchingIPAddresses description updated
- global declined-addresses statistic added and tested
-
Francis Dupont [Wed, 16 Sep 2015 13:40:09 +0000 (15:40 +0200)]
[master] Updated git hash
Francis Dupont [Wed, 16 Sep 2015 13:38:20 +0000 (15:38 +0200)]
[master] Finished merge of trac3911a (Makefile.am dependency)
Francis Dupont [Wed, 16 Sep 2015 13:32:39 +0000 (15:32 +0200)]
[3911a] untabify
Marcin Siodelski [Wed, 16 Sep 2015 12:02:31 +0000 (14:02 +0200)]
[3973] Addressed review comments.
Marcin Siodelski [Wed, 16 Sep 2015 11:07:14 +0000 (13:07 +0200)]
[master] Added ChangeLog entry for #3966.
Marcin Siodelski [Wed, 16 Sep 2015 10:54:05 +0000 (12:54 +0200)]
[master] Merge branch 'trac3966'
Marcin Siodelski [Tue, 15 Sep 2015 12:02:18 +0000 (14:02 +0200)]
[3966] Updated schema files per review comments.
Shawn Routhier [Tue, 15 Sep 2015 04:27:19 +0000 (21:27 -0700)]
[trac3891] Fix some typos in the message descriptions
Marcin Siodelski [Fri, 11 Sep 2015 07:34:37 +0000 (09:34 +0200)]
[3973] Added todos for the lease reclamation routines.
Marcin Siodelski [Thu, 10 Sep 2015 18:25:21 +0000 (20:25 +0200)]
[3973] Explicit types in the base class constructor.
Marcin Siodelski [Thu, 10 Sep 2015 17:58:55 +0000 (19:58 +0200)]
[3973] Updated descriptions of lease reclamation routines in alloc_engine.h
Marcin Siodelski [Thu, 10 Sep 2015 14:27:32 +0000 (16:27 +0200)]
[3973] Update statistics when the lease is reclaimed.
Marcin Siodelski [Thu, 10 Sep 2015 10:43:37 +0000 (12:43 +0200)]
[3973] Use client identifier to generate DHCID for lease reclamation.
Marcin Siodelski [Wed, 9 Sep 2015 19:12:59 +0000 (21:12 +0200)]
[3973] Implemented tests for DHCPv4 lease reclamation routine.
Marcin Siodelski [Wed, 9 Sep 2015 13:44:07 +0000 (15:44 +0200)]
[3973] Added logging to the lease expiration routine.
Also added better exception handling.