[squid-users] Tproxy setup- redirecting to remote proxy

From: Logu <logsnaath@dont-contact.us>
Date: Sat, 20 Jan 2007 11:48:08 +0530

Hi,

I got tproxy setup working. I have been facing problems with the test setup
as the server response directly reached the clients without going through
the proxy. I have prevented this by appropriately modifiying the static
route on the server to send the response via the proxy.

Now I have a question how to intercept the http response if the proxy is not
on the path of the http traffic and some other device (another linux
machine) is used to intercepts it.

http-client -------- Redirector-device ------- http-server
                                        |
                                        |
                                        |
                                squid-tproxy.

Say for example the traffic is intercepted by another linux machine. I know
how redirect the requests to the proxy. But in case of tproxy, the server
response will be directly sent to the client since the source IP is modified
on the requests. I tried various iptables rules (like redirecting the
response which emerge from the source port 80) and it did not work. Does any
one have tried this and have some solution to address this issue.

Should I go for some sort of tunneling to have the remote proxy work for the
tproxy setup?
All your suggestions are welcome.

Thanks
-logu
Received on Fri Jan 19 2007 - 23:18:39 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST