I've just set up a Squid transparent proxy.
Everything works fine except for https.
When trying to access a ssl site, I got this error :
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
The page you are trying to view can not be shown because the authenticity of the received data could not be verified.
cache.log gives me this error :
2009/07/03 12:19:13| parseHttpRequest: Unsupported method ''
2009/07/03 12:19:13| clientTryParseRequest: FD 21 (192.168.12.50:49347) Invalid Request
I put my config in attachement.
Thanks a lot for any help !
-- For a moment, nothing happened. Then, after a second or so, nothing continued to happen gpg key : 89B60489 |
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 localnet src 192.168.12.0/24 # RFC1918 possible internal network 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 Safe_ports port 901 # SWAT acl purge method PURGE acl CONNECT method CONNECT visible_hostname proxy.eliot.com 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 localnet http_access allow localhost http_access deny all icp_access allow localnet icp_access deny all http_port 3128 transparent hierarchy_stoplist cgi-bin ? access_log /var/log/squid/access.log squid refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 4320 acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9] acl apache rep_header Server ^Apache forwarded_for off coredump_dir /var/cache/squid emulate_httpd_log on url_rewrite_program /usr/bin/squidGuard -c /etc/squidGuard/squidGuard.conf url_rewrite_children 5
Attachment:
signature.asc
Description: This is a digitally signed message part