From: Razvan Becheriu Date: Mon, 22 Feb 2021 15:53:28 +0000 (+0200) Subject: [#1657] added note about security regarding the executed script X-Git-Tag: Kea-1.9.5~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92a64861173ebbb6fbf108e72ecd9affd2a9832e;p=thirdparty%2Fkea.git [#1657] added note about security regarding the executed script --- diff --git a/doc/sphinx/arm/hooks-run-script.rst b/doc/sphinx/arm/hooks-run-script.rst index 3a424a2047..70ad3d82c5 100644 --- a/doc/sphinx/arm/hooks-run-script.rst +++ b/doc/sphinx/arm/hooks-run-script.rst @@ -31,6 +31,10 @@ If the 'sync' parameter is false, then the script will be launched and Kea will not wait for the execution to finish, causing all the OUT parameters of the script (including next step) to be ignored. +.. note:: + + The script inherits all privileges from the server which calls it. + .. note:: Currently the functionality underneath 'sync' parameter is not implemented diff --git a/src/hooks/dhcp/run_script/run_script.dox b/src/hooks/dhcp/run_script/run_script.dox index c76300f2ac..ce29507e83 100644 --- a/src/hooks/dhcp/run_script/run_script.dox +++ b/src/hooks/dhcp/run_script/run_script.dox @@ -72,6 +72,9 @@ to wait synchronously for the script to finish execution. If the 'sync' parameter is false, then the script will be launched and Kea will not wait for the execution to finish, causing all the OUT parameters of the script (including next step) to be ignored. + +The script inherits all privileges from the server which calls it. + Currently the functionality underneath 'sync' parameter is not implemented and enabling synchronous calls to external script is not supported.