Hi:
My client can’t access this site http://www.szsfzx.cn by my 3.1 squid proxy (with ad auth) . throw error message: (104) Connection reset by peer
The site can access by other proxy (2.6 squid proxy without auth)
The config file and log below, any advice?
3.1 squid proxy config:
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machine s
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 CONNECT method CONNECT
http_access allow manager localhost
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/squidcache/cache/squid 4096 16 256
cache_mem 1024 MB
coredump_dir /var/squidcache/cache/squid
access_log /var/squidcache/log/access.log squid
cache_log /var/squidcache/log/cache.log
cache_store_log /var/squidcache/log/store.log
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
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 50
auth_param ntlm keep_alive on
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 80
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 5 hours
auth_param basic casesensitive off
acl ntlm_users proxy_auth REQUIRED
http_access allow ntlm_users
http_access deny all
cache_mgr hyj_at_gwdomain.com.cn
visible_hostname squid01.gwdomain.com.cn
cache_effective_user squid
dns_nameservers 202.96.128.143 192.168.0.20 8.8.8.8
2.6 squid config file:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access allow localhost
http_access allow all
icp_access allow all
http_port 3128
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
visible_hostname bfcproxy
coredump_dir /var/spool/squid
3.1 squid access log below:
1363076690.358 2675 192.168.18.12 TCP_MISS/000 0 GET http://www.szsfzx.cn/ heyijun DIRECT/114.215.16.16 -
1363076693.840 0 192.168.18.12 TCP_DENIED/407 4229 GET http://www.szsfzx.cn/ - NONE/- text/html
1363076693.846 0 192.168.18.12 TCP_DENIED/407 4438 GET http://www.szsfzx.cn/ - NONE/- text/html
1363076751.240 57378 192.168.18.12 TCP_MISS/000 0 GET http://www.szsfzx.cn/ heyijun DIRECT/114.215.16.16 -
1363076751.263 0 192.168.18.12 TCP_DENIED/407 4229 GET http://www.szsfzx.cn/ - NONE/- text/html
1363076751.270 0 192.168.18.12 TCP_DENIED/407 4438 GET http://www.szsfzx.cn/ - NONE/- text/html
1363077089.653 338372 192.168.18.12 TCP_MISS/000 0 GET http://www.szsfzx.cn/ heyijun DIRECT/114.215.16.16 -
1363077094.362 0 192.168.18.12 TCP_DENIED/407 4229 GET http://www.szsfzx.cn/ - NONE/- text/html
1363077094.367 0 192.168.18.12 TCP_DENIED/407 4438 GET http://www.szsfzx.cn/ - NONE/- text/html
1363077121.472 27088 192.168.18.12 TCP_MISS/000 0 GET http://www.szsfzx.cn/ heyijun DIRECT/114.215.16.16 -
1363077669.149 378156 192.168.18.12 TCP_MISS/502 4098 GET http://www.szsfzx.cn/ heyijun DIRECT/114.215.16.16 text/html
1363077801.051 97235 192.168.18.12 TCP_MISS/000 0 GET http://www.szsfzx.cn/ heyijun DIRECT/114.215.16.16 -
1363077802.995 0 192.168.18.12 TCP_DENIED/407 4104 GET http://www.szsfzx.cn/ - NONE/- text/html
1363077803.009 0 192.168.18.12 TCP_DENIED/407 4313 GET http://www.szsfzx.cn/ - NONE/- text/html
Received on Tue Mar 12 2013 - 08:45:52 MDT
This archive was generated by hypermail 2.2.0 : Tue Mar 12 2013 - 12:00:04 MDT