Koozali.org: home of the SME Server

How do I tell if transparant proxy is working?

Luckydog

How do I tell if transparant proxy is working?
« on: November 16, 2001, 05:18:50 AM »
I have E-Smith 5 and have installed transparant proxy 0.3-1
I can tell its there cause an ipchains -L shows
REDIRECT   tcp  ------  10.0.0.0/24          anywhere      any ->   www => squid

The thing is that if I do a netstat at E-Smith when a client browser is surfing the net
all I can see is that the client is connected to the remote website, e.g.

root@E-SMith /root]# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 www1.boeing.com:www        client:1228              ESTABLISHED

(in other words - the client as connected to Boeing)

If the browser is actually set to use squid then I see:

[root@E-Smith /root]# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0          E-SMith:2998       www1.boeing.com:www    ESTABLISHED
tcp        0      0           E-Smith:squid      client:1226                     ESTABLISHED


(in other words the client is talking to Squid, who is talking to Boeing)


This suggests to me that trans-proxy is not working.

Also if I surf to a non-existant domain like www.boeing.com.xxxx,
if the browser is set to use Squid, then Squid replies saying the URL does not exist.   If I turn Squid off in the browser, then I just get a browser timeout.

This also suggests trans-proxy is not working.

Am I right or just confused?

My idea of a perfect world is one where the client PCs need no setup,
so Transproxy sounds very handy, but I need to know that it is actually working.

JonB

Re: How do I tell if transparant proxy is working?
« Reply #1 on: November 16, 2001, 06:41:15 AM »
Try checking your squid_access logs.

Jon

Luckydog

Re: How do I tell if transparant proxy is working?
« Reply #2 on: November 16, 2001, 06:41:33 AM »
All right

Every day in every way I get better and better.

I did a tail -f /var/log/squid/access.log

and discovered that squid is being used regardless of how the browser is
set, so trans-proxy IS working.  

If I delete the REDIRECT line out of my ipchains rules,
I no longer see any activity in the squid.log, UNLESS the browser has
the proxy setting turned on.

Rick

Re: How do I tell if transparant proxy is working?
« Reply #3 on: November 17, 2001, 07:07:54 PM »
Not to change the subject too much, but where can I get the transparent caching add-on for e-smith ???

Thanks,
Richard


Rick

Re: How do I tell if transparant proxy is working?
« Reply #5 on: November 19, 2001, 07:52:40 AM »
Is this file for version 5 ????

Anthony

Re: How do I tell if transparant proxy is working?
« Reply #6 on: November 19, 2001, 11:19:01 AM »
Well I am using it on version 5.02.

Rick

Re: How do I tell if transparant proxy is working?
« Reply #7 on: November 20, 2001, 01:36:13 AM »
I used the rpm -i command to install the package, but it doesn't seem to be working. The squid log is empty.

Any ideas ??

mikael

Shuting down transproxy on SME5.1b1
« Reply #8 on: December 08, 2001, 01:22:00 AM »
How i can shut down tranproxy?
i know is to set to "no" the "Transparent" property of "squid" "service" but how i can set this