Squid Rules Block Files URL
From MS Computech
#============================================================$ # DELAY_POOLS #============================================================$ acl allow_client src 192.168.1.100 #acl limit_downloads url_regex -i .exe .rar .tar .zip .iso .avi .001 .002 .003 .004 .005 .006 .007 .008 .009 .010 #delay_pools 1 #delay_class 1 1 #delay_parameters 1 204800/51240 #delay_access 1 allow limit_downloads !allow_client #============================================================$ # Bypass Squid #============================================================$ #acl url_bypass url_regex -i "/etc/squid/bypass_squid_domain" #http_access allow url_bypass #============================================================$ # Block Domain #============================================================$ acl domain_block dstdomain "/etc/squid/domain_block" http_access deny domain_block #============================================================$ # ACL BT #============================================================$ acl bittorrent_announce url_regex -i http://.+announce.+info_hash= http_access deny bittorrent_announce !allow_client acl bit url_regex -i bit.com torrent.com http_access deny bit !allow_client #============================================================$ ## Block Files extension #============================================================$ acl blockfiles urlpath_regex "/etc/squid/blocks_files" http_access deny blockfiles !allow_client #============================================================$
File extension
\.[Ee][Xx][Ee]$ \.[Aa][Vv][Ii]$ \.[Tt][Oo][Rr][Rr][Ee][Nn][Tt]$ \.001$ \.002$ \.003$ \.004$ \.005$ \.006$ \.007$ \.008$ \.009$ \.010$
URL extension
.wujie.net .seawjung.com .mahamodo.com .youtube.com .ro89.com .3feel.com .sex.com .nusde.com .video.xnxx.com .ultrareach.com .camfrog.com .camfrog.in.th .watch.net.ua .video.sanook.com .video.mthai.com