eniomarconcini

acls.conf

Jun 3rd, 2015
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. # ALCS.CONF
  2. #
  3. # ACLs PADRÃO
  4. acl CONNECT method CONNECT
  5. acl PASSWORD proxy_auth REQUIRED
  6.  
  7. # ACLs PRINCIPAIS
  8. acl REDES src "/root/squid/regras/redes_autorizadas.txt"
  9. acl SEMLOG_SITES dstdomain "/root/squid/regras/semlog_sites.txt"
  10. acl SEMCACHE_SITES dstdomain "/root/squid/regras/semcache_sites.txt"
  11. acl SEMCACHE_IPDESTINO dst "/root/squid/regras/semcache_ipdestino.txt"
  12. acl EXTENSOES_PERIGOSAS urlpath_regex -i "/root/squid/regras/extensoes_perigosas.txt"
  13.  
  14. # ACLs CERTIFICADOS DIGITAIS
  15. acl CERT_SITES dstdomain "/root/squid/regras/certificados_sites.txt"
  16. acl CERT_PALAVRAS url_regex -i "/root/squid/regras/certificados_palavras.txt"
  17.  
  18. # ACLs DO ANTIVIRUS
  19. acl AV_SITES dstdomain "/root/squid/regras/antivirus_sites.txt"
  20. acl AV_USUARIO proxy_auth "/root/squid/regras/antivirus_usuarios.txt"
  21.  
  22. # ADMINISTRATIVOS
  23. acl ADMIN_IPMAQUINA src "/root/squid/regras/admin_ipmaquina.txt"
  24. acl ADMIN_USUARIOS proxy_auth "/root/squid/regras/admin_usuarios.txt"
  25.  
  26. # ACLs YOUTUBE
  27. acl YT_SITES dstdomain "/root/squid/regras/youtube_sites.txt"
  28. acl YT_IPMAQUINA src "/root/squid/regras/youtube_ipmaquina.txt"
  29. acl YT_USUARIOS proxy_auth "/root/squid/regras/youtube_usuarios.txt"
  30.  
  31. # ACLs FACEBOOK
  32. acl FB_SITES dstdomain "/root/squid/regras/facebook_sites.txt"
  33. acl FB_IPMAQUINA src "/root/squid/regras/facebook_ipmaquina.txt"
  34. acl FB_USUARIOS proxy_auth "/root/squid/regras/facebook_usuarios.txt"
  35.  
  36. # ACLs WEBMAILS
  37. acl WM_SITES dstdomain "/root/squid/regras/webmail_sites.txt"
  38. acl WM_IPMAQUINA src "/root/squid/regras/webmail_ipmaquina.txt"
  39. acl WM_USUARIOS proxy_auth "/root/squid/regras/webmail_usuarios.txt"
  40.  
  41. # ACLs PROIBIÇÕES
  42. acl PROIBIDO_TODOS url_regex -i "/root/squid/regras/proibido_todos.txt"
  43. acl PROIBIDO_PORNO url_regex -i "/root/squid/regras/proibido_porno.txt"
  44. acl PROIBIDO_PAISES dstdomain "/root/squid/regras/proibido_paises.txt"
  45. acl PROIBIDO_RESTANTE url_regex -i "/root/squid/regras/proibido_restante.txt"
  46. acl PROIBIDO_DOWNLOADS urlpath_regex -i "/root/squid/regras/proibido_downloads.txt"
  47.  
  48. # ACLs LIBERAÇÕES
  49. acl LIBERADO_TODOS dstdomain "/root/squid/regras/liberado_todos.txt"
  50. acl LIBERADO_IPDESTINO dst "/root/squid/regras/liberado_ipdestino.txt"
  51. acl LIBERADO_PALAVRAS url_regex -i "/root/squid/regras/liberado_palavras.txt"
  52. acl LIBERADO_RESTANTE dstdomain "/root/squid/regras/liberado_restante.txt"
  53. acl LIBERADO_PSF dstdomain "/root/squid/regras/liberado_psf.txt"
  54.  
  55. # ACLs USO RESTRITO/LIMITADO
  56. acl RESTRITO_IPMAQUINA src "/root/squid/regras/restrito_ipmaquina.txt"
  57. acl RESTRITO_USUARIOS proxy_auth "/root/squid/regras/restrito_usuarios.txt"
  58.  
  59. # ACLs CHEFES/DIRETORES/NORMAIS
  60. acl CHEFES_IPMAQUINA src "/root/squid/regras/chefes_ipmaquina.txt"
  61. acl SEMAUT_IPMAQUINA src "/root/squid/regras/semaut_ipmaquina.txt"
  62.  
  63. # CONTROLE DO SKYPE E BLOQUEIO DE ACESSO VIA IP
  64. acl SKYPE_USUARIO proxy_auth skype antivirus
  65. acl DSTIP dstdom_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
  66. acl DSTIP dstdom_regex ^(([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)|(\[([0-9af]+)?:([0-9af:]+)?:([0-9af]+)?\])):443
  67.  
  68. # CONFIGURAÇÃO DO DENY_INFO
  69. deny_info ERR_PORNO PROIBIDO_PORNO
  70. deny_info ERR_RESTRIDO RESTRITO_IPMAQUINA
  71. deny_info ERR_PROIBIDO FB_SITES
  72. deny_info ERR_PROIBIDO YT_SITES
  73. deny_info ERR_PROIBIDO WM_SITES
  74. deny_info ERR_VIAIP DSTIP
Advertisement
Add Comment
Please, Sign In to add comment