Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Luckydog 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.
-
Try checking your squid_access logs.
Jon
-
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.
-
Not to change the subject too much, but where can I get the transparent caching add-on for e-smith ???
Thanks,
Richard
-
http://www.e-smith.org/contrib/rpm-index/RPM-e-smith-transproxy-0.3-1.src.html
-
Is this file for version 5 ????
-
Well I am using it on version 5.02.
-
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 ??
-
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