• Document: OPTIMIZAR SQUID + DELAYS_POOLS + SQUISH
  • Size: 173.61 KB
  • Uploaded: 2019-04-16 18:38:26
  • Status: Successfully converted


Some snippets from your converted document:

6/10/2014 OPTIMIZAR SQUID + DELAYS_POOLS + SQUISH — Comunidad Virtual de Filosofía | Cuba OPTIMIZAR SQUID + DELAYS_POOLS + SQUISH Existen muchas maneras de usar el squid para mejorar el rendimiento y gestion de la cache, pero existen muchos interrogantes en cuanto a mejorar la navegacion en sitios como youtube, yahoo, etc... Pues aqui esta una configuracion de squid que permite cachear al max todo lo que se navega, limitar tanto el ancho de banda y el tiempo. http_port 3128   # OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM # ------------------------------------------------------------------------ ----- hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY # OPTIONS WHICH AFFECT THE CACHE SIZE # ------------------------------------------------------------------------ ----- cache_mem 67108864 bytes cache_swap_low 98 cache_swap_high 99 maximum_object_size 134217728 bytes maximum_object_size_in_memory 131072 bytes ipcache_size 4096 ipcache_low 98 ipcache_high 99 fqdncache_size 2096 cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF # LOGFILE PATHNAMES AND CACHE DIRECTORIES # ------------------------------------------------------------------------ ----- cache_dir ufs /var/spool/squid 15000 16 256 access_log /var/log/squid/access.log squid cache_log none cache_store_log none # OPTIONS FOR TUNING THE CACHE # ------------------------------------------------------------------------ ----- request_header_max_size 524288 KB request_body_max_size 0 KB refresh_pattern -i ^ftp: 600000 100% 700000 override-expire override- lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth http://cvirtual.filosofia.cu/almacen/cursos-y-manuales/linux-debian-y-ubuntu/servicios/squid-squish/optimizar-squid-delays_pools-sq… 1/9 6/10/2014 OPTIMIZAR SQUID + DELAYS_POOLS + SQUISH — Comunidad Virtual de Filosofía | Cuba refresh_pattern -i ^http: 600000 100% 700000 override-expire override- lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth refresh_pattern -i ^gopher: 600000 100% 700000 override-expire override- lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth refresh_pattern -i . 600000 100% 700000 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth quick_abort_min 0 KB quick_abort_max 0 KB quick_abort_pct 100 read_ahead_gap 16384 bytes negative_ttl 0 seconds positive_dns_ttl 86400 seconds negative_dns_ttl 1 seconds range_offset_limit 0 bytes # TIMEOUTS # ------------------------------------------------------------------------ ----- forward_timeout 240 seconds connect_timeout 60 seconds peer_connect_timeout 30 seconds read_timeout 900 seconds request_timeout 120 seconds persistent_request_timeout 60 seconds client_lifetime 7200 seconds half_closed_clients off pconn_timeout 60 seconds shutdown_lifetime 20 seconds # SQUIDGUARD # ------------------------------------------------------------------------ ----- redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf redirect_children 1 # AUTH REQUIRED # ------------------------------------------------------------------------ ----- auth_param basic program /usr/lib/squid/ldap_auth -b "cn=users,dc=midominio,dc=cu" 127.0.0.1 acl auth proxy_auth REQUIRED # SQUISH (QUOTA) # ------------------------------------------------------------------------ ----- acl SQUISHLOC url_regex \.mydomain\.cu acl SQUISHED1 proxy_auth -i "/etc/squid/squished" deny_info http://proxy.mydomain.cu/?squished& SQUISHED1 http_access allow SQUISHLOC # ACCESS CONTROLS http://cvirtual.filosofia.cu/almacen/cursos-y-manuales/linux-debian-y-ubuntu/servicios/squid-squish/optimizar-squid-delays_pools-sq… 2/9 6/10/2014 OPTIMIZAR SQUID + DELAYS_POOLS + SQUISH — Comunidad Virtual de Filosofía | Cuba # ------------------------------------------------------------------------ ----- acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl SSL_ports port 443 563 acl Safe_ports port 443 80 21 563 70 210 280 488 591 777 901 1025-65535 acl purge method PURGE acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access allow purge localhost http_access deny purge http_access deny !Safe_ports http_access deny CONNECT !SSL_ports # ACCESS CONTROLS MY SERVER # ------------------------------------------------------------------------ ----- acl server-ip src 10.0.0.1 acl director src 10.0.0.10 acl redlocal src 10.0.0.0-10.0.0.100 acl jornada time SMTWHFA 08:00-16:40 acl denysite url_regex -i 'c:/squid/etc/denysite' acl allowsite url_regex -i 'c:/

Recently converted files (publicly available):