diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-05-10 14:41:48 +0300 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-05-10 14:41:48 +0300 |
commit | 679980a43c8b1969fa91edb83ac22418889e11a8 (patch) | |
tree | f79db24aff9080910085955a7312450debaab337 /src/conf_mode | |
parent | 0999a75da918485a26b3fbcd1be79711bfba1244 (diff) | |
download | vyos-1x-679980a43c8b1969fa91edb83ac22418889e11a8.tar.gz vyos-1x-679980a43c8b1969fa91edb83ac22418889e11a8.zip |
webproxy: T6328: Add a warning message about deprecation of web proxy URL filtering
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/service_webproxy.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/conf_mode/service_webproxy.py b/src/conf_mode/service_webproxy.py index 12ae4135e..c40961bd5 100755 --- a/src/conf_mode/service_webproxy.py +++ b/src/conf_mode/service_webproxy.py @@ -27,7 +27,7 @@ from vyos.utils.permission import chmod_755 from vyos.utils.dict import dict_search from vyos.utils.file import write_file from vyos.utils.network import is_addr_assigned -from vyos.base import Warning +from vyos.base import Warning, DeprecationWarning from vyos import ConfigError from vyos import airbag @@ -220,6 +220,9 @@ def generate(proxy): generate_sg_rule_localdb(category, list_type, rule, proxy) check_blacklist_categorydb(rule_config_section) + DeprecationWarning('URL filtering with SquidGuard is deprecated and ' + 'will be removed in the future VyOS versions.') + return None |