Search squid archive

Re: Change tcp_outgoing_address every hour, best way to do this?

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

 



Hi Andres,

It's not a load issue, normally, the reason people would want to change the source address is to load balance links (in this kinda of setup) If you want to rotate the IP's "just because" then so be it :)

I would still suggest thou, that you run multiple squids on the box and rotate between them, since tcp_outgoing_address has no ACL control (that might be a feature request - Devs ? )

Like I said before, I will be publishing quite a bit of the work I did for this type of setup, but if you decide to go with this option, I can share the squid configs ahead of time.

Cheers,

Pieter

On Tue, 13 Oct 2009, Andres Salazar wrote:

Hello,

I actually have about 100 IPs. Squid can handle the load without
problem i just need to rotate the IPs for all users every hour the
tcp_outgoing_address  ?

I really dont have any idea on how to do this, any example would be
much appreciated.

Andres


On Tue, Oct 13, 2009 at 11:26 AM, Pieter De Wit <pieter@xxxxxxxxxxxxx> wrote:
Hi Andres,

I am assuming you want to do this for a Load Balance setup. I also doubt
that you have 12 (or even 24) upstream connections. I would simply suggest
that you run one main squid, assign some ACLs to it based on time and 2 or
more "parent proxies". Those parent proxies can run on the same machine,
with little cache and memory, and they carry the other IPs in their own
configs. That way, there is no reconfigure etc.

I have 4 squids running on one box for this purpose - details will be posted
to here once the solution is in production :)

Cheers,

Pieter

----- Original Message ----- From: "Andres Salazar" <ndrsslzr80@xxxxxxxxx>
To: <squid-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, October 14, 2009 05:19
Subject:  Change tcp_outgoing_address every hour, best way to
do this?


Hello,

Iam wanting to pass the option of tcp_outgoing_address when I run the
command to refresh or reload the config file. This so that every hour
I can rorate with a cron the IP that squid uses to browse the
internet.

Is this possible? Or is there a better way then to create dozens of
config files with the only difference being the IP?

Andres





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

  Powered by Linux