Search squid archive

Problems running squid in Transparent mode.....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi There,

OS: Freebsd: 4.11
Squid: squid-2.5.STABLE7-20050124

My squid is running in Transparent mode where I have a bandwidth manager
called Etinc installed on the same box as which squid is running. Etinc
works as a bridge using policy based routing to forward all packets on
port 80 to my localhost where I in turn use ipfw (ipfw 10 fwd
127.0.0.1,3128 tcp from any to any 80 in) to pass all packets to squid. 

Squid caches everything correctly but for some reason it seems like it
fetches everything again from the source rather then to just pass it
from the cache to the user. I've made a small test by downloading a
900Kb file and then re-download it a second time after the first
download finished and I'm basically getting the same speed the second
time as the first. I've checked my access log and I'm defnately getting
a HIT. This is when I'm using transparent mode. If I specify the proxy
in my browser it downloads the 900Kb file in seconds the second time. 

Thanks for the help in advance.

Squid Access.log
-----------------
1123617373.658 249645 10.6.0.24 TCP_HIT/200 964576 GET
http://definitions.symantec.com /defs/20050808-007-i32-1.exe - NONE/-
application/octet-stream

-----------------
Squid Config
-----------------
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

---------
ipfw Rule
---------
ipfw 10 fwd 127.0.0.1,3128 tcp from any to any 80 in

-----------
Etinc Rule
-----------
/usr/hdlc/utils/bwmgr em1 -x 100 -fw -ipprot tcp -i -dport 80 -proxydev
lo0





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux