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

squid una facil



Hola lista:
 
Quiero en mi squid que los usuarios no puedan bajar archivos de ningun tipo salvo lo que es flash ....... pero exe zip y demas no quiero como puedo hacer para que funcione como quiero....... por favor me dan una mano, les dejo mi script..... para ver que tengo mal o me digan que cambio.
 
Mil gracias.
 
 
http_port 8080
http_port 3128
icp_port 3130
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem  16 MB
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
logfile_rotate 10
redirect_rewrites_host_header off
acl mynetwork src 10.129.16.0/255.255.255.0
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 81 443 210 119 70 20 21 1025-65535
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
http_access allow localhost
http_access allow mynetwork
http_access deny !Safe_ports
http_access deny all
maximum_object_size 3000 KB
store_avg_object_size 500 KB
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_effective_user proxy
cache_effective_group proxy
log_icp_queries off
buffered_logs on
acl magic_words1 url_regex -i 10.129.16
acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .zip .rar .iso .mov .mpeg .wav
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow magic_words1
delay_class 2 2
delay_parameters 2 15000/15000 15000/12000
delay_access 2 allow magic_words2
 
 
 
"Sólo el conocimiento nos hace libres"

Reply to: