[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070416054247.M18950@visp.net.lb>
Date: Mon, 16 Apr 2007 08:45:29 +0300
From: "Denys" <denys@...p.net.lb>
To: Patrick McHardy <kaber@...sh.net>
Cc: wijata@...-labs.com, Andrew Morton <akpm@...ux-foundation.org>,
netdev@...r.kernel.org,
"bugme-daemon@...nel-bugs.osdl.org"
<bugme-daemon@...zilla.kernel.org>
Subject: Re: [Bugme-new] [Bug 8325] New: -j REDIRECT --to-ports 1000-1009, always first choosen
On Mon, 16 Apr 2007 07:30:33 +0200, Patrick McHardy wrote
> Denys wrote:
> > Sorry, i will put my IMHO, since i am using it too.
> >
> > I guess it can be useful for load-balancing scenario.
>
> That makes sense with using multiple IPs (and we support doing that),
> but whats the point of load-balancing to differenet *ports*?
Easy - for example i have my own TCP acceleration solution, which is using
REDIRECT, then getsockopt/SO_ORIGINAL_DST to get original IP, then forwarding
to compressed tunnel, stripping unneeded bytes (oh, my expensive satellite
bandwidth). This way for example i can do some kind load-balancing for
satellite bandwidth. But i have done it over -m statistic.
>
> > Is there way to provide both ways?
> > Thinking... 60% done, But maybe this can be done over -m statistic already
>
> 2.6.21-rc supports randomized port selection (with iptables userspace
> from SVN). Using the statistic match would work as well.
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists