Enviado em 17/06/2015 - 08:35h
Bom dia.Enviado em 17/06/2015 - 09:04h
amllintz No LE5 o Squid3 trabalha com o proxy autenticado e o acesso é liberado logo quando o usuário realiza o login. Neste caso você deve verificar se os logins estão cadastrados no Squid, imagino que se não há acesso é por que não há usuário cadastrado.Enviado em 18/06/2015 - 08:12h
Enviado em 18/06/2015 - 08:41h
amllintz,# Configurações Básicas do Squid + Proxy Autenticado # Configurações Iniciais http_port 3128 visible_hostname amllintz acl all src 0.0.0.0/0.0.0.0 # Páginas de erro error_directory /usr/share/squid/errors/pt-br # Autenticação de Usuários auth_param basic realm Para obter login e senha solicite o Adminstrador da rede auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/auth/passwd acl autenticacao proxy_auth REQUIRED # Definição de LOG's access_log /var/log/squid/access.log cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_swap_log /var/log/squid/swap.log logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt # Liberação de acesso http_access allow autenticacao http_access deny all
htpasswd -c /etc/squid/auth/passwd <nome-do-usuário>
Enviado em 18/06/2015 - 10:21h
# Configurações Básicas do Squid + Proxy Autenticado # Configurações Iniciais http_port 3128 visible_hostname amllintz acl all src 0.0.0.0/0.0.0.0 # Páginas de erro error_directory /usr/share/squid/errors/pt-br # Autenticação de Usuários auth_param basic realm Para obter login e senha solicite o Adminstrador da rede auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/auth/passwd acl autenticacao proxy_auth REQUIRED # Definição de LOG's access_log /var/log/squid/access.log cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_swap_log /var/log/squid/swap.log logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt # Liberação de acesso http_access allow autenticacao http_access deny all
htpasswd -c /etc/squid/auth/passwd <nome-do-usuário>
Enviado em 19/06/2015 - 10:13h
Amllitz# Configurações Iniciais do SQUID http_port 3128 intercept visible_hostname Telecentro error_directory /usr/share/squid3/errors/pt-br # Configurações Minimas Recomendadas: acl localhost src 127.0.0.0 acl localnet src 10.0.0.0/8 acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl purge method PURGE acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access allow purge localhost http_access deny purge http_access deny !Safe_ports http_access deny CONNECT !SSL_ports # Definição de Cache cache_dir ufs /var/spool/squid3 2048 16 256 maximum_object_size 200 Kb minimum_object_size 10 Kb cache_swap_high 95 cache_swap_low 85 cache_mem 512 MB maximum_object_size_in_memory 200 kb cache_replacement_policy lru memory_replacement_policy lru # Definições de LOG's access_log /var/log/squid3/access.log squid cache_access_log /var/log/squid3/access.log cache_log /var/log/squid3/cache.log cache_swap_log /var/log/squid3/swap.log logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt cache_mgr renato.cesar.bonfim@hotmail.com # Email da página de erro do Squid # Defininção das ACL's acl ip_allow src "/etc/squid3/list/ip.allow" acl sites_allow url_regex -i "/etc/squid3/list/site.allow" acl sites_deny url_regex -i "/etc/squid3/list/site.deny" acl tag_deny url_regex -i "/etc/squid3/list/tag.deny" http_access allow ip_allow http_access allow sites_allow all http_access deny sites_deny all http_access deny tag_deny all # Definição de acesso por horário acl turno_manha time MTWHF 08:00-12:00 acl turno_tarde time MTWHF 13:30-17:00 acl turno_noturno time MTWHF 18:00-20:00 acl sabado time A 08:00-16:00 http_access allow !ip_allow turno_manha http_access allow !ip_allow turno_tarde http_access allow !ip_allow turno_noturno http_access allow !ip_allow sabado http_access deny all # Padrões Sugeridos refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 45 20% 4320 # Leave coredumps in the first cache dir coredump_dir /var/cache/squid3 # Considerações finais http_access allow localhost http_access allow localnet http_access deny all
squid3 -k reconfigure
Enviado em 07/01/2016 - 21:07h
Boa noite Atila, estou com o mesmo problema aqui, você conseguiu resolver?Criar entrada (menuentry) ISO no Grub
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalar o VIM 9.1 no Debian 12
Como saber o range de um IP público?
Muitas dificuldades ao instalar distro Linux em Notebook Sony Vaio PCG-6131L (VPCEA24FM)
Slackpkg+ (Slackpkg Plus) está de volta!
Como dividir duas janelas igualmente e lado-a-lado na sua tela