From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: netfilter@lists.netfilter.org
Subject: Re: REDIRECT to multiple ports
Date: Thu, 30 Sep 2004 09:33:08 -0500 [thread overview]
Message-ID: <415C1924.2020100@pbl.ca> (raw)
In-Reply-To: <00f501c4a664$592083a0$f90e0e0a@msojsi>
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
prev parent reply other threads:[~2004-09-30 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-29 20:38 REDIRECT to multiple ports Shpend Bakalli
2004-09-30 14:33 ` Aleksandar Milivojevic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=415C1924.2020100@pbl.ca \
--to=amilivojevic@pbl.ca \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.