Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ALCS.CONF
- #
- # ACLs PADRÃO
- acl CONNECT method CONNECT
- acl PASSWORD proxy_auth REQUIRED
- # ACLs PRINCIPAIS
- acl REDES src "/root/squid/regras/redes_autorizadas.txt"
- acl SEMLOG_SITES dstdomain "/root/squid/regras/semlog_sites.txt"
- acl SEMCACHE_SITES dstdomain "/root/squid/regras/semcache_sites.txt"
- acl SEMCACHE_IPDESTINO dst "/root/squid/regras/semcache_ipdestino.txt"
- acl EXTENSOES_PERIGOSAS urlpath_regex -i "/root/squid/regras/extensoes_perigosas.txt"
- # ACLs CERTIFICADOS DIGITAIS
- acl CERT_SITES dstdomain "/root/squid/regras/certificados_sites.txt"
- acl CERT_PALAVRAS url_regex -i "/root/squid/regras/certificados_palavras.txt"
- # ACLs DO ANTIVIRUS
- acl AV_SITES dstdomain "/root/squid/regras/antivirus_sites.txt"
- acl AV_USUARIO proxy_auth "/root/squid/regras/antivirus_usuarios.txt"
- # ADMINISTRATIVOS
- acl ADMIN_IPMAQUINA src "/root/squid/regras/admin_ipmaquina.txt"
- acl ADMIN_USUARIOS proxy_auth "/root/squid/regras/admin_usuarios.txt"
- # ACLs YOUTUBE
- acl YT_SITES dstdomain "/root/squid/regras/youtube_sites.txt"
- acl YT_IPMAQUINA src "/root/squid/regras/youtube_ipmaquina.txt"
- acl YT_USUARIOS proxy_auth "/root/squid/regras/youtube_usuarios.txt"
- # ACLs FACEBOOK
- acl FB_SITES dstdomain "/root/squid/regras/facebook_sites.txt"
- acl FB_IPMAQUINA src "/root/squid/regras/facebook_ipmaquina.txt"
- acl FB_USUARIOS proxy_auth "/root/squid/regras/facebook_usuarios.txt"
- # ACLs WEBMAILS
- acl WM_SITES dstdomain "/root/squid/regras/webmail_sites.txt"
- acl WM_IPMAQUINA src "/root/squid/regras/webmail_ipmaquina.txt"
- acl WM_USUARIOS proxy_auth "/root/squid/regras/webmail_usuarios.txt"
- # ACLs PROIBIÇÕES
- acl PROIBIDO_TODOS url_regex -i "/root/squid/regras/proibido_todos.txt"
- acl PROIBIDO_PORNO url_regex -i "/root/squid/regras/proibido_porno.txt"
- acl PROIBIDO_PAISES dstdomain "/root/squid/regras/proibido_paises.txt"
- acl PROIBIDO_RESTANTE url_regex -i "/root/squid/regras/proibido_restante.txt"
- acl PROIBIDO_DOWNLOADS urlpath_regex -i "/root/squid/regras/proibido_downloads.txt"
- # ACLs LIBERAÇÕES
- acl LIBERADO_TODOS dstdomain "/root/squid/regras/liberado_todos.txt"
- acl LIBERADO_IPDESTINO dst "/root/squid/regras/liberado_ipdestino.txt"
- acl LIBERADO_PALAVRAS url_regex -i "/root/squid/regras/liberado_palavras.txt"
- acl LIBERADO_RESTANTE dstdomain "/root/squid/regras/liberado_restante.txt"
- acl LIBERADO_PSF dstdomain "/root/squid/regras/liberado_psf.txt"
- # ACLs USO RESTRITO/LIMITADO
- acl RESTRITO_IPMAQUINA src "/root/squid/regras/restrito_ipmaquina.txt"
- acl RESTRITO_USUARIOS proxy_auth "/root/squid/regras/restrito_usuarios.txt"
- # ACLs CHEFES/DIRETORES/NORMAIS
- acl CHEFES_IPMAQUINA src "/root/squid/regras/chefes_ipmaquina.txt"
- acl SEMAUT_IPMAQUINA src "/root/squid/regras/semaut_ipmaquina.txt"
- # CONTROLE DO SKYPE E BLOQUEIO DE ACESSO VIA IP
- acl SKYPE_USUARIO proxy_auth skype antivirus
- acl DSTIP dstdom_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
- acl DSTIP dstdom_regex ^(([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)|(\[([0-9af]+)?:([0-9af:]+)?:([0-9af]+)?\])):443
- # CONFIGURAÇÃO DO DENY_INFO
- deny_info ERR_PORNO PROIBIDO_PORNO
- deny_info ERR_RESTRIDO RESTRITO_IPMAQUINA
- deny_info ERR_PROIBIDO FB_SITES
- deny_info ERR_PROIBIDO YT_SITES
- deny_info ERR_PROIBIDO WM_SITES
- deny_info ERR_VIAIP DSTIP
Advertisement
Add Comment
Please, Sign In to add comment