Search squid archive

how to use adaptation_service_chain ?

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

 



Dear

I'm using squid 3.1.4

i would like to use 2 AV ICAP services chains but i did not really understand how to use adaptation_service_chain

here it is my config

# --------- ICAP Services.(2 service(s))

icap_enable on
icap_preview_enable off
icap_preview_size 128
icap_send_client_ip on
icap_send_client_username on
icap_client_username_header X-Authenticated-User
icap_client_username_encode on

# Kaspersky For Proxy server:
# --------- icap_service KASPERSKY mode 3.1.1

icap_service	is_kav_resp respmod_precache 0 icap://127.0.0.1:1344/av/respmod
icap_service	is_kav_req reqmod_precache 0 icap://127.0.0.1:1344/av/reqmod

# --------- adaptation

adaptation_access is_kav_req allow all
adaptation_access is_kav_resp allow all
adaptation_service_set class_kavAV service is_kav_resp

# C-ICAP:
# --------- icap_service C-ICAP mode 3.1.x
acl MULTIMEDIA rep_mime_type -i ^(audio\/x-mpegurl|audio\/mpeg|video\/flv|video\/x-flv|application\/x-shockwave-flash|audio\/ogg|video\/ogg|application\/ogg)$ icap_service service_antivir respmod_precache 1 icap://127.0.0.1:1344/srv_clamav

adaptation_service_set  class_antivirus service_antivir
adaptation_access       class_antivirus deny MULTIMEDIA
adaptation_access       class_antivirus allow all


does the directive

adaptation_service_chain class_kavAV class_antivirus

is the right one in order to set Kaspersky has the first av and C-ICAP has the second ?

Best regards






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

  Powered by Linux