Alterserv

RaptorCache => Instalación y Configuración RaptorCache => Mensaje publicado por: odon en Diciembre 02, 2015, 04:43:00 AM

Título: raptor.lst for RaptorCache 2.0.2
Publicado por: odon en Diciembre 02, 2015, 04:43:00 AM
Hello my friends,

Does anyone have a file 'raptor.lst' for Raptorcache-2.0.2 ? like raptor.lst in RC-1.0.6b

Thanks you for the help, very appreciate.

Regards,
odon
Título: Re:raptor.lst for RaptorCache 2.0.2
Publicado por: joemg6 en Diciembre 03, 2015, 07:51:43 PM
Cita de: odon en Diciembre 02, 2015, 04:43:00 AM
Hello my friends,

Does anyone have a file 'raptor.lst' for Raptorcache-2.0.2 ? like raptor.lst in RC-1.0.6b

Thanks you for the help, very appreciate.

Regards,
odon
En RaptorCache 2 no es necesario declarar los regex de las url de los dominios a hacer caché, en el caso que un dominio no esté pasando por Raptor ahí recién se agrega su url, está más como un refuerzo ante estos casos.
Título: Re:raptor.lst for RaptorCache 2.0.2
Publicado por: odon en Diciembre 03, 2015, 08:35:27 PM
Thanks you for the information & explain...
I need squid still do some cache then i have modified RC parent cache line, that's correct?

# ---------------------------------------------------- #
# RaptorCache 2.0.2
acl sys_lst url_regex -i "/etc/raptor/sys.lst"
acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
acl wth_lst url_regex -i "/etc/raptor/whitelist.lst"
acl host_lst req_header Host -i "/etc/raptor/host.lst"
acl exts url_regex -i \.(cab|exe|msi|msu|zip|deb|rpm|bz|bz2|gz|tgz|rar|bin|7z|mp3|mp4|flv)$
acl head_html req_header Accept -i text/html.+
#cache deny raptor_lst
#cache_peer 10.10.10.1 parent 8080 0 proxy-only no-digest
cache_peer 10.10.10.1 parent 8080 0 no-tproxy
dead_peer_timeout 2 seconds
cache_peer_access 10.10.10.1 allow host_lst
cache_peer_access 10.10.10.1 allow exts
cache_peer_access 10.10.10.1 deny head_html
cache_peer_access 10.10.10.1 deny wth_lst
cache_peer_access 10.10.10.1 allow raptor_lst
cache_peer_access 10.10.10.1 allow sys_lst
cache_peer_access 10.10.10.1 deny all
#cache deny all


ps: my squid is running on Tproxy mode with 3-5.7 version.