From 966069f3634d9510ea3c18dcbe8412e478b27c1a Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 13 Nov 2023 10:46:14 +0100 Subject: [PATCH] www/c-ipcap: bump revision --- www/c-icap/Makefile | 2 +- .../src/opnsense/service/templates/OPNsense/CICAP/c-icap.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/c-icap/Makefile b/www/c-icap/Makefile index 095dfd162..575fb3e90 100644 --- a/www/c-icap/Makefile +++ b/www/c-icap/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= c-icap PLUGIN_VERSION= 1.7 -PLUGIN_REVISION= 3 +PLUGIN_REVISION= 4 PLUGIN_COMMENT= c-icap connects the web proxy with a virus scanner PLUGIN_DEPENDS= c-icap c-icap-modules PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/www/c-icap/src/opnsense/service/templates/OPNsense/CICAP/c-icap.conf b/www/c-icap/src/opnsense/service/templates/OPNsense/CICAP/c-icap.conf index 6fe06dbe9..27b16b44e 100644 --- a/www/c-icap/src/opnsense/service/templates/OPNsense/CICAP/c-icap.conf +++ b/www/c-icap/src/opnsense/service/templates/OPNsense/CICAP/c-icap.conf @@ -46,7 +46,7 @@ ServerName {{ system.hostname }} {% if helpers.exists('OPNsense.proxy.forward.icap.SendUsername') and OPNsense.proxy.forward.icap.SendUsername == '1' %} RemoteProxyUsers on acl AUTH auth * -acl localserver srvip 127.0.0.1 +acl localserver srvip 127.0.0.1 icap_access allow AUTH localserver {% else %} RemoteProxyUsers off @@ -62,7 +62,7 @@ RemoteProxyUserHeader {{OPNsense.proxy.forward.icap.UsernameHeader}} {% else %} RemoteProxyUsers on acl AUTH auth * -acl localserver srvip 127.0.0.1 +acl localserver srvip 127.0.0.1 icap_access allow AUTH localserver RemoteProxyUserHeaderEncoded on RemoteProxyUserHeader X-Authenticated-User