Re: [squid-users] load balancing traffic through squid on systems with 2 Internet connections

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 22 Nov 2007 12:28:12 +0900

It sounds like a coding project - are you volunteering? :)

Adrian

On Thu, Nov 22, 2007, Ming-Ching Tiew wrote:
> From: "Siju George" <sgeorge.ml@gmail.com>
> > >
> > > But not something I would recommend. Many sites dislikes clients coming
> > > from more than one IP during the same session. The client IP is often
> > > embedded in session cookies etc, making the session fail if the IP
> > > changes.
> > >
> >
> > Yes Henrik.
> > Such sites are identified and there is af firewall rule added to PF in
> > OpenBSD to route them through the same interface.. But it is not a
> > problem with majority of the sites.
> >
>
> Perhaps it will be interesting for squid to have an acl called random :-
>
> ( is there one already ? )
>
> eg
>
> acl rnd random 50 # 50 %
>
> tcp_outgoing_address x.x.x.x rnd <--- use x 50 % of time
> tcp_outgoing_address y.y.y.y rnd <---- use y 50% of time
> tcp_outgoing_address z.z.z.z <--- have to provide a
> default in case nothing is matched
>
> And the random acl can be used together with other acl too !
>
> eg
> acl link1 dst .....
> tcp_outgoing_address x.x.x.x link1 rnd
>
> :-)
>
>
>
>
>
>
>

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Wed Nov 21 2007 - 20:23:44 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST