* REDIRECT to multiple ports
@ 2004-09-29 20:38 Shpend Bakalli
2004-09-30 14:33 ` Aleksandar Milivojevic
0 siblings, 1 reply; 2+ messages in thread
From: Shpend Bakalli @ 2004-09-29 20:38 UTC (permalink / raw)
To: netfilter
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?
Kernel: 2.6.4-52-smp
Distribution: Suse 9.1
Regards,
Shpend Bakalli
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: REDIRECT to multiple ports
2004-09-29 20:38 REDIRECT to multiple ports Shpend Bakalli
@ 2004-09-30 14:33 ` Aleksandar Milivojevic
0 siblings, 0 replies; 2+ messages in thread
From: Aleksandar Milivojevic @ 2004-09-30 14:33 UTC (permalink / raw)
To: netfilter
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@pbl.ca> Pollard Banknote Limited
Systems Administrator 1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-30 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29 20:38 REDIRECT to multiple ports Shpend Bakalli
2004-09-30 14:33 ` Aleksandar Milivojevic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.