sorry_server and NAT on LOCALNODE

"Matías E. Fernández" <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Dear Keepalived developers

You might have seen my message to the mailing list of lvs-users regarding
implicit local forwarding method [1]. As pointed out by Julian Anastasov
local forwarding method is not anymore set implicitly since the following
commit:

===
commit fc604767613b6d2036cdc35b660bc39451040a47
Author: Julian Anastasov <
ja at ssi.bg
>
Date:   Sun Oct 17 16:38:15 2010 +0300

    ipvs: changes for local real server

...
    - Now LOCALNODE is not set explicitly as forwarding
    method in real server to allow the connections to provide
    correct forwarding method to the backup server. Not sure if
    this breaks tools that expect to see 'Local' real server type.
    If needed, this can be supported with new flag IP_VS_DEST_F_LOCAL.
    Now it should be possible connections in backup that lost
    their fwmark information during sync to be forwarded properly
    to their daddr, even if it is local address in the backup server.
    By this way backup could be used as real server for DR or TUN,
    for NAT there are some restrictions because tuple collisions
    in conntracks can create problems for the traffic.
===

This breaks sorry_servers running on the local node when using "lb_kind NAT".
I tested this on Ubuntu 10.04.4 LTS and Debian 7.3. I think a proper solution
would be allowing arbitrary forwarding methods for the sorry_server independently
of lb_kind defined in virtual_server.

Are there any plans for supporting this or implementing another workaround?

Regards
Matías

[1] http://lists.graemef.net/pipermail/lvs-users/2013-December/049921.html
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.