[CentOS-pt-br] ACL's!

Glênio Côrtes Himmen glenio.11622x em aparecida.go.gov.br
Terça Dezembro 13 16:35:28 UTC 2016


Tive de fazer umas mudanças nas ACL’s, segue versão atual.

 

acl ENTRETENIMENTO url_regex -i "/etc/squid/entretenimento"

acl HORARIO_ALMOCO time MTWHF 11:30-13:00

acl uLiberado      proxy_auth "/etc/squid/uLiberado"

acl sitesLivres    dstdomain  "/etc/squid/sitesLivres"

acl ipLiberado     src        "/etc/squid/ipLiberado"

acl windowsupdate  dstdomain  "/etc/squid/winupdate"

acl horario        dstdomain  "/etc/squid/horario"

acl blacklist      url_regex -i "/etc/squid/blacklist"

acl ipBloqueado    src        "/etc/squid/ipBloqueado"

acl dom_aggressive dstdomain  "/etc/squid/domains_aggressive"

acl dom_gambling   dstdomain  "/etc/squid/domains_gambling"

acl dom_porn       dstdomain  "/etc/squid/domains_porn"

acl stYoutube      dstdomain  "/etc/squid/stYoutube"

acl ipYoutube      src        "/etc/squid/ipYoutube"

acl url_aggressive url_regex -i "/etc/squid/urls_aggressive"

acl url_gambling   url_regex -i "/etc/squid/urls_gambling"

acl url_porn       url_regex -i "/etc/squid/urls_porn"

acl noCacheIP      dst        187.52.105.132    # aparecida

acl noCacheIP      dst        187.115.70.244    # Prodata

acl noCacheIP      dst        172.16.0.4        # Proxy

acl noCacheIP      dst        187.54.87.49      # smta

acl noCacheIP      dst        187.5.111.28      # detran

acl noCacheIP      dst        201.48.19.37      # sefaz

acl noCacheDominio dstdomain  .aparecida.go.gov.br

acl noCacheDominio dstdomain  .detran.go.gov.br

 

http_access deny  blacklist

http_access allow sitesLivres

http_access allow windowsupdate

http_access deny  ipBloqueado

http_access allow HORARIO_ALMOCO ENTRETENIMENTO

http_access deny  ENTRETENIMENTO !ipLiberado

http_access allow uLiberado

http_access allow horario

http_access allow stYoutube ipYoutube

http_access deny  dom_aggressive

http_access deny  dom_gambling

http_access deny  dom_porn

http_access deny  url_aggressive

http_access deny  url_gambling

http_access deny  url_porn

http_access allow noCacheIP

http_access allow noCacheDominio

 

Glênio Côrtes Himmen

Super. Municipal de Trânsito de Aparecida 

glenio.11622x em aparecida.go.gov.br

 

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.centos.org/pipermail/centos-pt-br/attachments/20161213/a98eef93/attachment.html>


Mais detalhes sobre a lista de discussão CentOS-pt-br