Re: [squid-users] Change tcp_outgoing_address every hour, best way to do this?

From: Andres Salazar <ndrsslzr80_at_gmail.com>
Date: Tue, 13 Oct 2009 11:40:10 -0500

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_at_insync.za.net> 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_at_gmail.com>
> To: <squid-users_at_squid-cache.org>
> Sent: Wednesday, October 14, 2009 05:19
> Subject: [squid-users] 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
>>
>
>
Received on Tue Oct 13 2009 - 16:40:18 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 13 2009 - 12:00:05 MDT