Commit ebad9352 authored by Ad Schellevis's avatar Ad Schellevis

(proxy) fix typo in comment / message

parent 907b786c
...@@ -32,5 +32,5 @@ message:request proxy status ...@@ -32,5 +32,5 @@ message:request proxy status
command:/usr/local/opnsense/scripts/proxy/fetchACLs.py&&/usr/local/etc/rc.d/squid reload command:/usr/local/opnsense/scripts/proxy/fetchACLs.py&&/usr/local/etc/rc.d/squid reload
parameters: parameters:
type:script type:script
message:Fetch ALCs from remote locations message:Fetch ACLs from remote locations
description:Fetch external Proxy (squid) ACLs description:Fetch external Proxy (squid) ACLs
...@@ -103,7 +103,7 @@ acl bannedHosts src {{ip}} ...@@ -103,7 +103,7 @@ acl bannedHosts src {{ip}}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if helpers.exists('OPNsense.proxy.forward.acl.whiteList') %} {% if helpers.exists('OPNsense.proxy.forward.acl.whiteList') %}
# ALC - Whitelist - User defined (whiteList) # ACL - Whitelist - User defined (whiteList)
{% for element in OPNsense.proxy.forward.acl.whiteList.split(",") %} {% for element in OPNsense.proxy.forward.acl.whiteList.split(",") %}
{% if '^' in element or '\\' in element or '$' in element or '[' in element %} {% if '^' in element or '\\' in element or '$' in element or '[' in element %}
acl whiteList url_regex {{element}} acl whiteList url_regex {{element}}
...@@ -133,7 +133,7 @@ acl remoteblacklist dstdom_regex "/usr/local/etc/squid/acl/{{blacklist.filename} ...@@ -133,7 +133,7 @@ acl remoteblacklist dstdom_regex "/usr/local/etc/squid/acl/{{blacklist.filename}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
# ALC - Block browser/user-agent - User defined (browser) # ACL - Block browser/user-agent - User defined (browser)
{% if helpers.exists('OPNsense.proxy.forward.acl.browser') %} {% if helpers.exists('OPNsense.proxy.forward.acl.browser') %}
{% for element in OPNsense.proxy.forward.acl.browser.split(",") %} {% for element in OPNsense.proxy.forward.acl.browser.split(",") %}
acl blockuseragents browser {{element}} acl blockuseragents browser {{element}}
...@@ -141,7 +141,7 @@ acl blockuseragents browser {{element}} ...@@ -141,7 +141,7 @@ acl blockuseragents browser {{element}}
{% endif %} {% endif %}
{% if helpers.exists('OPNsense.proxy.forward.acl.mimeType') %} {% if helpers.exists('OPNsense.proxy.forward.acl.mimeType') %}
# ALC - Block MIME types - User defined (mimetype) # ACL - Block MIME types - User defined (mimetype)
{% for element in OPNsense.proxy.forward.acl.mimeType.split(",") %} {% for element in OPNsense.proxy.forward.acl.mimeType.split(",") %}
acl blockmimetypes rep_mime_type {{element}} acl blockmimetypes rep_mime_type {{element}}
acl blockmimetypes_requests req_mime_type {{element}} acl blockmimetypes_requests req_mime_type {{element}}
...@@ -159,7 +159,7 @@ acl SSL_ports port {{element.split(":")[0]}} # {{element.split(":")[1]|default(' ...@@ -159,7 +159,7 @@ acl SSL_ports port {{element.split(":")[0]}} # {{element.split(":")[1]|default('
# Default Safe ports are now defined in config.xml # Default Safe ports are now defined in config.xml
# Configured Safe ports (if defaults are not listed, then they have been removed from the configuration!): # Configured Safe ports (if defaults are not listed, then they have been removed from the configuration!):
{% if helpers.exists('OPNsense.proxy.forward.acl.safePorts') %} {% if helpers.exists('OPNsense.proxy.forward.acl.safePorts') %}
# ALC - Safe_ports # ACL - Safe_ports
{% for element in OPNsense.proxy.forward.acl.safePorts.split(",") %} {% for element in OPNsense.proxy.forward.acl.safePorts.split(",") %}
acl Safe_ports port {{element.split(":")[0]}} # {{element.split(":")[1]|default('unknown')}} acl Safe_ports port {{element.split(":")[0]}} # {{element.split(":")[1]|default('unknown')}}
{% endfor %} {% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment