<div dir="ltr"><div><div><div><div>Hi guys,<br><br></div>I need your help with setting squid 3.5.1 with intercept.<br></div><div>My topolgy Clients PC <--> Router PC <--> SquidPC<br><br></div><div>Router:<br></div><div>Send trafic from 80 to squid <a href="http://192.168.15.2:3129">192.168.15.2:3129</a></div><div><br>my config:<br>acl localnet src <a href="http://10.0.0.0/8">10.0.0.0/8</a>     # RFC1918 possible internal network<br>acl localnet src <a href="http://172.16.0.0/12">172.16.0.0/12</a>  # RFC1918 possible internal network<br>acl localnet src <a href="http://192.168.0.0/16">192.168.0.0/16</a> # RFC1918 possible internal network<br><br>acl SSL_ports port 443<br>acl Safe_ports port 80          # http<br>acl Safe_ports port 21          # ftp<br>acl Safe_ports port 443         # https<br>acl Safe_ports port 70          # gopher<br>acl Safe_ports port 210         # wais<br>acl Safe_ports port 1025-65535  # unregistered ports<br>acl Safe_ports port 280         # http-mgmt<br>acl Safe_ports port 488         # gss-http<br>acl Safe_ports port 591         # filemaker<br>acl Safe_ports port 777         # multiling http<br>acl CONNECT method CONNECT<br><br>http_access deny !Safe_ports<br><br>http_access deny CONNECT !SSL_ports<br><br>http_access allow localhost manager<br>http_access deny manager<br><br>http_access allow localnet<br>http_access allow localhost<br><br>http_access deny all<br><br>http_port <a href="http://127.0.0.1:3128">127.0.0.1:3128</a><br>http_port <a href="http://192.168.15.2:3129">192.168.15.2:3129</a> intercept<br><br>refresh_pattern ^ftp:           1440    20%     10080<br>refresh_pattern ^gopher:        1440    0%      1440<br>refresh_pattern -i (/cgi-bin/|\?) 0     0%      0<br>refresh_pattern .               0       20%     4320<br><br>coredump_dir /var/cache/squid/coredump_squid<br>pid_filename /var/run/squid.pid<br>access_log /var/log/squid/frontend.access.log<br>cache_log /var/log/squid/frontend.cache.log<br>cache_dir aufs /var/cache/squid/cache1 1024 128 128<br><br></div>I got following error:<br>1423737360.412      0 192.168.15.2 TCP_MISS/403 4256 GET <a href="http://www.yahoo.com/">http://www.yahoo.com/</a> - HIER_NONE/- text/html<br>1423737360.412     18 10.0.0.7 TCP_MISS/403 4313 GET <a href="http://www.yahoo.com/">http://www.yahoo.com/</a> - ORIGINAL_DST/<a href="http://192.168.15.2">192.168.15.2</a> text/html<br>1423737360.426      0 192.168.15.2 TCP_MISS/403 4291 GET <a href="http://www.squid-cache.org/Artwork/SN.png">http://www.squid-cache.org/Artwork/SN.png</a> - HIER_NONE/- text/html<br>1423737360.426      1 10.0.0.7 TCP_MISS/403 4348 GET <a href="http://www.squid-cache.org/Artwork/SN.png">http://www.squid-cache.org/Artwork/SN.png</a> - ORIGINAL_DST/<a href="http://192.168.15.2">192.168.15.2</a> text/html<br><br></div>and log from cache:<br>2015/02/12 11:36:00 kid1| WARNING: Forwarding loop detected for:<br>GET / HTTP/1.1<br>Accept: text/html, application/xhtml+xml, */*<br>Referer: <a href="http://www.yahoo.com/">http://www.yahoo.com/</a><br>Accept-Language: en<br>User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko/20100101 Firefox/12.0<br>Accept-Encoding: gzip, deflate<br>DNT: 1<br>Host: <a href="http://www.yahoo.com">www.yahoo.com</a><br>Cookie: B=7938nbda0dlii&b=3&s=9t<br>Via: 1.1 proxy (squid/3.5.1)<br>X-Forwarded-For: 10.0.0.7<br>Cache-Control: max-age=259200<br>Connection: keep-alive<br><br><br>2015/02/12 11:36:00 kid1| WARNING: Forwarding loop detected for:<br>GET /Artwork/SN.png HTTP/1.1<br>Accept: image/png, image/svg+xml, image/*;q=0.8, */*;q=0.5<br>Referer: <a href="http://www.yahoo.com/">http://www.yahoo.com/</a><br>Accept-Language: en<br>User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko/20100101 Firefox/12.0<br>Accept-Encoding: gzip, deflate<br>DNT: 1<br>Host: <a href="http://www.squid-cache.org">www.squid-cache.org</a><br>Via: 1.1 proxy (squid/3.5.1)<br>X-Forwarded-For: 10.0.0.7<br>Cache-Control: max-age=259200<br>Connection: keep-alive<br><br></div>THX for helping<br><div><br></div></div>