<div dir="ltr"><div class="gmail_extra">Thank you I have red that link.</div><div class="gmail_extra"><br></div><div class="gmail_extra">My main problem is i have more than one acl. For example</div><div class="gmail_extra"><span style="white-space:pre-wrap">acl test localport 4000</span><br></div><div class="gmail_extra"><span style="white-space:pre-wrap">acl test1 localport 4001</span><span style="white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="white-space:pre-wrap">acl test3 localport 4002</span><span style="white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="white-space:pre-wrap">and I only want to have lets say the test1 acl to be virus scanned and the other ports not scanned.</span></div><div class="gmail_extra"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="white-space:pre-wrap">for example I have tried</span></div><div class="gmail_extra"><span style="white-space:pre-wrap">adaptation_access service_avi_resp allow test1
adaptation_access service_avi_resp deny all</span><br></div><div class="gmail_extra"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="white-space:pre-wrap">but that does not seem to work.</span><span style="white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="white-space:pre-wrap">So i would think it would test1 acl to would get scaned but it does not.</span></div><div class="gmail_extra"><br></div><div class="gmail_extra">Any help would be great!</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 14, 2016 1:52 PM, "Yuri Voinov" <<a href="mailto:yvoinov@gmail.com" target="_blank">yvoinov@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
<a href="http://wiki.squid-cache.org/ConfigExamples/ContentAdaptation/C-ICAP" target="_blank">http://wiki.squid-cache.org/ConfigExamples/ContentAdaptation/C-ICAP</a><br>
<br>
<br>
14.07.2016 21:06, Stephen Stark пишет:<br>
<span style="white-space:pre-wrap">> Hello,<br>
><br>
> I been having trouble getting this to work in 3.5<br>
><br>
> I have an acl like the one below. I am having a problem when
I use this acl with adaptation_access. The acl works correctly on
other tests. So the acl should be fine.<br>
> When I call <br>
><br>
> adaptation_access service_avi_req allow test<br>
> adaptation_access service_avi_resp allow test<br>
><br>
> it does not seem to work, only all works...?<br>
><br>
> I am using ICAP and was wondering if there is something i am
missing in my ICAP conf or virus scan conf?????<br>
><br>
><br>
> Below works but not when i change "all" to "test"<br>
><br>
> acl test localport 4000<br>
><br>
> ..... other stuff<br>
><br>
> icap_send_client_ip on<br>
> icap_send_client_username on<br>
> icap_client_username_header X-Authenticated-User<br>
> icap_preview_enable on<br>
> icap_preview_size 1024<br>
> icap_service service_avi_req reqmod_precache
icap://<a href="http://127.0.0.1:1344/virus_scan" target="_blank">127.0.0.1:1344/virus_scan</a>
<a href="http://127.0.0.1:1344/virus_scan" target="_blank"><http://127.0.0.1:1344/virus_scan></a> bypass=off<br>
> adaptation_access service_avi_req allow all<br>
> icap_service service_avi_resp respmod_precache
icap://<a href="http://127.0.0.1:1344/virus_scan" target="_blank">127.0.0.1:1344/virus_scan</a>
<a href="http://127.0.0.1:1344/virus_scan" target="_blank"><http://127.0.0.1:1344/virus_scan></a> bypass=on<br>
> adaptation_access service_avi_resp allow all<br>
><br>
> Sorry if my question is vague. New to squid-users!<br>
><br>
> Thanks!<br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
> <a href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXh9E4AAoJENNXIZxhPexG2KUH/1fhn/Lnn/XAPDtl3DpuwJmt
<br>
PbuU34Awmyac7tXdak5zwoA8NwAPUZXLH2M+EVQCTU4BYDy2I39s5992h2gMTiAC
<br>
R/tSyAwknypjNLx1N/QesyZxkgSmR/1MLyMZrAdBvYeEVF/MP/HRCZ2nQN0jk7AM
<br>
3H/j8mu/S62KmKZkkATm00fcvcj0opIh1L4JW9DIOjNWqgk09jkZhMtg0V75Zmm9
<br>
lJAhAk/2O5WbIsPehEctfLbMtwFWaqynSdDGXQq0uXZKPYJXiU4Kfy4HHhnkeVfM
<br>
SFq/+gfWFchBWTCsAauldq/yWplICjdkvFzFXcSBXWrJ08L5PPcLMyIsI/rMLrM=
<br>
=x/xU
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</div>
<br>_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br></blockquote></div></div>
</div>