Re: REDIRECT to multiple ports

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

 



Shpend Bakalli wrote:
I have a transparent squid proxy with 3 running squid processes in it (to make use of mltiprocessor architecture). Each have different ports.
I'm using REDIRECT to redirect packets comming with destination port 80 to ports 3127 - 3129 in the proxy server.
Although the distribution of the requests should be done in a round-robin fashion, it seems it is not done like that.
Any idea how kernel/iptables manages this kind of redirection? Is it a simple round-robin or there is some other method of distribution?

Not really Netfilter related, but, why do you need multiple Squid processes to make use of multiprocessor architecture? Squid will spawn child processes by itself and assign incomming requests to them in round robin fashion. Unless you have a huge number of incomming requests per second, this shouldn't be a problem.


--
Aleksandar Milivojevic <amilivojevic@xxxxxx>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux