[squid-users] adaptation_access not working with squid acl's

Yuri Voinov yvoinov at gmail.com
Thu Jul 14 18:35:21 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 

http://wiki.squid-cache.org/action/show/HelpOnAccessControlLists?action=show&redirect=HelpOnAcl

15.07.2016 0:33, Stephen Stark пишет:
> Thank you I have red that link.
>
> My main problem is i have more than one acl. For example
> acl test localport 4000
> acl test1 localport 4001
> acl test3 localport 4002
>
> and I only want to have lets say the test1 acl to be virus scanned and
the other ports not scanned.
>
> for example I have tried
> adaptation_access service_avi_resp allow test1
> adaptation_access service_avi_resp deny all
>
> but that does not seem to work.
>
> So i would think it would test1 acl to would get scaned but it does not.
>
> Any help would be great!
>
>
> On Jul 14, 2016 1:52 PM, "Yuri Voinov" <yvoinov at gmail.com
<mailto:yvoinov at gmail.com>> wrote:
>
>
> http://wiki.squid-cache.org/ConfigExamples/ContentAdaptation/C-ICAP
>
>
> 14.07.2016 21:06, Stephen Stark пишет:
> > Hello,
>
>
>
>       > I been having trouble getting this to work in 3.5
>
>
>
>       > 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.
>
>       > When I call
>
>
>
>       > adaptation_access service_avi_req allow test
>
>       > adaptation_access service_avi_resp allow test
>
>
>
>       > it does not seem to work, only all works...?
>
>
>
>       > I am using ICAP and was wondering if there is something i am
>       missing in my ICAP conf or virus scan conf?????
>
>
>
>
>
>       > Below works but not when i change "all" to "test"
>
>
>
>       > acl test localport 4000
>
>
>
>       > ..... other stuff
>
>
>
>       > icap_send_client_ip on
>
>       > icap_send_client_username on
>
>       > icap_client_username_header X-Authenticated-User
>
>       > icap_preview_enable on
>
>       > icap_preview_size 1024
>
>       > icap_service service_avi_req reqmod_precache
>       icap://127.0.0.1:1344/virus_scan <http://127.0.0.1:1344/virus_scan>
>       <http://127.0.0.1:1344/virus_scan>
<http://127.0.0.1:1344/virus_scan> bypass=off
>
>       > adaptation_access service_avi_req allow all
>
>       > icap_service service_avi_resp respmod_precache
>       icap://127.0.0.1:1344/virus_scan <http://127.0.0.1:1344/virus_scan>
>       <http://127.0.0.1:1344/virus_scan>
<http://127.0.0.1:1344/virus_scan> bypass=on
>
>       > adaptation_access service_avi_resp allow all
>
>
>
>       > Sorry if my question is vague. New to squid-users!
>
>
>
>       > Thanks!
>
>
>
>
>
>       > _______________________________________________
>
>       > squid-users mailing list
>
>       > squid-users at lists.squid-cache.org
<mailto:squid-users at lists.squid-cache.org>
>
>       > http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>     _______________________________________________
>     squid-users mailing list
>     squid-users at lists.squid-cache.org
<mailto:squid-users at lists.squid-cache.org>
>     http://lists.squid-cache.org/listinfo/squid-users
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXh9toAAoJENNXIZxhPexGjmwIAJt4e9zDrGVpTkB8M0xs+k8R
7wCAKaHFBKgOkYowIZk4OMKhVi9w42FQq2eK9MoAbrYvpP716dtHmSdafPBFWZ5A
+mSErIombYeIuKoC8PwxTupKhTomEnIjgXuLgRw9PsfFHs8OLNdl3xN51F1stEkq
zISTdBGCyD1OJyO9altKq8qC6GckO4x2h2oNLyWlW42EYmICgehb/l8Po/hG5OsM
EU21ovxxPfGuiFnc+FCo7JXPb+huuhNR3G5IouRT/nq9UWo59tWRezZIysPx1Gpw
vLNo57o8p8G1wCYVH26wCcntlMz0HHDYy0qmT1GjcjVecUBf/jfZYUR03WSGdhE=
=fgIb
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160715/fe98c369/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160715/fe98c369/attachment.key>


More information about the squid-users mailing list