Olá Pessoal estou com um probleminha. Meu squid nao abre paginas SSL em modo transparente. Cheguei a cria uma regra para o endereço do site gmail.com porem nao resolve. Se configuro o proxy no browser abre de boa.
O firefox apresenta o seguinte erro. ============================================= Ocorreu um erro durante uma conexão com www.google.com. O SSL recebeu um registro que excedia o comprimento máximo permitido. (Código do erro: ssl_error_rx_record_too_long) ================================ regra do firewall ========== iptables -t nat -A PREROUTING -i eth0 -p tcp -m multiport --dport 80,443 -j REDIRECT --to-ports 3128 ========= Regra do Squid http_port 3128 transparent hierarchy_stoplist cgi-bin ? cache_mem 128 MB maximum_object_size_in_memory 2048 KB cache_dir ufs /var/spool/squid 1000 16 256 maximum_object_size 20480 KB cache_swap_low 90 cache_swap_high 95 # LOGS DO SISTEMA access_log /var/log/squid/access.log squid #logfile_daemon /usr/lib/squid3/logfile-daemon cache_log /var/log/squid/cache.log cache_store_log /var/log/squid/store.log pid_filename /var/run/squid.pid # TUNNIG CACHE refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880 refresh_pattern . 0 20% 4320 #Recommended minimum configuration: acl all src all acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localhost src 10.0.0.0/8 # RFC1918 possible internal network acl localhost src 172.16.0.0/12 # RFC1918 possible internal network acl localhost src 192.168.0.0/16 # RFC1918 possible internal network # acl SSL_ports port 443 # https acl SSL_ports port 563 # snews acl SSL_ports port 873 # rsync acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # httpsacl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl Safe_ports port 631 # cups acl Safe_ports port 873 # rsync acl Safe_ports port 901 # SWAT acl purge method PURGE acl CONNECT method CONNECT ############################# INICIO DAS REGAS ######################## acl liberados dstdomain "/etc/squid/liberados" http_access allow liberados ############################# FINAL DAS REGRAS ######################## 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 http_access allow all http_access allow localhost icp_access allow localhost icp_access deny all 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
