diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-10 15:01:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 15:01:59 +0200 |
commit | 4960a67e12c1d10a59812f0167f017131a9617b5 (patch) | |
tree | f79db24aff9080910085955a7312450debaab337 | |
parent | 0999a75da918485a26b3fbcd1be79711bfba1244 (diff) | |
parent | 679980a43c8b1969fa91edb83ac22418889e11a8 (diff) | |
download | vyos-1x-4960a67e12c1d10a59812f0167f017131a9617b5.tar.gz vyos-1x-4960a67e12c1d10a59812f0167f017131a9617b5.zip |
Merge pull request #3439 from natali-rs1985/T6328-sagitta
webproxy: T6328: Add a warning message about deprecation of web proxy URL filtering
-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 |