[squid-users] best way to have randomized outgoing per each new connection

Antony Stone Antony.Stone at squid.open.source.it
Mon Aug 22 21:20:46 UTC 2016


On Monday 22 August 2016 at 20:01:14, --Ahmad-- wrote:

> I’m wondering here … what is the best method so that i give randomized tcp
> outgoing address per new session.

How do you define a "session" (in terms that mean something to Squid)?

> say that i have 100 ips  on squid .
> 
> i want each new connection to squid comes to have a specified outgoing
> address from the 100 pool
> 
> say i connected to port xxx on squid  i want to have outgoing ip like ip1
> 
> say i closed my browser or disconnected the session and connected again to
> have ip2 and keep on ip2 until session is closed or dead or timeout .

Please define "session" :)


Antony.

-- 
Python is executable pseudocode.
Perl is executable line noise.

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list