]> git.ipfire.org Git - thirdparty/kea.git/commit
[#3840] Backport ctl channel socket restrictions
authorThomas Markwalder <tmark@isc.org>
Mon, 19 May 2025 19:49:23 +0000 (15:49 -0400)
committerRazvan Becheriu <razvan@isc.org>
Mon, 19 May 2025 20:24:03 +0000 (23:24 +0300)
commit43bba7799f6892f739b4745b35bbeacef3645ad3
tree385f79187a8567284bb3ed931c3206d898d1e082
parent293172092c9867d6ca821bbe774b6d936869b27e
[#3840] Backport ctl channel socket restrictions

On branch 3840-restrict-ctl-sockets-v6
Changes to be committed:
modified:   doc/examples/agent/comments.json
modified:   doc/examples/agent/simple.json
modified:   doc/examples/ddns/all-keys-netconf.json
modified:   doc/examples/ddns/all-keys.json
modified:   doc/examples/ddns/comments.json
modified:   doc/examples/ddns/sample1.json
modified:   doc/examples/ddns/template.json
modified:   doc/examples/kea4/advanced.json
modified:   doc/examples/kea4/all-keys-netconf.json
modified:   doc/examples/kea4/all-keys.json
modified:   doc/examples/kea4/comments.json
modified:   doc/examples/kea4/config-backend.json
modified:   doc/examples/kea4/dhcpv4-over-dhcpv6.json
modified:   doc/examples/kea4/ha-load-balancing-server1-mt-with-tls.json
modified:   doc/examples/kea4/ha-load-balancing-server2-mt.json
modified:   doc/examples/kea6/advanced.json
modified:   doc/examples/kea6/all-keys-netconf.json
modified:   doc/examples/kea6/all-keys.json
modified:   doc/examples/kea6/comments.json
modified:   doc/examples/kea6/config-backend.json
modified:   doc/examples/kea6/dhcpv4-over-dhcpv6.json
modified:   doc/examples/kea6/ha-hot-standby-server1-with-tls.json
modified:   doc/examples/kea6/ha-hot-standby-server2.json
modified:   doc/examples/netconf/comments.json
modified:   doc/examples/netconf/simple-dhcp4.json
modified:   doc/examples/netconf/simple-dhcp6.json
modified:   doc/sphinx/arm/agent.rst
modified:   doc/sphinx/arm/ddns.rst
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   doc/sphinx/arm/hooks.rst
modified:   src/bin/agent/ca_cfg_mgr.cc
modified:   src/bin/agent/ca_command_mgr.cc
modified:   src/bin/agent/simple_parser.cc
modified:   src/bin/agent/tests/ca_cfg_mgr_unittests.cc
modified:   src/bin/agent/tests/ca_command_mgr_unittests.cc
modified:   src/bin/agent/tests/ca_controller_unittests.cc
modified:   src/bin/agent/tests/get_config_unittest.cc
modified:   src/bin/agent/tests/parser_unittests.cc
modified:   src/bin/agent/tests/testdata/get_config.json
modified:   src/bin/d2/tests/d2_cfg_mgr_unittests.cc
modified:   src/bin/d2/tests/d2_command_unittest.cc
modified:   src/bin/d2/tests/get_config_unittest.cc
modified:   src/bin/d2/tests/testdata/get_config.json
modified:   src/bin/dhcp4/tests/config_parser_unittest.cc
modified:   src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
modified:   src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
modified:   src/bin/dhcp4/tests/dhcp4_test_utils.cc
modified:   src/bin/dhcp4/tests/dhcp4_test_utils.h
modified:   src/bin/dhcp4/tests/get_config_unittest.cc
modified:   src/bin/dhcp6/tests/config_parser_unittest.cc
modified:   src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
modified:   src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
modified:   src/bin/dhcp6/tests/dhcp6_test_utils.cc
modified:   src/bin/dhcp6/tests/dhcp6_test_utils.h
modified:   src/bin/dhcp6/tests/get_config_unittest.cc
modified:   src/bin/keactrl/kea-ctrl-agent.conf.pre
modified:   src/bin/keactrl/kea-dhcp-ddns.conf.pre
modified:   src/bin/keactrl/kea-dhcp4.conf.pre
modified:   src/bin/keactrl/kea-dhcp6.conf.pre
modified:   src/bin/keactrl/kea-netconf.conf.pre
modified:   src/bin/netconf/tests/testdata/get_config.json
modified:   src/lib/config/Makefile.am
modified:   src/lib/config/command_mgr.cc
modified:   src/lib/config/tests/Makefile.am
modified:   src/lib/config/tests/command_mgr_unittests.cc
new file:   src/lib/config/tests/unix_command_config_unittests.cc
new file:   src/lib/config/unix_command_config.cc
new file:   src/lib/config/unix_command_config.h
modified:   src/lib/util/filesystem.cc
modified:   src/lib/util/filesystem.h
modified:   src/lib/util/tests/filesystem_unittests.cc
72 files changed:
doc/examples/agent/comments.json
doc/examples/agent/simple.json
doc/examples/ddns/all-keys-netconf.json
doc/examples/ddns/all-keys.json
doc/examples/ddns/comments.json
doc/examples/ddns/sample1.json
doc/examples/ddns/template.json
doc/examples/kea4/advanced.json
doc/examples/kea4/all-keys-netconf.json
doc/examples/kea4/all-keys.json
doc/examples/kea4/comments.json
doc/examples/kea4/config-backend.json
doc/examples/kea4/dhcpv4-over-dhcpv6.json
doc/examples/kea4/ha-load-balancing-server1-mt-with-tls.json
doc/examples/kea4/ha-load-balancing-server2-mt.json
doc/examples/kea6/advanced.json
doc/examples/kea6/all-keys-netconf.json
doc/examples/kea6/all-keys.json
doc/examples/kea6/comments.json
doc/examples/kea6/config-backend.json
doc/examples/kea6/dhcpv4-over-dhcpv6.json
doc/examples/kea6/ha-hot-standby-server1-with-tls.json
doc/examples/kea6/ha-hot-standby-server2.json
doc/examples/netconf/comments.json
doc/examples/netconf/simple-dhcp4.json
doc/examples/netconf/simple-dhcp6.json
doc/sphinx/arm/agent.rst
doc/sphinx/arm/ddns.rst
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
doc/sphinx/arm/hooks.rst
src/bin/agent/ca_cfg_mgr.cc
src/bin/agent/ca_command_mgr.cc
src/bin/agent/simple_parser.cc
src/bin/agent/tests/ca_cfg_mgr_unittests.cc
src/bin/agent/tests/ca_command_mgr_unittests.cc
src/bin/agent/tests/ca_controller_unittests.cc
src/bin/agent/tests/get_config_unittest.cc
src/bin/agent/tests/parser_unittests.cc
src/bin/agent/tests/testdata/get_config.json
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
src/bin/d2/tests/d2_command_unittest.cc
src/bin/d2/tests/get_config_unittest.cc
src/bin/d2/tests/testdata/get_config.json
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/dhcp4_test_utils.cc
src/bin/dhcp4/tests/dhcp4_test_utils.h
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
src/bin/dhcp6/tests/dhcp6_test_utils.cc
src/bin/dhcp6/tests/dhcp6_test_utils.h
src/bin/dhcp6/tests/get_config_unittest.cc
src/bin/keactrl/kea-ctrl-agent.conf.pre
src/bin/keactrl/kea-dhcp-ddns.conf.pre
src/bin/keactrl/kea-dhcp4.conf.pre
src/bin/keactrl/kea-dhcp6.conf.pre
src/bin/keactrl/kea-netconf.conf.pre
src/bin/netconf/tests/testdata/get_config.json
src/lib/config/Makefile.am
src/lib/config/command_mgr.cc
src/lib/config/tests/Makefile.am
src/lib/config/tests/command_mgr_unittests.cc
src/lib/config/tests/unix_command_config_unittests.cc [new file with mode: 0644]
src/lib/config/unix_command_config.cc [new file with mode: 0644]
src/lib/config/unix_command_config.h [new file with mode: 0644]
src/lib/util/filesystem.cc
src/lib/util/filesystem.h
src/lib/util/tests/filesystem_unittests.cc