]>
git.ipfire.org Git - thirdparty/kea.git/log
Michal Nowikowski [Fri, 18 Jan 2019 09:01:34 +0000 (10:01 +0100)]
added ChangeLog entry about request rate fix in perfdhcp
Tomek Mrugalski [Fri, 18 Jan 2019 08:34:05 +0000 (09:34 +0100)]
[#283,!135] Wrapped long line, todo converted to doxygen syntax
Michal Nowikowski [Thu, 17 Jan 2019 15:48:06 +0000 (16:48 +0100)]
perfdhcp: renamed BetterSocket to PerfSocket, replaced std::mutex with isc::util::thread::Mutex
Tomek Mrugalski [Tue, 15 Jan 2019 13:30:48 +0000 (14:30 +0100)]
[#283,!135] Obsolete TestControl::receivePackets declaration removed
Tomek Mrugalski [Tue, 15 Jan 2019 13:21:30 +0000 (14:21 +0100)]
[#283,!135] Changes after review: PktPtr moved to dhcp/pkt.h
Tomek Mrugalski [Tue, 15 Jan 2019 12:46:54 +0000 (13:46 +0100)]
[#283,!135] boost/atomics check moved to ax_boost_for_kea.m4
Tomek Mrugalski [Tue, 15 Jan 2019 12:40:24 +0000 (13:40 +0100)]
[#283,!135] Changes after review: #pragma once removed
Michal Nowikowski [Tue, 11 Dec 2018 16:06:42 +0000 (17:06 +0100)]
changes after review of perfdhcp changes:
- replaced asserts with exceptions
- replaced std::thread with util::thread::Thread
- fixed handling run_flag_
Michal Nowikowski [Fri, 7 Dec 2018 14:33:42 +0000 (15:33 +0100)]
changes after review
- added usleep to main loop in run function when nothing is to be done to not overload CPU
- changed includes to use <...>
- changed socket desctructor to be virtual
- updated docs
- changed rate type to unsigned
- other minor fixes
Francis Dupont [Mon, 10 Dec 2018 07:50:53 +0000 (08:50 +0100)]
[283-perfdhcp-indicated-requests-rate-is-not-kept-during-testing] Fixed lib dhcp comments, removed unused iface control_buf_
Francis Dupont [Fri, 7 Dec 2018 21:15:34 +0000 (22:15 +0100)]
[283-perfdhcp-indicated-requests-rate-is-not-kept-during-testing] Minimal fixes to make it to build on macOS
Michal Nowikowski [Tue, 20 Nov 2018 11:52:43 +0000 (12:52 +0100)]
[#283,!135] Fixed request rate accuracy issue in perfdhcp introducing 2 threads (for sending and receiving).
Delays in sending and receiving (e.g. timeout is select) was causing time slips so sending new packets was always late.
The fix splits receiving into separate thread to not interfere with sending in main thread.
RateController was changed. Now it tracks actual request rate estimating it from the beginning of the test.
In every iteration of sending main loop it is checked if actual request rate is lower than expected.
In such case packets are sent immediatelly. This way actual request rate is always accurate.
The receiver thread receives packets from socket using select as before but do not have to worry about delaying sending.
Read packet are parsed and then passed to main sending thread for further processing.
This processing involves updating stats, matching with sent packets and issueing responses if necessary.
There have been removed some features that do not make sense after introducing these changes.
These includes: aggresivity and some custom statistics.
Thomas Markwalder [Thu, 17 Jan 2019 14:39:32 +0000 (09:39 -0500)]
[master] Restored ChangeLog and added entry 1512.
Prior commit blew away ChangeLog (oops). Restored it
and added a new entry.
Thomas Markwalder [Thu, 17 Jan 2019 14:35:56 +0000 (09:35 -0500)]
[master] kea-dhcp4 now silenty ignores blank hostname option (12) from client
Merge branch '40-empty-hostname'
Francis Dupont [Wed, 16 Jan 2019 11:46:26 +0000 (12:46 +0100)]
[395-create-a-class-representing-cb-audit-entries] spelling
Thomas Markwalder [Wed, 25 Jul 2018 19:58:33 +0000 (15:58 -0400)]
[5440] libdhcp++ now quietly drops empty host name options from inbound packets
src/lib/dhcp/libdhcp++.cc
LibDHCP::unpackOptions4() - added logic to drop Host Name option
if when empty
src/lib/dhcp/tests/libdhcp++_unittest.cc
TEST_F(LibDhcpTest, emptyHostName) - new unit test
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processHostnameOption() - removed prior 5440 logic
to ignore blank hostname options
src/bin/dhcp4/dhcp4_messages.mes
Removed prior 5440 message
Francis Dupont [Sat, 23 Jun 2018 11:16:50 +0000 (13:16 +0200)]
[5440] Checkpoint before giving up
Marcin Siodelski [Tue, 15 Jan 2019 18:31:48 +0000 (19:31 +0100)]
[#395,!201] Added audit entry collection and unit tests.
Marcin Siodelski [Tue, 15 Jan 2019 16:53:41 +0000 (17:53 +0100)]
[#395,!201] Implemented AuditEntry class.
Marcin Siodelski [Fri, 11 Jan 2019 18:43:48 +0000 (19:43 +0100)]
[#99,!197] Added a warning as a result of review.
Marcin Siodelski [Fri, 11 Jan 2019 18:32:33 +0000 (19:32 +0100)]
[#99,!197] Addressed review comments.
Marcin Siodelski [Thu, 10 Jan 2019 18:55:01 +0000 (19:55 +0100)]
[#99,!197] CfgMgr updated to merge config from external source.
Marcin Siodelski [Thu, 10 Jan 2019 11:07:14 +0000 (12:07 +0100)]
[#99,!197] Implemented subnets merge in the CfgSubnets4.
Marcin Siodelski [Wed, 9 Jan 2019 14:41:10 +0000 (15:41 +0100)]
[#99,!197] Added merging into the ConfigBase class.
Francis Dupont [Sat, 29 Dec 2018 13:37:31 +0000 (14:37 +0100)]
[367-kea-does-not-compile-with-boost-installed-at-not-default-location] Retry with infered lib dir
Francis Dupont [Fri, 11 Jan 2019 13:32:51 +0000 (14:32 +0100)]
[master] Updated ChangeLog for "Remove obsolete experimental DHCPv6 options"
Francis Dupont [Thu, 10 Jan 2019 23:49:48 +0000 (00:49 +0100)]
[386-remove-obsolete-experimental-dhcpv6-options] Removed dangling reference to dhcp6-exp-options-list
Francis Dupont [Thu, 10 Jan 2019 23:30:15 +0000 (00:30 +0100)]
[386-remove-obsolete-experimental-dhcpv6-options] Removed no future experimental options
Francis Dupont [Fri, 11 Jan 2019 13:28:21 +0000 (14:28 +0100)]
[master] Updated ChangeLog for "Bad config crashes CA or D2 servers even with -c"
Francis Dupont [Thu, 3 Jan 2019 18:59:52 +0000 (19:59 +0100)]
[381-bad-config-crashes-ca-or-d2-servers-even-with-c] Added a not regression unit test
Francis Dupont [Thu, 3 Jan 2019 15:46:44 +0000 (16:46 +0100)]
[381-bad-config-crashes-ca-or-d2-servers-even-with-c] Fixed severity_ptr typo
Thomas Markwalder [Thu, 10 Jan 2019 20:36:42 +0000 (15:36 -0500)]
[master] Added ChangeLog entry 1509.
Thomas Markwalder [Thu, 10 Jan 2019 20:35:04 +0000 (15:35 -0500)]
[master] kea-dhcp4 can now calculate T1/T2
Merge branch '365-automatically-calculate-the-values-for-options-58-and-59'
Francis Dupont [Thu, 10 Jan 2019 15:55:37 +0000 (16:55 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Restored the correct message
Francis Dupont [Thu, 10 Jan 2019 15:05:20 +0000 (16:05 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Fixed reference
Francis Dupont [Thu, 10 Jan 2019 15:00:44 +0000 (16:00 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Rewrapped the new note
Francis Dupont [Thu, 10 Jan 2019 14:47:23 +0000 (14:47 +0000)]
[#365,!194] regen bison
Francis Dupont [Thu, 10 Jan 2019 14:45:09 +0000 (15:45 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] spelling
Francis Dupont [Thu, 10 Jan 2019 14:44:29 +0000 (15:44 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] spelling
Francis Dupont [Thu, 10 Jan 2019 14:34:39 +0000 (15:34 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Removed extra traling spaces
Francis Dupont [Thu, 10 Jan 2019 14:33:28 +0000 (15:33 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Removed extra traling spaces
Francis Dupont [Thu, 10 Jan 2019 14:31:21 +0000 (15:31 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Removed extra traling spaces
Francis Dupont [Thu, 10 Jan 2019 14:28:52 +0000 (15:28 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] spelling
Francis Dupont [Thu, 10 Jan 2019 14:23:13 +0000 (15:23 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Reverted trailing comma addition
Francis Dupont [Thu, 10 Jan 2019 14:20:25 +0000 (15:20 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] Moved new parameters
Francis Dupont [Thu, 10 Jan 2019 14:19:11 +0000 (15:19 +0100)]
[365-automatically-calculate-the-values-for-options-58-and-59] spelling
Thomas Markwalder [Wed, 9 Jan 2019 16:14:01 +0000 (11:14 -0500)]
[#365,!194] kea-dhcp4 can be configured to calculate T1 and T2
doc/guide/dhcp4-srv.xml
Updated user guide with new parameters and details on rules
src/lib/cc/data.cc
DoubleElement::toJSON(std::ostream& ss) - modified to ensure whole number
values are suffixed with ".0"
src/lib/utils/doubles.h - new file
provides a function for equating doubles within a given tolerance
src/lib/cc/simple_parser.*
SimpleParser::getDouble() - new method for fetching real number
parameters as DoulbeElements
src/lib/dhcpsrv/network.*
Added members and support for new paramters to Network4:
calculate_tee_times_, t1_percent_, t2_percent_
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
Added support for new parameters to Subnet4ConfigParser
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
Added parser support for calculate-tee-times, t1-percent, and t2-percent
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::setTeeTimes(lease, subnet, resp) - new method for
determining T1 adn T2 values
Francis Dupont [Tue, 8 Jan 2019 10:30:53 +0000 (11:30 +0100)]
[master] trivial 4/6 typo
Francis Dupont [Thu, 3 Jan 2019 11:48:13 +0000 (12:48 +0100)]
[master] Updated ChangeLog for D2 control channel
Francis Dupont [Wed, 2 Jan 2019 16:19:20 +0000 (17:19 +0100)]
[30-implement-control-socket-for-ddns-2] Finished test updates
Francis Dupont [Wed, 2 Jan 2019 16:11:44 +0000 (17:11 +0100)]
[30-implement-control-socket-for-ddns-2] Updated kea-shell tests
Francis Dupont [Wed, 2 Jan 2019 14:12:23 +0000 (15:12 +0100)]
[30-implement-control-socket-for-ddns-2] DHCP servers -> Kea servers
Francis Dupont [Tue, 1 Jan 2019 14:14:44 +0000 (15:14 +0100)]
[30-implement-control-socket-for-ddns-2] Updated API doc
Francis Dupont [Fri, 28 Dec 2018 23:52:40 +0000 (00:52 +0100)]
[30-implement-control-socket-for-ddns-2] Updated doc
Francis Dupont [Fri, 28 Dec 2018 23:17:35 +0000 (00:17 +0100)]
[30-implement-control-socket-for-ddns-2] Added config-set support
Francis Dupont [Fri, 28 Dec 2018 20:59:11 +0000 (21:59 +0100)]
[30-implement-control-socket-for-ddns-2] Finished unit tests
Francis Dupont [Fri, 28 Dec 2018 14:47:57 +0000 (15:47 +0100)]
[30-implement-control-socket-for-ddns-2] Added channel management - todo finish new unit tests
Francis Dupont [Fri, 28 Dec 2018 02:34:35 +0000 (03:34 +0100)]
[30-implement-control-socket-for-ddns-2] Added commands
Francis Dupont [Fri, 28 Dec 2018 00:53:56 +0000 (01:53 +0100)]
[30-implement-control-socket-for-ddns-2] Ported more code and some tests
Francis Dupont [Thu, 27 Dec 2018 23:25:14 +0000 (23:25 +0000)]
[#30,!183] Regen flex/bison
Francis Dupont [Thu, 27 Dec 2018 23:20:33 +0000 (00:20 +0100)]
[30-implement-control-socket-for-ddns-2] Updated syntax
Francis Dupont [Thu, 27 Dec 2018 23:15:30 +0000 (00:15 +0100)]
[30-implement-control-socket-for-ddns-2] Updated keactrl
Francis Dupont [Thu, 27 Dec 2018 23:12:04 +0000 (00:12 +0100)]
[30-implement-control-socket-for-ddns-2] Updated CA
Francis Dupont [Thu, 27 Dec 2018 23:09:53 +0000 (00:09 +0100)]
[30-implement-control-socket-for-ddns-2] Reported doc updates
Marcin Siodelski [Thu, 20 Dec 2018 19:27:03 +0000 (20:27 +0100)]
[#99,!176] Improved unit tests as a result of the second review.
Marcin Siodelski [Wed, 19 Dec 2018 20:26:24 +0000 (21:26 +0100)]
[#99,!176] Added deletion of vendor options from the configuration.
Marcin Siodelski [Wed, 19 Dec 2018 20:00:33 +0000 (21:00 +0100)]
[#99,!176] Added unit test for deleting an option from option space.
Marcin Siodelski [Wed, 19 Dec 2018 12:40:59 +0000 (13:40 +0100)]
[#99,!176] Updated commentary in the test config backend for DHCPv4.
Marcin Siodelski [Wed, 19 Dec 2018 12:23:54 +0000 (13:23 +0100)]
[#99,!176] Implemented test config backend for DHCPv4.
Thomas Markwalder [Thu, 20 Dec 2018 19:19:46 +0000 (14:19 -0500)]
[master] Added ChangeLog entry 1507.
Thomas Markwalder [Thu, 20 Dec 2018 19:18:20 +0000 (14:18 -0500)]
[master] kea-dhcp4 now emits message type option first in outbound packets
Merge branch '363-13966-dhcp-option-start-sequence'
Thomas Markwalder [Thu, 20 Dec 2018 18:33:42 +0000 (13:33 -0500)]
[#363, !177] Addressed review comments
Thomas Markwalder [Wed, 19 Dec 2018 20:41:29 +0000 (15:41 -0500)]
[#363, !177] kea-dhcp4 now emits message type option (53) first
src/lib/dhcp/libdhcp++.*
LibDHCP::packOptions4() - added logic to emit message type option (53) first
src/lib/dhcp/tests/pkt4_unittest.cc
Updated unit tests accordingly
Wlodek Wencel [Tue, 18 Dec 2018 12:48:34 +0000 (13:48 +0100)]
[master] bumped up version after release
Marcin Siodelski [Thu, 13 Dec 2018 18:46:44 +0000 (19:46 +0100)]
[#351,!175] Corrected typos in the updated keactrl section of user's guide.
Tomek Mrugalski [Thu, 13 Dec 2018 18:28:32 +0000 (19:28 +0100)]
[#351,!175] keactrl + netconf documented.
Marcin Siodelski [Thu, 13 Dec 2018 14:58:54 +0000 (15:58 +0100)]
[master] Several fixes to the documentation following 1.5.0 sanity checks.
Okayed on jabber.
Thomas Markwalder [Thu, 13 Dec 2018 14:55:08 +0000 (09:55 -0500)]
[master] Corrected CQL upgrade script
Merge branch '344-cql-upgrade-script-fails-on-ubuntu'
Tomek Mrugalski [Thu, 13 Dec 2018 14:40:14 +0000 (15:40 +0100)]
[#344,!173] Report test success
Thomas Markwalder [Thu, 13 Dec 2018 14:04:33 +0000 (09:04 -0500)]
[#344,!173] Scrubbed CQL upgrade script of "non-portables"
Francis Dupont [Wed, 12 Dec 2018 22:56:56 +0000 (23:56 +0100)]
[344-lease-cmds-unit-tests] Added casts for 32 bit compilers
Marcin Siodelski [Wed, 12 Dec 2018 18:22:49 +0000 (19:22 +0100)]
[#344,!171] Updated supported OSes in the User's guide.
Marcin Siodelski [Wed, 12 Dec 2018 18:19:07 +0000 (19:19 +0100)]
[#344,!171] Removed the section about server terminating when db conn lost.
Marcin Siodelski [Wed, 12 Dec 2018 18:16:40 +0000 (19:16 +0100)]
[#344,!171] Removed "Selecting the Configuration Backend" section.
Marcin Siodelski [Wed, 12 Dec 2018 18:13:54 +0000 (19:13 +0100)]
[#344,!171] Install notes point to gitlab rather than github.
Marcin Siodelski [Wed, 12 Dec 2018 18:04:24 +0000 (19:04 +0100)]
[#344,!171] Updated runtime dependencies in UG: Botan and OpenSSL.
Marcin Siodelski [Wed, 12 Dec 2018 17:51:35 +0000 (18:51 +0100)]
[#344,!171] Added Radius and Netconf optional runtime dependencies.
Marcin Siodelski [Wed, 12 Dec 2018 17:50:51 +0000 (18:50 +0100)]
[#344,!171] Added missing API command files to the distribution.
Wlodek Wencel [Wed, 12 Dec 2018 17:02:05 +0000 (18:02 +0100)]
[master] added sysrepo and libyang to AUTHORS file
Thomas Markwalder [Wed, 12 Dec 2018 16:34:48 +0000 (11:34 -0500)]
[master] Restored missing lock in packet_queue_ring.h
modified: src/lib/dhcp/packet_queue_ring.h
Wlodek Wencel [Wed, 12 Dec 2018 02:14:32 +0000 (03:14 +0100)]
[master] changes for 1.5.0 final release
Tomek Mrugalski [Tue, 11 Dec 2018 20:42:12 +0000 (21:42 +0100)]
[#284,!146] Minor correction in netconf/simple-dhcp4.json
Francis Dupont [Wed, 28 Nov 2018 22:21:24 +0000 (23:21 +0100)]
[284-need-dhcp6-example-for-netconf] Removed simple config and add simple DHCPv6 one
Tomek Mrugalski [Tue, 11 Dec 2018 19:15:39 +0000 (20:15 +0100)]
[#339, !169] Added macro expansion control.
This is supposed to fix the last error, but for some reason it doesn't.
Tomek Mrugalski [Tue, 11 Dec 2018 19:15:08 +0000 (20:15 +0100)]
[#339, !169] Corrected two mistakes.
Francis Dupont [Tue, 11 Dec 2018 16:14:36 +0000 (17:14 +0100)]
[339-doxygen-errors] doxygen fixes
Francis Dupont [Tue, 11 Dec 2018 16:12:17 +0000 (17:12 +0100)]
[339-doxygen-errors] Tentative doxygen fix
Francis Dupont [Tue, 11 Dec 2018 16:09:09 +0000 (17:09 +0100)]
[339-doxygen-errors] typo
Francis Dupont [Tue, 11 Dec 2018 16:06:58 +0000 (17:06 +0100)]
[339-doxygen-errors] Removed spurious @endcode
Marcin Siodelski [Tue, 11 Dec 2018 19:53:30 +0000 (20:53 +0100)]
[master] Added ChangeLog entry for #338.