2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-29 15:28:38 +00:00
Commit Graph

33255 Commits

Author SHA1 Message Date
Francis Dupont
0bdf8b6df6 [#1661] HTTP code half done 2021-03-24 09:09:02 +01:00
Francis Dupont
f011be7b87 [#1661] Checkpoint: did asiolink (but need more UTs) 2021-03-24 09:09:02 +01:00
Francis Dupont
2f91e0c510 [#1661] Checkpoint: crypto context 2021-03-24 09:07:27 +01:00
Francis Dupont
c0a42cec63 [#1661] Imported ca and updated Makefiles 2021-03-24 09:07:27 +01:00
Andrei Pavel
e47a26ee2f [#1717] correct some URLs 2021-03-23 13:32:54 +00:00
Francis Dupont
64a006ac9d [#1748] Imported improvements 2021-03-23 14:16:54 +01:00
Francis Dupont
5ce0735266 [#1748] Reverted to more gtest macros 2021-03-23 14:16:54 +01:00
Francis Dupont
cfaa7a4cf9 [#1748] Added KEA_TLS_CHECK_VERBOSE env var 2021-03-23 14:16:54 +01:00
Francis Dupont
2d21404bf6 [#1748] Addressed message content concerns 2021-03-23 14:16:54 +01:00
Francis Dupont
ec41bcb463 [#1748] Add a .gitignore 2021-03-23 14:16:54 +01:00
Francis Dupont
20f6a888cb [#1748] Removed LIBS 2021-03-23 14:16:54 +01:00
Francis Dupont
526e1e369e [#1748] Removed name from name or address 2021-03-23 14:16:54 +01:00
Francis Dupont
a08f6b2d7c [#1748] Updated last error messages 2021-03-23 14:16:54 +01:00
Francis Dupont
fa41491a98 [#1748] Checkpoint: rewrote TLS UTs 2021-03-23 14:16:54 +01:00
Francis Dupont
9fae8e2873 [#1748] Fixed configure order 2021-03-23 14:16:54 +01:00
Francis Dupont
8a72ecdf0d [#1748] Fixed more CentOS 7 problems 2021-03-23 14:16:54 +01:00
Francis Dupont
b9a6f6c1b5 [#1748] More flexible version 2021-03-23 14:16:54 +01:00
Francis Dupont
72931302ca [#1748] Added method namespace 2021-03-23 14:16:53 +01:00
Francis Dupont
ce47d79066 [#1748] Add generic TLS method detection and TLS 1.2 fallback 2021-03-23 14:16:53 +01:00
Thomas Markwalder
c49eddfa5a [#1730] Fixed order in agent makefiles
src/bin/agent/Makefile.am
src/bin/agent/tests/Makefile.am
2021-03-22 14:33:20 -04:00
Thomas Markwalder
e19a7f154c [#1730] Fixed lib order and cosmetic comment
src/bin/dhcp6/tests/Makefile.am
src/hooks/dhcp/flex_option/Makefile.am
src/hooks/dhcp/flex_option/libloadtests/Makefile.am
src/hooks/dhcp/flex_option/tests/Makefile.am
    Fixed lib order.

src/lib/http/tests/connection_pool_unittests.cc
    cosmetic fix
2021-03-22 13:51:50 -04:00
Thomas Markwalder
990deba16a [#1730] Fixed dhcp6/tests/Makefile.am
Accidentally delted cfgclient lib instead
    of adding http lib. Fixed it.
2021-03-22 13:51:50 -04:00
Thomas Markwalder
839e4f3e27 [#1730] Fixed Makefile issues
src/lib/http/tests/Makefile.am
    - added test_http_client.h to sources

Added (or reordered) libkea-http:

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/netconf/Makefile.am
src/bin/netconf/tests/Makefile.am
src/hooks/dhcp/flex_option/Makefile.am
src/hooks/dhcp/flex_option/libloadtests/Makefile.am
src/hooks/dhcp/flex_option/tests/Makefile.am
src/hooks/dhcp/high_availability/Makefile.am
src/hooks/dhcp/high_availability/libloadtests/Makefile.am
src/hooks/dhcp/high_availability/tests/Makefile.am
src/hooks/dhcp/lease_cmds/Makefile.am
src/hooks/dhcp/lease_cmds/tests/Makefile.am
src/hooks/dhcp/mysql_cb/Makefile.am
src/hooks/dhcp/mysql_cb/tests/Makefile.am
src/hooks/dhcp/run_script/Makefile.am
src/hooks/dhcp/run_script/libloadtests/Makefile.am
src/hooks/dhcp/run_script/tests/Makefile.am
src/hooks/dhcp/stat_cmds/Makefile.am
src/hooks/dhcp/stat_cmds/tests/Makefile.am
src/lib/config/tests/Makefile.am
src/lib/dhcp_ddns/Makefile.am
src/lib/dhcp_ddns/tests/Makefile.am
src/lib/dhcpsrv/Makefile.am
src/lib/dhcpsrv/benchmarks/Makefile.am
src/lib/dhcpsrv/tests/Makefile.am
src/lib/http/tests/Makefile.am
src/lib/process/Makefile.am
src/lib/process/tests/Makefile.am
2021-03-22 13:51:50 -04:00
Thomas Markwalder
ef1bc19399 [#1730] Thread-safety issues per review comments
src/lib/config/tests/cmd_http_listener_unittests.cc
    - replaced used of io_service::restart() with reset()

src/lib/http/connection_pool.cc
src/lib/http/connection_pool.h
    - made HttpConnectionPool thread-safe

src/lib/http/tests/connection_pool_unittests.cc
    - added MT tests

src/lib/http/tests/test_http_client.h
    - corrected spelling
2021-03-22 13:51:50 -04:00
Thomas Markwalder
2c14f89809 [#1730] Fix pitfall in unit test per review comment
src/lib/config/tests/cmd_http_listener_unittests.cc
    Replaced thread coordination to avoid "spurious
    unlocking" possible with use of ConditionVariable::wait()
2021-03-22 13:51:50 -04:00
Thomas Markwalder
4b00eb229b [#1730] Address cosmetic review comments
src/lib/Makefile.am
    - fixed over-looked library order issue, http must build
    before config

src/lib/config/cmd_http_listener.cc
src/lib/config/cmd_http_listener.h
src/lib/config/cmd_response_creator.h
src/lib/config/cmd_response_creator_factory.h
src/lib/config/tests/cmd_http_listener_unittests.cc
src/lib/config/tests/cmd_response_creator_unittests.cc
src/lib/http/tests/test_http_client.h
    - Doxygen and formatting corrections
2021-03-22 13:51:50 -04:00
Thomas Markwalder
684d013224 [#1730] Added CmdHttpListener listen-and-respond unit tests
src/lib/config/cmd_http_listener.cc
    CmdHttpListener::start() - added check for multi-threading enabled

src/lib/config/tests/cmd_http_listener_unittests.cc
    Added CmdHttpListenerTest fixture and new listener/client
    interatcion testing

src/lib/http/tests/server_client_unittests.cc
    Extracted TestHttpClient to its own header file

src/lib/http/tests/test_http_client.h - new file
2021-03-22 13:51:50 -04:00
Thomas Markwalder
8fc65f041c [#1730] CmdHttpListener - initial implementation
Initial implementation is complete.  Note class is
not used anywhere but unit tests.

Need unit tests to verify mulitple client connections
and "command" processing.

New files:
src/lib/config/cmd_http_listener.cc
src/lib/config/cmd_http_listener.h
src/lib/config/cmd_response_creator.cc
src/lib/config/cmd_response_creator.h
src/lib/config/cmd_response_creator_factory.h

src/lib/config/Makefile.am
    added new files

src/lib/config/config_messages.mes
src/lib/config/config_messages.cc
src/lib/config/config_messages.h
    - new messages

New files:
src/lib/config/tests/cmd_http_listener_unittests.cc
src/lib/config/tests/cmd_response_creator_unittests.cc
src/lib/config/tests/cmd_response_creator_factory_unittests.cc

src/lib/config/tests/Makefile.am
    added new files
2021-03-22 13:51:50 -04:00
Marcin Siodelski
a424f3a732 [#1726] Applied small edits after review 2021-03-22 16:09:24 +01:00
Marcin Siodelski
fd047883f5 [#1726] Added ChangeLog for #1726 2021-03-22 12:00:59 +01:00
Marcin Siodelski
f9414cabe4 [#1726] Load-balancing requires pools split
This was now highlighted in the ARM in two sections to ensure that users
don't misconfigure their load-balancing servers.
2021-03-22 11:58:50 +01:00
Andrei Pavel
ee2824494d [#1674] add ChangeLog entry 2021-03-19 13:38:38 +02:00
Andrei Pavel
1022b07c7b [#1674] kea-admin: new -P|--port parameter 2021-03-19 13:25:07 +02:00
Michal Nowikowski
15514fa781 [#1757] hammer: fixed installing cassandra
Now Cassandra is being installed from 3rd party
repository on Centos and Fedora as there are no
packages with it in system repos.
2021-03-17 12:52:05 +01:00
Michal Nowikowski
122ab67ce3 [#1751] hammer: removed installing custom version of log4cplus 2021-03-15 09:20:43 +00:00
Michal Nowikowski
52c9c09dbc [#1752] hammer: fixed creating system for HA testing in Forge 2021-03-15 09:54:46 +01:00
Tomek Mrugalski
261d08df4d [#1661] Fixed one last comment 2021-03-12 09:56:46 +01:00
Francis Dupont
5e36f6eabf [#1661] [#1661] Addressed comments 2021-03-12 09:56:46 +01:00
Francis Dupont
24f3ffa6ae [#1661] [#1661] Renamed callback in tests 2021-03-12 09:56:46 +01:00
Francis Dupont
0b51ae98d7 [#1661] Addressed some 1661 comments (port) 2021-03-12 09:56:46 +01:00
Francis Dupont
44b8920340 [#1661] [#1661] Fixed doxygen 2021-03-12 09:56:46 +01:00
Francis Dupont
2a2428f6f8 [#1661] Revamped TLS headers 2021-03-12 09:56:46 +01:00
Francis Dupont
5df26cbf88 [#1661] Added files 2021-03-12 09:56:46 +01:00
Francis Dupont
5eea88319c [#1661] Extracted asiolink part 2021-03-12 09:56:46 +01:00
Andrei Pavel
605ae1b6b3 [#1719] DatabaseLogTest.mutexIsolation 2021-03-08 17:16:36 +02:00
Andrei Pavel
5a69c4c666 [#1719] convert DB_LOG macros to structs 2021-03-08 17:16:36 +02:00
Wlodek Wencel
078fada4d3 [#1728] bump up kea version 2021-02-24 11:36:11 +01:00
Michal Nowikowski
846fda9551 [#1715] release changes Kea-1.9.5 2021-02-23 08:50:09 +01:00
Andrei Pavel
2f6ffa13a8 [#1698] add ChangeLog entry 2021-02-22 19:06:06 +02:00
Razvan Becheriu
92a6486117 [#1657] added note about security regarding the executed script 2021-02-22 16:02:57 +00:00