2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00
Commit Graph

37351 Commits

Author SHA1 Message Date
Thomas Markwalder
3403f15dc7 [#3830] Removed obsolete UT
modified:   dhcp_parsers_unittest.cc
2025-05-16 12:20:43 +03:00
Thomas Markwalder
8121c96c1a [#3830] Fix release mention in ARM
modified:   hooks.rst
2025-05-16 12:20:42 +03:00
Thomas Markwalder
5caceadf72 [#3830] Addressed further review comments
Minor cleanup and fixed hooks partesr UTs
	modified:   src/lib/hooks/hooks_parser.h
	modified:   src/lib/hooks/tests/hooks_manager_unittest.cc
2025-05-16 12:20:42 +03:00
Francis Dupont
8196e0cadf [#3830] Small fixes 2025-05-16 12:20:42 +03:00
Thomas Markwalder
dd87e1d30f [#3830] Updated the ARM 2025-05-16 12:20:42 +03:00
Thomas Markwalder
e4fad9f2bf [#3830] Addressed review comments
src/lib/util/filesystem.cc
    Replaced use of std::filesystem with isc:util::Path

src/lib/hooks/hooks_parser.cc
src/lib/hooks/hooks_parser.h
    HooksLibrariesParser::getHooksPath() - provides the
    ability to set it to an explicit value

Updated A LOT of UTs:

src/bin/agent/tests/ca_cfg_mgr_unittests.cc
src/bin/agent/tests/ca_process_tests.sh.in
src/bin/agent/tests/get_config_unittest.cc
src/bin/agent/tests/test_callout_libraries.h.in
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
src/bin/d2/tests/d2_process_tests.sh.in
src/bin/d2/tests/d2_process_unittests.cc
src/bin/d2/tests/get_config_unittest.cc
src/bin/d2/tests/test_callout_libraries.h.in
src/bin/d2/tests/test_configured_libraries.h.in
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
src/bin/dhcp4/tests/hooks_unittest.cc
src/bin/dhcp4/tests/http_control_socket_unittest.cc
src/bin/dhcp4/tests/test_libraries.h.in
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
src/bin/dhcp6/tests/hooks_unittest.cc
src/bin/dhcp6/tests/http_control_socket_unittest.cc
src/bin/dhcp6/tests/test_libraries.h.in
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/test_libraries.h.in
src/lib/hooks/tests/Makefile.am
src/lib/hooks/tests/hooks_manager_unittest.cc
src/lib/hooks/tests/test_libraries.h.in
src/lib/process/cfgrpt/tests/config_report_unittests.cc
src/lib/util/tests/filesystem_unittests.cc
2025-05-16 12:20:42 +03:00
Thomas Markwalder
ad245f5f7a [#3830] Updated ChangeLog 2025-05-16 12:20:42 +03:00
Thomas Markwalder
73e50310d6 [#3830] Fix ChangeLog spaces 2025-05-16 12:20:42 +03:00
Thomas Markwalder
4f8b1dc282 [#3830] Added ChangeLog entry file
new file:   3830-CVE-2025-32801-Allow-loading-hook--ibraries-only-from-default-path
2025-05-16 12:20:42 +03:00
Thomas Markwalder
433593f231 [#3830] Updated ARM
modified:   doc/sphinx/arm/hooks.rst
modified:   src/lib/hooks/tests/hooks_manager_unittest.cc
modified:   src/lib/util/tests/filesystem_unittests.cc
2025-05-16 12:20:42 +03:00
Thomas Markwalder
4afdeb7719 [#3830] Hook libraries must load from default hook dir
/src/lib/util/filesystem.*
    FileManager::validatePath() - new class and function

/src/lib/hooks/hooks_parser.*
    HooksLibrariesParser::validatePath() - new wrapper around FileManager::validatePath()
    HooksLibrariesParser::parse() - now uses validatePath()

/src/lib/hooks/tests/hooks_manager_unittest.cc
    TEST(HooksParser, validatePathEnforcePath)
    TEST(HooksParser, validatePathEnforcePathFalse) - new tests

/src/lib/util/tests/filesystem_unittests.cc
    TEST(FileManager, validatePathEnforcePath)
    TEST(FileManager, validatePathEnforcePathFalse) - new tests
2025-05-16 12:20:42 +03:00
Andrei Pavel
121b71ae2f [#3789] Extend the change to upgrade scripts down to Kea 2.6 2025-05-16 11:20:13 +03:00
Andrei Pavel
5683641bf3 [#3789] Extend the change to upgrade scripts down to Kea 2.6 2025-05-14 09:46:40 +03:00
Andrei Pavel
f5bcf91497 [#3789] Check only major version in upgrade scripts to allow for intermediary backported schema changes 2025-05-14 09:32:39 +03:00
Andrei Pavel
e8e51c4235 [#3734] Replace non-POSIX "cp -T" 2025-05-09 18:23:00 +03:00
Andrei Pavel
980ff2dfd2 [#3866] Meson: Fix SOURCE_OF_INSTALLATION when git is not installed 2025-05-06 11:50:33 +03:00
Andrei Pavel
0ffbaa27a9 [#3866] Meson: disable b_lundef to fix sanitizers 2025-05-05 08:14:43 +03:00
Andrei Pavel
bef3018afb [#3866] Meson: reinstall.sh now looks into the srcdir for YANG modules 2025-05-05 08:14:43 +03:00
Doug Freed
fca5b10f4d [#3870] Forward port Suzanne's fixes from #3869 2025-05-01 12:35:53 -05:00
Wlodek Wencel
b0f28fc21f [#3868] bump up version in meson.build 2025-04-30 12:05:58 -05:00
Andrei Pavel
ec56ec8bdb [#3864] More release changes Kea-2.7.8 2025-04-29 12:36:24 +03:00
Wlodek Wencel
8f1a25b640 [#3864] release changes 2025-04-29 01:30:27 -05:00
Wlodek Wencel
215a653d47 [#3863] lib version bump up 2025-04-29 07:12:56 +02:00
Andrei Pavel
2ff28294aa [#3763] Add ChangeLog entry 2025-04-28 14:53:19 +00:00
Andrei Pavel
60f8b468d6 [#3763] Add precautionary continue handlers to lease AUPD triggers 2025-04-28 14:53:19 +00:00
Andrei Pavel
5c9c66c715 [#3732] Meson: Fix devel docs 2025-04-28 09:41:17 +03:00
Andrei Pavel
f86f509606 [#3732] Do not run fuzz jobs on MR creation 2025-04-28 09:41:16 +03:00
Andrei Pavel
737181c480 [#3732] Meson: Fix devel 2025-04-27 16:57:19 +03:00
Andrei Pavel
cc9a1fd5df [#3732] Fix tee in ld.so.conf in fuzzing 2025-04-27 16:56:40 +03:00
Andrei Pavel
92d57a18a8 [#3732] Switch Clusterfuzzlite to Meson 2025-04-26 22:26:08 +03:00
Andrei Pavel
7c00eb6c9c [#3732] Do not run fuzz jobs on MR creation 2025-04-26 10:42:27 +03:00
Andrei Pavel
ef10de4ff2 [#3732] Meson: Create HTML devel docs in build directory not in source directory 2025-04-26 07:55:17 +03:00
Andrei Pavel
df1c04ca1f [#3732] Fix NETCONF rpaths 2025-04-25 18:45:15 +03:00
Andrei Pavel
a3f69d7430 [#3732] Meson: Make gtest simple dependency + fallback
The gtest.cc compiler check misleadingly fails on some systems...
2025-04-25 18:45:15 +03:00
Andrei Pavel
4a9fcdb2f5 [#3732] Migrate tools/print-generated-files.sh away from autotools 2025-04-25 09:33:06 +03:00
Andrei Pavel
3133dc2b58 [#3732] Meson: Remove GTEST_DEP from src/lib/process 2025-04-24 22:44:57 +03:00
Andrei Pavel
f75f951dba [#3732] Meson: Fix GTest detection 2025-04-24 16:04:31 +03:00
Andrei Pavel
2b9efcd908 [#3732] Meson: Fix postgresql fallback 2025-04-24 16:04:30 +03:00
Andrei Pavel
6cc2e1fbc7 [#3732] Fix meson.sh 2025-04-24 16:04:30 +03:00
Andrei Pavel
87a51bfd01 [#3732] Meson: further increase test timeouts 2025-04-23 23:35:06 +03:00
Andrei Pavel
c87c5c99ed [#3732] Meson: Report shell tests as xml in builddir by default 2025-04-23 23:35:06 +03:00
Andrei Pavel
b617fe75d3 [#3732] Meson: Make kea-dhcp-tests sequential
IfaceMgr tests can be conflicting.
2025-04-23 23:35:05 +03:00
Andrei Pavel
43ab5f9ac8 [#3732] Meson: Fix localstatedir when prefix is default 2025-04-23 23:35:05 +03:00
Andrei Pavel
f60324fcd6 [#3732] Meson: Install fuzz/input 2025-04-23 23:35:05 +03:00
Andrei Pavel
ae43917069 [#3732] Meson: Fix small inconsistency in yang scripts towards autotools 2025-04-23 23:35:04 +03:00
Andrei Pavel
d774b18e9a [#3732] Meson: Fix hardcoded tarball in version in some places 2025-04-23 23:35:04 +03:00
Andrei Pavel
60222843a6 [#3732] Address review 2025-04-23 23:15:59 +03:00
Andrei Pavel
80fc384e21 [#3732] Meson: Add gtest.cc compiler check to detect crashes 2025-04-23 23:15:58 +03:00
Andrei Pavel
53342bf8ca [#3732] Add note to devel docs recommending Meson 1.8.0 2025-04-23 22:29:35 +03:00
Andrei Pavel
282687853c [#3732] Add note to devel docs about gtest.wrap 2025-04-23 22:29:34 +03:00