[squid-users] squid transparent proxy loop problem

From: <Thomas.Elsaesser@dont-contact.us>
Date: Mon, 20 Sep 2004 16:00:59 +0200

Transparent proxy

172.17.248.48 - - [20/Sep/2004:14:51:32 +0200] "GET
http://www.google.de:8080/ HTTP/1.1" 504 2415 TCP_MISS:NONE

I have this log entry in my transp. proxy .

I believe it's a loop.

How can i change this??? Have any a solution for me?

thank you
Thomas
____________________________-snip_______________________________________

DATA:

Squid Cache: Version 2.5.STABLE6
configure options: --prefix=/usr --sysconfdir=/etc/squid
--localstatedir=/var --enable-gnuregex --with-dl --enable-storeio=diskd
--enable-snmp --enable-htcp --disable-http-violations
--disable-ident-lookups --disable-internal-dns --enable-linux-netfilter
--enable-pf-transparent

squid. conf for transparent

httpd_accel_with_proxy on
httpd_accel_uses_host_header on
httpd_accel_host virtual
httpd_accel_port 0

squid listen on port 8080
_________________________________

iptables v1.2.11

#iptables -t nat -nL

Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- 0.0.0.0 0.0.0.0/0 tcp dpt:80 redir ports
8080

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

[root@dehh-proxy03 root]# iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

[root@dehh-proxy03 root]# iptables-save
# Generated by iptables-save v1.2.11 on Mon Sep 20 15:07:44 2004
*nat
:PREROUTING ACCEPT [182:8044]
:POSTROUTING ACCEPT [114:7393]
:OUTPUT ACCEPT [0:0]
-A PREROUTING -s 0.0.0.0 -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT
--to-ports 8080
COMMIT
# Completed on Mon Sep 20 15:07:44 2004
# Generated by iptables-save v1.2.11 on Mon Sep 20 15:07:44 2004
*filter
:INPUT ACCEPT [3894:179671]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2862:158604]
COMMIT
# Completed on Mon Sep 20 15:07:44 2004

____________________________________
kernel 2.6.8
Received on Mon Sep 20 2004 - 08:01:17 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT