]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Tue, 8 Sep 2015 12:56:57 +0000 (14:56 +0200)]
[master] Merge branch 'trac3983' (Decline parameters in v4 and v6)
Tomek Mrugalski [Tue, 8 Sep 2015 12:56:20 +0000 (14:56 +0200)]
[3983] defaults.h moved to src (after Marcin's review)
Marcin Siodelski [Thu, 3 Sep 2015 10:17:09 +0000 (12:17 +0200)]
[master] Added ChangeLog entry for #3965.
Marcin Siodelski [Thu, 3 Sep 2015 09:42:57 +0000 (11:42 +0200)]
[master] Merge branch 'trac3965'
Marcin Siodelski [Thu, 3 Sep 2015 09:35:25 +0000 (11:35 +0200)]
[3965] deleteExpiredReclaimed returns number of deleted leases.
Francis Dupont [Thu, 3 Sep 2015 07:44:31 +0000 (09:44 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 3 Sep 2015 07:42:50 +0000 (09:42 +0200)]
[master] Finished merge of trac4031 (combined: header, asiodns, testutils, asiolink cleanup)
Francis Dupont [Thu, 3 Sep 2015 07:42:05 +0000 (09:42 +0200)]
[master] Merged trac4031 (combined: header, asiodns, testutils, asiolink cleanup)
Marcin Siodelski [Wed, 2 Sep 2015 17:46:20 +0000 (19:46 +0200)]
[3965] Lease state is the enum-like value, rather than bitfield.
Marcin Siodelski [Wed, 2 Sep 2015 16:36:56 +0000 (18:36 +0200)]
[master] Added Changelog entry for #3947.
Marcin Siodelski [Wed, 2 Sep 2015 16:20:47 +0000 (18:20 +0200)]
[master] Merge branch 'trac3947'
Francis Dupont [Wed, 2 Sep 2015 15:09:06 +0000 (17:09 +0200)]
[4031] Cleaned up asiolink (tentative)
Francis Dupont [Wed, 2 Sep 2015 14:31:30 +0000 (16:31 +0200)]
[master] Updated git hash
Francis Dupont [Wed, 2 Sep 2015 14:30:38 +0000 (16:30 +0200)]
[master] Finished merge of trac4026 (LoggingTest.basicSpec fails in distcheck)
Francis Dupont [Wed, 2 Sep 2015 14:28:03 +0000 (16:28 +0200)]
[master] Merged trac4026 (LoggingTest.basicSpec fails in distcheck)
Marcin Siodelski [Wed, 2 Sep 2015 13:06:42 +0000 (15:06 +0200)]
[3947] Addressed review comments.
Tomek Mrugalski [Wed, 2 Sep 2015 11:37:34 +0000 (13:37 +0200)]
[3983] Unit-tests for incorrect decline-probation-period added.
Tomek Mrugalski [Wed, 2 Sep 2015 11:29:56 +0000 (13:29 +0200)]
[3983] Changes after review:
- commitGlobalParameters renamed to setGlobalParameters
- const added
- Comments updated
Francis Dupont [Wed, 2 Sep 2015 10:54:32 +0000 (12:54 +0200)]
[4026] Fixed the path define
Francis Dupont [Tue, 1 Sep 2015 21:46:24 +0000 (23:46 +0200)]
[4029] Removed obsolete testutils/testdata directory
Francis Dupont [Tue, 1 Sep 2015 21:30:14 +0000 (23:30 +0200)]
[4029] Removed obsolete references to testutils/testdata
Francis Dupont [Tue, 1 Sep 2015 16:12:53 +0000 (18:12 +0200)]
[4029] Cleaned up cfgrpt/tests/Makefile.am
Francis Dupont [Tue, 1 Sep 2015 15:55:51 +0000 (17:55 +0200)]
[4029] Cleanup testutils code too
Francis Dupont [Tue, 1 Sep 2015 15:20:40 +0000 (17:20 +0200)]
[4029] Applied #4028 removals
Francis Dupont [Tue, 1 Sep 2015 15:19:55 +0000 (17:19 +0200)]
[4029] Removed unused files (tentative)
Francis Dupont [Tue, 1 Sep 2015 14:14:52 +0000 (16:14 +0200)]
[master] Merged trac4003 (messing <iterator> include)
Tomek Mrugalski [Tue, 1 Sep 2015 11:28:20 +0000 (13:28 +0200)]
[master] Merge branch 'trac4025' ExceptionTest.verbose fail fix
Marcin Siodelski [Fri, 28 Aug 2015 15:25:02 +0000 (17:25 +0200)]
[3965] Improvements to generic lease mgr test as a result of review.
Marcin Siodelski [Fri, 28 Aug 2015 15:17:03 +0000 (17:17 +0200)]
[3965] Removed the spurious logic in the CSVLeaseFile6.
Marcin Siodelski [Fri, 28 Aug 2015 15:12:15 +0000 (17:12 +0200)]
[3965] Updated descriptions of indexes in the Memfile storages.
Marcin Siodelski [Fri, 28 Aug 2015 14:55:11 +0000 (16:55 +0200)]
[3965] Updated description of the state_ field to reference constants.
Marcin Siodelski [Fri, 28 Aug 2015 14:33:01 +0000 (16:33 +0200)]
[3965] Removed unused fields from the Lease structures.
Marcin Siodelski [Fri, 28 Aug 2015 11:48:55 +0000 (13:48 +0200)]
[3965] Lease state 0 is a default state.
Changes according to the review.
Tomek Mrugalski [Thu, 27 Aug 2015 17:13:33 +0000 (19:13 +0200)]
[4025] Incorrect use of temporary object fixed in Exception::what()
Francis Dupont [Thu, 27 Aug 2015 11:48:55 +0000 (13:48 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 27 Aug 2015 11:48:13 +0000 (13:48 +0200)]
[master] Finished merge of trac3752 (logger immediate flush)
Francis Dupont [Thu, 27 Aug 2015 11:46:08 +0000 (13:46 +0200)]
[master] Merged trac3752 (logger immediate flush)
Francis Dupont [Thu, 27 Aug 2015 11:45:08 +0000 (13:45 +0200)]
[3752] Moved copyrights to Tomek's style
Francis Dupont [Thu, 27 Aug 2015 10:54:07 +0000 (12:54 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 27 Aug 2015 10:53:11 +0000 (12:53 +0200)]
[master] Finished merge of trac4006 (Fixes for Boost 1.59)
Francis Dupont [Thu, 27 Aug 2015 10:49:29 +0000 (12:49 +0200)]
[master] Merged trac4006 (Fixes for Boost 1.59)
Francis Dupont [Thu, 27 Aug 2015 10:07:48 +0000 (12:07 +0200)]
[4003] Added iterator missing include
Tomek Mrugalski [Wed, 26 Aug 2015 14:05:02 +0000 (16:05 +0200)]
[master] ChangeLog updated after trac4000 merge.
Tomek Mrugalski [Wed, 26 Aug 2015 14:02:57 +0000 (16:02 +0200)]
[master] Merge branch 'trac4000' (signal handler should not modify errno)
Tomek Mrugalski [Tue, 25 Aug 2015 15:02:41 +0000 (17:02 +0200)]
[master] Merge branch 'trac3902' (extended unit-tests for command channel)
Tomek Mrugalski [Tue, 25 Aug 2015 14:12:40 +0000 (16:12 +0200)]
[4000] Changes after review:
- distinction between ISC and std exceptions removed.
- reference to support ticket removed.
Marcin Siodelski [Fri, 21 Aug 2015 12:01:35 +0000 (14:01 +0200)]
[3965] Fixed build failure due to unused parameters.
Tomek Mrugalski [Fri, 21 Aug 2015 11:12:24 +0000 (13:12 +0200)]
[3902] Workaround for file descriptor 0 implemented.
Marcin Siodelski [Fri, 21 Aug 2015 10:45:00 +0000 (12:45 +0200)]
[3965] Delete expired-reclaimed leases from the lease file.
Tomek Mrugalski [Fri, 21 Aug 2015 10:36:09 +0000 (12:36 +0200)]
[3983] Description updated.
Tomek Mrugalski [Thu, 20 Aug 2015 18:51:28 +0000 (20:51 +0200)]
[3983] Support for 'decline-probation-period' implemented.
Marcin Siodelski [Thu, 20 Aug 2015 17:25:38 +0000 (19:25 +0200)]
[3965] Added stub methods for getting and removing expired leases.
Marcin Siodelski [Thu, 20 Aug 2015 16:14:06 +0000 (18:14 +0200)]
[3965] Write and read state from the lease files.
Tomek Mrugalski [Thu, 20 Aug 2015 14:36:24 +0000 (16:36 +0200)]
[trac4000] Exception handling in DHCPv6 improved
- std::exception is now caught
- try/catch clause added around handleSignal
Tomek Mrugalski [Thu, 20 Aug 2015 14:31:03 +0000 (16:31 +0200)]
[trac4000] Unit-tests for process spawn + errno, verbose exceptions added.
Tomek Mrugalski [Thu, 20 Aug 2015 13:37:50 +0000 (15:37 +0200)]
[trac4000] Unnecessary messages removed.
Tomek Mrugalski [Tue, 18 Aug 2015 12:08:00 +0000 (14:08 +0200)]
[support8785] Likely fix for the issues with "no child processes" exception
This fix makes the signal handler no longer modify errno value.
That was causing "no child processes" exceptions in places that
had nothing to do with signals or processes.
Tomek Mrugalski [Mon, 17 Aug 2015 19:33:53 +0000 (21:33 +0200)]
[support8785] Verbose Exception::what() has been implemented.
This change by itself does nothing, but it allows changing
e.what() to e.what(true) to get more details about an exception.
This can be useful for exception debugging.
Tomek Mrugalski [Mon, 17 Aug 2015 18:49:39 +0000 (20:49 +0200)]
[support8785] std::exception, not just isc::Exception is caught
If std::exception would be thrown anywhere in message processing
in Dhcp4Srv::run(), we would not catch it. In principle, that
should never happen, as the Kea code only throws isc::Exception
derivatives, but maybe some of the system or boost calls could
throw std::exception.
Tomek Mrugalski [Mon, 17 Aug 2015 18:21:00 +0000 (20:21 +0200)]
[support8785] ISC and std exceptions in handleSignal() are now caught
The calls to handleSignal() are now wrapped with catch clauses
for both ISC and standard exceptions. This would not solve the
underlying issue, but at least would cause the server to continue
after the issue occurs.
Tomek Mrugalski [Thu, 20 Aug 2015 12:56:26 +0000 (14:56 +0200)]
[support8785] Select interruption by signal is now logged.
One of the hypotheses for the #8785 issue is mis-handling of
the SingalInterruptOnSelect exception. This message will
be printed every time a signal is received during select().
Conflicts:
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc
Marcin Siodelski [Thu, 20 Aug 2015 10:21:26 +0000 (12:21 +0200)]
[3965] Added capability to remove expired-reclaimed leases.
Marcin Siodelski [Wed, 19 Aug 2015 11:52:06 +0000 (13:52 +0200)]
[3965] Use tags rather than numbers to access memfile indexes.
Marcin Siodelski [Thu, 13 Aug 2015 12:06:52 +0000 (14:06 +0200)]
[3965] Implemented functions to retrieve expired leases.
Francis Dupont [Tue, 18 Aug 2015 10:25:31 +0000 (12:25 +0200)]
[4006] removed pfto macros and some compiler junk conditionals
Thomas Markwalder [Thu, 13 Aug 2015 15:04:50 +0000 (11:04 -0400)]
[master] Added ChangeLog entry 989 for #3997.
Thomas Markwalder [Thu, 13 Aug 2015 14:39:27 +0000 (10:39 -0400)]
Merge branch 'trac3997'
Thomas Markwalder [Thu, 13 Aug 2015 14:34:37 +0000 (10:34 -0400)]
[3997] Address review comments
Minor comment cleanup.
Marcin Siodelski [Thu, 13 Aug 2015 10:18:20 +0000 (12:18 +0200)]
[3965] Extended lease object to hold state.
Thomas Markwalder [Wed, 12 Aug 2015 20:28:55 +0000 (16:28 -0400)]
[3997] Corrected DHCP6 server crash on exit when DDNS is enabled
Rather that stopping it explicitly, the server was relying D2ClientMgr
to stop itself during its own destruction. This was falling over during
process wind-down because the IfaceMgr singletone was being destroyed before
the D2ClientMgr instance. The server destructor now explicitly stops the
D2ClientMgr.
src/bin/dhcp6/dhcp6_messages.mes
added DHCP6_SRV_D2STOP_ERROR log message
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::stopD2() - new method stops the NCR sender, causing it to
unregister its WathSocket from IfaceMgr
Dhcpv6Srv::~Dhcpv6Srv() - added call to Dhcpv6Srv::stopD2()
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
Enabled DNS updates in the CONFIG string. This ensures the D2
client will be started during system tests
Thomas Markwalder [Wed, 12 Aug 2015 19:50:47 +0000 (15:50 -0400)]
[3997] Corrected DHCP4 server crash on exit when DDNS is enabled
Rather that stopping it explicitly, the server was relying D2ClientMgr
to stop itself during its own destruction. This was falling over during
process wind-down because the IfaceMgr singletone was being destroyed before
the D2ClientMgr instance.
The server destructor now explicitly stops the D2ClientMgr.
src/bin/dhcp4/dhcp4_messages.mes
added DHCP4_SRV_D2STOP_ERROR log message
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::stopD2() - new method stops the NCR sender, causing it to
unregister its WathSocket from IfaceMgr
Dhcpv4Srv::~Dhcpv4Srv() - added call to Dhcpv4Srv::stopD2()
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
Enabled DNS updates in the CONFIG string. This ensures the D2
client will be started during system tests
Marcin Siodelski [Thu, 30 Jul 2015 13:38:26 +0000 (15:38 +0200)]
[3947] Removed spurious config parameter from the Subnet6.
Marcin Siodelski [Thu, 30 Jul 2015 13:21:13 +0000 (15:21 +0200)]
[3947] Updated Kea Guide with the information about support for RFC7550.
Marcin Siodelski [Thu, 30 Jul 2015 12:49:21 +0000 (14:49 +0200)]
[3947] Removed the new-leases-on-renew config parameter.
This change removes ability to disable allocation new leases new
Renew/Rebind, specified in RFC7550. The behavior specified in this
RFC is the only supported behavior.
Marcin Siodelski [Tue, 28 Jul 2015 10:28:31 +0000 (12:28 +0200)]
[3947] Added missing unit tests for the NoBinding cases in Renew/Rebind.
Wlodek Wencel [Thu, 23 Jul 2015 17:20:12 +0000 (19:20 +0200)]
[master] ChangeLog and dhcp6_messages reordered
Thomas Markwalder [Thu, 23 Jul 2015 15:24:09 +0000 (11:24 -0400)]
[master] Corrected distcheck failure in cfgrpt
Merges branch 'trac3929'
Marcin Siodelski [Wed, 22 Jul 2015 21:39:01 +0000 (23:39 +0200)]
[master] Added ChangeLog entry for #3785.
Marcin Siodelski [Wed, 22 Jul 2015 20:53:26 +0000 (22:53 +0200)]
[master] Merge branch 'trac3785'
Marcin Siodelski [Wed, 22 Jul 2015 20:49:38 +0000 (22:49 +0200)]
[3785] Minor update to the gitignore for keactrl tests.
Marcin Siodelski [Wed, 22 Jul 2015 20:47:46 +0000 (22:47 +0200)]
[3785] Simplified the unit test for keactrl status command.
Thomas Markwalder [Wed, 22 Jul 2015 19:23:38 +0000 (15:23 -0400)]
[3929] pass input file path into mk_cfgrpt.sh
Added required input config report file parameter to
mk_cfgrpt.sh rather than having hard-coded by configure.
This allows cfgrpt/Makefile to pass in the pathname of
the report file it used in its "config_report.cc", as
the input report file. In other words, we garuantee that
the file we used for change is the same file we generate
the source from.
Thomas Markwalder [Wed, 22 Jul 2015 16:56:45 +0000 (12:56 -0400)]
[3929] Added basic unittests to src/lib/cfgrpt
Thomas Markwalder [Wed, 22 Jul 2015 15:53:35 +0000 (11:53 -0400)]
[3929] config_report.cc is now generated during src/lib/cfgrpt/Makefile
By generating config_report.cc in the cfgrpt directory Makefile
rather than configure, it can be treated as any other generated
source file, rather than a one-off special case.
Moved cfgrpt directory from bin to lib since it creates a library
rather than an executable.
mk_cfgrpt.sh is now generated by configure from a .in file and
Details:
configure.ac
removed call to mk_cfgrpts.sh
added mk_cfgprt.sh to list of files generated by configure
src/bin/Makefile.am
removed cfgrpt dir
changed cfgrpt directory to lib
src/bin/d2/Makefile.am
src/bin/d2/tests/Makefile.am
src/bin/dhcp4/Makefile.am
src/bin/dhcp4/tests/Makefile.am
src/bin/dhcp6/Makefile.am
src/bin/dhcp6/tests/Makefile.am
src/bin/lfc/Makefile.am
src/bin/lfc/tests/Makefile.am
src/bin/perfdhcp/Makefile.am
src/bin/perfdhcp/tests/Makefile.am
src/lib/Makefile.am
added cfgrpt dir
src/lib/cfgrpt/Makefile.am
changed include dir to be in lib not dir
added config_report.cc to CLEANFILES
added config_report.cc to BUILD_SOURCES
removed config_report.cc from libcfgrpt_la_SOURCES
added rule for config_report.cc to call mk_cfgrpt.sh
Francis Dupont [Wed, 22 Jul 2015 14:45:29 +0000 (16:45 +0200)]
[3785] Unembedded status_no_config_test
Francis Dupont [Wed, 22 Jul 2015 14:32:02 +0000 (16:32 +0200)]
[3785] Added missing files in .gitignore
Francis Dupont [Wed, 22 Jul 2015 14:17:56 +0000 (16:17 +0200)]
[3785] Terminated correctly .gitignore (i.e, added missing end of line)
Francis Dupont [Wed, 22 Jul 2015 14:14:55 +0000 (16:14 +0200)]
[3785] Added *.saved to CLEANFILES
Marcin Siodelski [Tue, 21 Jul 2015 21:37:05 +0000 (23:37 +0200)]
[master] Added ChangeLog entry for #3959.
Marcin Siodelski [Tue, 21 Jul 2015 21:34:55 +0000 (23:34 +0200)]
[master] Merge branch 'trac3959'
Wlodek Wencel [Tue, 21 Jul 2015 16:23:02 +0000 (18:23 +0200)]
[3929] config_report.cc added to SOURCES
Wlodek Wencel [Tue, 21 Jul 2015 16:22:25 +0000 (18:22 +0200)]
[3929] mk_cfgrpt.sh added to EXTRA_DIST
Marcin Siodelski [Tue, 21 Jul 2015 15:50:25 +0000 (17:50 +0200)]
[3959] Fixed output from OptionIntArray::toText for uint8 values.
Marcin Siodelski [Tue, 21 Jul 2015 08:07:11 +0000 (10:07 +0200)]
[master] Added Changelog entry for 3958.
Marcin Siodelski [Tue, 21 Jul 2015 08:05:44 +0000 (10:05 +0200)]
[master] Merge branch 'trac3958'
Marcin Siodelski [Tue, 21 Jul 2015 07:52:05 +0000 (09:52 +0200)]
[master] Merge branch 'trac3955'
Tomek Mrugalski [Mon, 20 Jul 2015 16:12:15 +0000 (18:12 +0200)]
[3955] Removed unnecessary whitespace chars.
Tomek Mrugalski [Mon, 20 Jul 2015 16:10:27 +0000 (18:10 +0200)]
[3955] Added version info for dhcp-ddns library
Tomek Mrugalski [Mon, 20 Jul 2015 15:24:08 +0000 (17:24 +0200)]
[3955] Corrected duplicate initialization of LDFLAGS in cryptolink
Marcin Siodelski [Mon, 20 Jul 2015 13:46:59 +0000 (15:46 +0200)]
[master] Added ChangeLog entry for #3949.