]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Mon, 28 Jan 2019 18:15:46 +0000 (19:15 +0100)]
[#396,!205] Use microsec precision for the CB tables.
Marcin Siodelski [Mon, 28 Jan 2019 17:34:05 +0000 (18:34 +0100)]
[#396,!205] Improved time handling in MySQL CB.
- Use milliseconds instead of seconds precision
- Use local time on Kea side, instead of universal time
- Dedicated posix_time / MYSQL_TIME conversion functions
Marcin Siodelski [Mon, 28 Jan 2019 13:05:27 +0000 (14:05 +0100)]
[#396,!205] Fixed compilation error in StampedValue.
Marcin Siodelski [Mon, 28 Jan 2019 12:52:01 +0000 (13:52 +0100)]
[#396,!205] Modify MySQL schema to use fractional second timestamps.
Marcin Siodelski [Fri, 25 Jan 2019 16:11:26 +0000 (17:11 +0100)]
[#396,!205] Return audit for the specified server.
Marcin Siodelski [Fri, 25 Jan 2019 15:34:16 +0000 (16:34 +0100)]
[#396,!205] Server selector is now used for creating audit revisions.
Marcin Siodelski [Fri, 25 Jan 2019 12:48:54 +0000 (13:48 +0100)]
[#396,!205] Added MySQL upgrade script from 7.0 to 8.0.
Marcin Siodelski [Fri, 25 Jan 2019 11:18:29 +0000 (12:18 +0100)]
[#396,!205] Fix issues in the core tests related to schema changes.
Marcin Siodelski [Fri, 25 Jan 2019 08:11:04 +0000 (09:11 +0100)]
[#396,!205] Cleanup in the database creation script.
Marcin Siodelski [Thu, 24 Jan 2019 15:25:47 +0000 (16:25 +0100)]
[#396,!205] Handle audit for pool specific options.
Marcin Siodelski [Thu, 24 Jan 2019 12:49:20 +0000 (13:49 +0100)]
[#396,!205] Improved commentary in the MySQL CB backend.
Marcin Siodelski [Thu, 24 Jan 2019 12:09:37 +0000 (13:09 +0100)]
[#396,!205] Updated dhcpdb_create.mysql
Marcin Siodelski [Wed, 23 Jan 2019 19:37:32 +0000 (20:37 +0100)]
[#396,!205] Numerous improvements to MySQL CB audit trail.
Marcin Siodelski [Mon, 21 Jan 2019 13:30:53 +0000 (14:30 +0100)]
[#396,!205] Implemented audit for options.
Marcin Siodelski [Mon, 21 Jan 2019 11:58:34 +0000 (12:58 +0100)]
[#396,!205] Implemented audit for the option definitions.
Marcin Siodelski [Mon, 21 Jan 2019 11:40:20 +0000 (12:40 +0100)]
[#396,!205] Implemented audit for the shared networks.
Marcin Siodelski [Mon, 21 Jan 2019 10:34:55 +0000 (11:34 +0100)]
[#396,!205] Implemented audit for the subnets.
Marcin Siodelski [Mon, 21 Jan 2019 01:25:33 +0000 (02:25 +0100)]
[#396,!205] Added audit for global parameters.
Marcin Siodelski [Mon, 21 Jan 2019 01:24:23 +0000 (02:24 +0100)]
[#396,!205] Extended DHCPv4 CB API with the call to fetch audit.
Marcin Siodelski [Mon, 21 Jan 2019 01:22:56 +0000 (02:22 +0100)]
[#396,!205] Enable building mysql_cb hooks library.
Michal Nowikowski [Tue, 29 Jan 2019 09:54:20 +0000 (10:54 +0100)]
improved error trace in case ./configure cannot find pgsql dependencies
Francis Dupont [Sat, 29 Dec 2018 09:27:26 +0000 (10:27 +0100)]
[111-configure-options-with-pgsql-not-working-properly] Added a default for auto-detected PG_CONFIG
Francis Dupont [Tue, 29 Jan 2019 09:52:40 +0000 (10:52 +0100)]
[master] Added ChangeLog entry for get hosts by subnet
Francis Dupont [Mon, 28 Jan 2019 21:26:12 +0000 (22:26 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Last changes
Francis Dupont [Sun, 27 Jan 2019 16:38:12 +0000 (17:38 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Updated doc for the new next map stuff
Francis Dupont [Sun, 27 Jan 2019 16:21:50 +0000 (17:21 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Removed spurious ';' and raise OutOfRange
Francis Dupont [Sun, 27 Jan 2019 16:21:15 +0000 (17:21 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Commented NotImplemented usages
Tomek Mrugalski [Thu, 24 Jan 2019 20:01:02 +0000 (21:01 +0100)]
[#313, !199] Corrected hooks.xml
Tomek Mrugalski [Thu, 24 Jan 2019 19:13:33 +0000 (20:13 +0100)]
[#313, !199] implemented getInteger() with range checking
Tomek Mrugalski [Thu, 24 Jan 2019 15:52:33 +0000 (16:52 +0100)]
[#313, !199] reservation-get-page description updated.
Francis Dupont [Thu, 24 Jan 2019 08:45:41 +0000 (09:45 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Added a note about Cassandra / get page
Francis Dupont [Thu, 24 Jan 2019 07:38:31 +0000 (08:38 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Disabled Cassandra getPageX tests
Francis Dupont [Wed, 23 Jan 2019 16:52:22 +0000 (17:52 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Added last (2.) test
Francis Dupont [Wed, 23 Jan 2019 16:05:09 +0000 (17:05 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Added 1. and 3. unit tests
Francis Dupont [Wed, 23 Jan 2019 15:07:45 +0000 (16:07 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Addressed more comments
Francis Dupont [Wed, 23 Jan 2019 12:34:08 +0000 (13:34 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Addressed some comments
Francis Dupont [Wed, 23 Jan 2019 11:50:31 +0000 (12:50 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Reviewed corrections
Tomek Mrugalski [Mon, 21 Jan 2019 16:00:50 +0000 (17:00 +0100)]
[#313,!199] Several wording changes after review
Tomek Mrugalski [Mon, 21 Jan 2019 15:06:48 +0000 (16:06 +0100)]
[#313,!199] Doc for new commands expanded.
Francis Dupont [Mon, 14 Jan 2019 15:41:15 +0000 (16:41 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Updated doc
Francis Dupont [Mon, 14 Jan 2019 14:58:23 +0000 (15:58 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Added host manager tests
Francis Dupont [Mon, 14 Jan 2019 01:17:29 +0000 (02:17 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Finished getPage[46]
Francis Dupont [Sun, 13 Jan 2019 16:11:57 +0000 (17:11 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Added getPage[46]
Francis Dupont [Sun, 13 Jan 2019 10:40:20 +0000 (11:40 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Finished the getAll[46] implementation
Francis Dupont [Fri, 11 Jan 2019 15:48:30 +0000 (16:48 +0100)]
[313-return-a-list-of-all-reservations-by-subnet-id] Added getAll[46] by subnet - checkpoint of the day
Michal Nowikowski [Tue, 29 Jan 2019 09:42:39 +0000 (10:42 +0100)]
improved error trace in case ./configure cannot find mysql dependencies
Francis Dupont [Sat, 29 Dec 2018 09:17:26 +0000 (10:17 +0100)]
[111-configure-options-with-mysql-not-working-properly] Added a default for auto-detected MYSQL_CONFIG
Francis Dupont [Sat, 29 Dec 2018 10:41:47 +0000 (11:41 +0100)]
[111-configure-options-with-cql-not-working-properly] Added check of existance by the config script
Michal Nowikowski [Mon, 28 Jan 2019 12:59:55 +0000 (13:59 +0100)]
[#416,!213]radius docs: changed secret to sekret
Michal Nowikowski [Fri, 25 Jan 2019 08:39:17 +0000 (09:39 +0100)]
radius: added config example for accounting
Francis Dupont [Sat, 29 Dec 2018 08:49:31 +0000 (09:49 +0100)]
[371-ld-warning-message-on-macos-build] Add lib64 only when it exists and is a directory
Alan Clegg [Thu, 24 Jan 2019 16:29:00 +0000 (11:29 -0500)]
Corrected subnets/subnet4 argument in subnet4-add.
Thanks to Daniel Ambauen for catching this.
Marcin Siodelski [Wed, 23 Jan 2019 21:12:28 +0000 (22:12 +0100)]
[#405,!212] Fixed a typo.
Francis Dupont [Wed, 23 Jan 2019 02:32:32 +0000 (03:32 +0100)]
[405-update-cb_cmds] Missing space
Francis Dupont [Tue, 22 Jan 2019 21:12:08 +0000 (22:12 +0100)]
[422-distcheck-failure-after-375] Removed comment
Tomek Mrugalski [Tue, 22 Jan 2019 19:20:19 +0000 (20:20 +0100)]
[master] Brian's acknowledged in AUTHORS file
Francis Dupont [Tue, 22 Jan 2019 08:41:56 +0000 (09:41 +0100)]
[master] Added ChangeLog entry for config-reload for CA and D2
Francis Dupont [Thu, 3 Jan 2019 14:20:07 +0000 (15:20 +0100)]
[375-add-config-reload-support-in-process-library] Added config-reload to process lib so CA and D2
Tomek Mrugalski [Fri, 18 Jan 2019 17:12:28 +0000 (18:12 +0100)]
[#82, !180] Missing unit-test added.
Francis Dupont [Thu, 27 Dec 2018 18:33:21 +0000 (19:33 +0100)]
[82-improve-kea-test-capabilities] Updated guides
Francis Dupont [Thu, 27 Dec 2018 18:12:10 +0000 (19:12 +0100)]
[82-improve-kea-test-capabilities] Added remote port to dhcp4/dhcp6/perfdhcp
Francis Dupont [Thu, 27 Dec 2018 15:15:30 +0000 (16:15 +0100)]
[82-improve-kea-test-capabilities] Made "server" port
Tomek Mrugalski [Fri, 11 Jan 2019 16:28:23 +0000 (17:28 +0100)]
Unnecessary references removed
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