{% extends 'antivirus/settings/icap.html' %} {% block toolbar_network %}class="active"{%endblock%} {% block page_content %}
{% if not form.instance.enable %}
Warning: antivirus checking is disabled. Configured settings will have no effect.
{% else %} {% if form.instance.av_type != 1 %}
Warning: ICAP antivirus module is not activated. Configured settings will have no effect.
{% endif %} {% endif %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error|escape }} {% endfor %}
{% endif %}
{% csrf_token %}
{{form.avicap_address}}
{% if form.avicap_address.errors %} {{form.avicap_address.errors|striptags}} {% else %} Specify IP address the anti virus ICAP server is listening on (usually 127.0.0.1) {%endif%}
{{form.avicap_port}}
{% if form.avicap_port.errors %} {{form.avicap_port.errors|striptags}} {% else %} Specify IP port number the anti virus ICAP server is listening on (usually 1345). It MUST be different from ICAP web filter daemon port (usually 1344). {%endif%}
{{form.avicap_reqpath}}
{% if form.avicap_reqpath.errors %} {{form.avicap_reqpath.errors|striptags}} {% else %} Specify REQMOD path of anti virus ICAP request modification service URL (for example, for ESET it is av_scan). Consult the documentation of your ICAP anti virus product. {%endif%}
{{form.avicap_respath}}
{% if form.avicap_respath.errors %} {{form.avicap_respath.errors|striptags}} {% else %} Specify RESPMOD path of anti virus ICAP request modification service URL (for example, for ESET it is av_scan). Consult the documentation of your ICAP anti virus product. {%endif%}
{{form.avicap_options}} {% if form.avicap_options.errors %} {{form.avicap_options.errors|striptags}} {% else %} Specify additional options for anti virus ICAP service if required. These are written to squid.conf as is so be careful! {%endif%}
{% endblock %}