Search squid archive

Re: adaptation_access not working with squid acl's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
Feel free to read our wiki.

Here can be answers on most of your questions, is it?

15.07.2016 0:35, Yuri Voinov пишет:
>
>
> http://wiki.squid-cache.org/action/show/HelpOnAccessControlLists?action="">
>
> 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@xxxxxxxxx
>       <mailto:yvoinov@xxxxxxxxx>> 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@xxxxxxxxxxxxxxxxxxxxx
>       <mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx>
>
>
>
>       >       > http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>
>
>
>
>       >     _______________________________________________
>
>       >     squid-users mailing list
>
>       >     squid-users@xxxxxxxxxxxxxxxxxxxxx
>       <mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx>
>
>       >     http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXh9xlAAoJENNXIZxhPexGpggH/1WjdS5pntc4idEzC+6sRw/u
mHIDxdPZyRh9lfZPrKv4wTuAwFpWeMwxvjuZer+BrlCkMaLlJ3x6sXfXAoOuJSvX
uFGhuRcCRgskHbo36g6TpykQdEWfFzkG4zxE3EVfDLd87o9zvTO3Oim0cJSkq0a9
utSjhJat+V81rqzZ7Iij6kLUOQq15cSZO9PzCMNLpU4ynk18UMcFCsV0rDiOOYtW
0Lqj8S5swPykziKBTuS3tCXfL3EjRgXfMGzUhaHXuJtr/4tgfbef0iEYpi0p/1UP
bc+4MRiSIfQXwbRu2VK1a5fpgGpSZo2U1/P5wEN8jAUb1tc+bjUmj/XP/N9X8bo=
=36K+
-----END PGP SIGNATURE-----

Attachment: 0x613DEC46.asc
Description: application/pgp-keys

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux