From 679980a43c8b1969fa91edb83ac22418889e11a8 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Fri, 10 May 2024 14:41:48 +0300 Subject: webproxy: T6328: Add a warning message about deprecation of web proxy URL filtering --- src/conf_mode/service_webproxy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3