[squid-users] myport config

From: gembel elit <kumpayid@dont-contact.us>
Date: Tue, 11 Oct 2005 03:13:21 -0700 (PDT)

I'm using squid as transparent proxy
this is my configuration, it works for Squid
2.5.STABLE9:

http_port 8000
http_port 8001
http_port 8002
http_port 8003
http_port 8004
..
acl port_0 myport 8000
acl port_1 myport 8001
acl port_2 myport 8002
acl port_3 myport 8003
acl port_4 myport 8004
..
delay_pools 4

delay_class 1 2
delay_parameters 1 2000/50000 2000/50000
delay_access 1 allow port_1
delay_access 1 deny all

delay_class 2 2
delay_parameters 2 -1/-1 5096/500000
delay_access 2 allow port_2
delay_access 2 deny all

delay_class 3 2
delay_parameters 3 -1/-1 4072/300000
delay_access 3 allow port_3
delay_access 3 deny all

delay_class 4 2
delay_parameters 4 -1/-1 3072/400000
delay_access 4 allow port_4
delay_access 4 deny all

I use Iptables to redirect http requests. delay pools
worked in squid 2.5 stable9.
After i upgrade to Squid 3.0 PRE3 I use this
configuration, but delay pools didn't work:

http_port 8000 transparent
http_port 8001 transparent
http_port 8002 transparent
http_port 8003 transparent
http_port 8004 transparent
..
acl port_0 myport 8000
acl port_1 myport 8001
acl port_2 myport 8002
acl port_3 myport 8003
acl port_4 myport 8004
..
delay_pools 4

delay_class 1 2
delay_parameters 1 2000/50000 2000/50000
delay_access 1 allow port_1
delay_access 1 deny all

delay_class 2 2
delay_parameters 2 -1/-1 5096/500000
delay_access 2 allow port_2
delay_access 2 deny all

delay_class 3 2
delay_parameters 3 -1/-1 4072/300000
delay_access 3 allow port_3
delay_access 3 deny all

delay_class 4 2
delay_parameters 4 -1/-1 3072/400000
delay_access 4 allow port_4
delay_access 4 deny all

delay pools didn't work if i use squid as transparent
proxy, but it worked if i set proxy in browser
setting.

Is this a bug? how to make it work in squid 3. Thanks
in advance.

                
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
Received on Tue Oct 11 2005 - 04:13:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST