[squid-users] TCP_DENIED/403 3502 GET errors

From: grant lowe <glowe11_at_gmail.com>
Date: Mon, 27 Aug 2012 13:09:51 -0700

Hi all,

I'm brand-spanking new to this, so please don't beat me up too bad
:-). Anyway, I have installed squid 3.2.0.17 on a CentOS 6.3 box. I'm
trying to set up a squid cluster. But when I test the connection via
telnet. I keep on getting errors like these in the access_log:

1346095968.991 0 10.2.12.151 TCP_DENIED/403 3501 GET
http://www.yahoo.com/ - HIER_NONE/- text/html
1346096123.705 0 10.2.12.151 TCP_DENIED/403 3501 GET
http://www.yahoo.com/ - HIER_NONE/- text/html
1346096138.889 0 10.2.12.151 TCP_DENIED/403 3503 GET
http://www.google.com/ - HIER_NONE/- text/html

Squid was compiled with this:

# ../../sbin/squid -v
Squid Cache: Version 3.2.0.17
configure options: '--prefix=/home/squid-seo2/
apps/squid-3.2.0.17' '--enable-htpc' '--enable-cache-digests'
--enable-ltdl-convenience
#

The squid.conf file looks like this:

# cat ../../etc/squid.conf | grep -v ^#

cache_effective_user nobody
cache_effective_group nobody
cache_mgr support_at_company.com

http_port 10.2.12.74:3128 accel vhost
cache_peer prdseoproxy01.corp.bbi.com sibling 3128 3130 proxy-only
login=PASS weight=10
acl prdseoproxy01.corp.bbi.com src 10.2.12.73/32
acl prdseoproxy02.corp.bbi.com src 10.2.12.74/32
acl lb_source src 10.2.12.0/28
icp_port 3130
htcp_port 4827
miss_access deny prdseoproxy01.corp.bbi.com
icp_access allow prdseoproxy01.corp.bbi.com
icp_access allow prdseoproxy02.corp.bbi.com
htcp_access allow prdseoproxy01.corp.bbi.com
htcp_access allow prdseoproxy02.corp.bbi.com
http_access allow lb_source

cache_swap_low 96
cache_swap_high 98
cache_mem 12000 MB

acl localnet src 10.0.0.0/24 # 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) machines

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 localhost manager
http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow localnet
http_access allow localhost

http_access deny all

cache_dir ufs /home/squid-seo2/apps/squid/var/cache/squid 100 16 256

coredump_dir /home/squid-seo2/apps/squid-3.2.0.17/var/cache/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

What am I doing wrong?
Received on Mon Aug 27 2012 - 20:10:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 28 2012 - 12:00:18 MDT