2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
Commit Graph

28042 Commits

Author SHA1 Message Date
Marcin Siodelski
145a95effc [#405,!212] Fixed a typo. 2019-01-24 04:39:08 -05:00
Francis Dupont
2f4cc620de [405-update-cb_cmds] Missing space 2019-01-24 04:39:08 -05:00
Francis Dupont
a5c27fd9ab [422-distcheck-failure-after-375] Removed comment 2019-01-22 22:12:08 +01:00
Tomek Mrugalski
9ce8ec70e4 [master] Brian's acknowledged in AUTHORS file 422-distcheck-failure-after-375_base 405-update-cb_cmds_base 405-update-cb_cmds 2019-01-22 20:20:19 +01:00
Francis Dupont
d0239dd190 [master] Added ChangeLog entry for config-reload for CA and D2 2019-01-22 09:41:56 +01:00
Francis Dupont
93648a3a49 [375-add-config-reload-support-in-process-library] Added config-reload to process lib so CA and D2 2019-01-22 03:37:48 -05:00
Tomek Mrugalski
4987e17c27 [#82, !180] Missing unit-test added. 421-create-config-backend-for-dhcpv6_base 421-create-config-backend-for-dhcpv6-base_base 2019-01-18 18:12:28 +01:00
Francis Dupont
8ea668319f [82-improve-kea-test-capabilities] Updated guides 2019-01-18 17:50:10 +01:00
Francis Dupont
c25bbf2616 [82-improve-kea-test-capabilities] Added remote port to dhcp4/dhcp6/perfdhcp 2019-01-18 17:50:10 +01:00
Francis Dupont
0487f6fc96 [82-improve-kea-test-capabilities] Made "server" port 2019-01-18 17:36:27 +01:00
Tomek Mrugalski
102feb5bdb Unnecessary references removed 2019-01-18 11:18:53 -05:00
Michal Nowikowski
5b16c5c4bb added ChangeLog entry about request rate fix in perfdhcp 2019-01-18 10:06:44 +01:00
Tomek Mrugalski
329f54bb15 [#283,!135] Wrapped long line, todo converted to doxygen syntax 2019-01-18 10:05:12 +01:00
Michal Nowikowski
1311cb038a perfdhcp: renamed BetterSocket to PerfSocket, replaced std::mutex with isc::util:🧵:Mutex 2019-01-18 10:05:12 +01:00
Tomek Mrugalski
35968bfc55 [#283,!135] Obsolete TestControl::receivePackets declaration removed 2019-01-18 10:05:12 +01:00
Tomek Mrugalski
fc1671c680 [#283,!135] Changes after review: PktPtr moved to dhcp/pkt.h 2019-01-18 10:05:12 +01:00
Tomek Mrugalski
c6853147a7 [#283,!135] boost/atomics check moved to ax_boost_for_kea.m4 2019-01-18 10:05:12 +01:00
Tomek Mrugalski
ad55dd06a1 [#283,!135] Changes after review: #pragma once removed 2019-01-18 10:05:12 +01:00
Michal Nowikowski
5d2fe61d87 changes after review of perfdhcp changes:
- replaced asserts with exceptions
- replaced std::thread with util:🧵:Thread
- fixed handling run_flag_
2019-01-18 10:05:12 +01:00
Michal Nowikowski
9b225b8619 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
2019-01-18 10:05:12 +01:00
Francis Dupont
e2662b088f [283-perfdhcp-indicated-requests-rate-is-not-kept-during-testing] Fixed lib dhcp comments, removed unused iface control_buf_ 2019-01-18 10:05:12 +01:00
Francis Dupont
4254960b01 [283-perfdhcp-indicated-requests-rate-is-not-kept-during-testing] Minimal fixes to make it to build on macOS 2019-01-18 10:05:12 +01:00
Michal Nowikowski
552e82675b [#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.
2019-01-18 10:05:12 +01:00
Thomas Markwalder
4bbf912aad [master] Restored ChangeLog and added entry 1512.
Prior commit blew away ChangeLog (oops). Restored it
    and added a new entry.
2019-01-17 09:39:32 -05:00
Thomas Markwalder
f41bd35c3e [master] kea-dhcp4 now silenty ignores blank hostname option (12) from client
Merge branch '40-empty-hostname'
2019-01-17 09:35:56 -05:00
Francis Dupont
fc55fc33ff [395-create-a-class-representing-cb-audit-entries] spelling 100-implement-test-config-backend-dhcp6_base 117-configure-script-doesn-t-fail-when-enable-generate-docs-is-used-and-docbook-style-xsl-is-not-installed_base 361-kea-user-s-guide-table-listing-standard-options-uses-hex-instead-of-binary_base 117-configure-script-doesn-t-fail-when-enable-generate-docs-is-used-and-docbook-style-xsl-is-not-installed 2019-01-16 12:46:26 +01:00
Thomas Markwalder
8d1f1d7f72 [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
2019-01-16 10:46:16 +01:00
Francis Dupont
1f141f14ef [5440] Checkpoint before giving up 2019-01-16 10:46:16 +01:00
Marcin Siodelski
f3ac0825c6 [#395,!201] Added audit entry collection and unit tests. 2019-01-15 19:31:48 +01:00
Marcin Siodelski
ac22858972 [#395,!201] Implemented AuditEntry class. 2019-01-15 17:53:41 +01:00
Marcin Siodelski
71c92cab57 [#99,!197] Added a warning as a result of review. 2019-01-14 07:18:47 -05:00
Marcin Siodelski
f36a7476b3 [#99,!197] Addressed review comments. 2019-01-14 07:18:47 -05:00
Marcin Siodelski
a022cca324 [#99,!197] CfgMgr updated to merge config from external source. 2019-01-14 07:18:47 -05:00
Marcin Siodelski
7e86696d14 [#99,!197] Implemented subnets merge in the CfgSubnets4. 2019-01-14 07:18:47 -05:00
Marcin Siodelski
0043833dc4 [#99,!197] Added merging into the ConfigBase class. 2019-01-14 07:18:46 -05:00
Francis Dupont
beb2dbc04a [367-kea-does-not-compile-with-boost-installed-at-not-default-location] Retry with infered lib dir 2019-01-11 18:03:25 -05:00
Francis Dupont
7ef3fd2898 [master] Updated ChangeLog for "Remove obsolete experimental DHCPv6 options" 2019-01-11 14:32:51 +01:00
Francis Dupont
1114527652 [386-remove-obsolete-experimental-dhcpv6-options] Removed dangling reference to dhcp6-exp-options-list 2019-01-11 08:29:48 -05:00
Francis Dupont
424fe3a592 [386-remove-obsolete-experimental-dhcpv6-options] Removed no future experimental options 2019-01-11 08:29:48 -05:00
Francis Dupont
63ea99a546 [master] Updated ChangeLog for "Bad config crashes CA or D2 servers even with -c" 2019-01-11 14:28:21 +01:00
Francis Dupont
f45fe7b7e3 [381-bad-config-crashes-ca-or-d2-servers-even-with-c] Added a not regression unit test 2019-01-11 08:23:43 -05:00
Francis Dupont
52927a0a0d [381-bad-config-crashes-ca-or-d2-servers-even-with-c] Fixed severity_ptr typo 2019-01-11 08:23:43 -05:00
Thomas Markwalder
a02d7bdf0c [master] Added ChangeLog entry 1509. 313-return-a-list-of-all-reservations-by-subnet-id_base 386-remove-obsolete-experimental-dhcpv6-options_base 2019-01-10 15:36:42 -05:00
Thomas Markwalder
67944844a4 [master] kea-dhcp4 can now calculate T1/T2
Merge branch '365-automatically-calculate-the-values-for-options-58-and-59'
2019-01-10 15:35:04 -05:00
Francis Dupont
5faafeed32 [365-automatically-calculate-the-values-for-options-58-and-59] Restored the correct message 2019-01-10 16:55:37 +01:00
Francis Dupont
b1a8836942 [365-automatically-calculate-the-values-for-options-58-and-59] Fixed reference 2019-01-10 16:05:20 +01:00
Francis Dupont
07f322f3a4 [365-automatically-calculate-the-values-for-options-58-and-59] Rewrapped the new note 2019-01-10 16:00:44 +01:00
Francis Dupont
0f58269410 [#365,!194] regen bison 2019-01-10 14:47:23 +00:00
Francis Dupont
40f72266dc [365-automatically-calculate-the-values-for-options-58-and-59] spelling 2019-01-10 15:45:09 +01:00
Francis Dupont
8d4f7c188d [365-automatically-calculate-the-values-for-options-58-and-59] spelling 2019-01-10 15:44:29 +01:00