Re: SCTP ASSOCIATION FAILOVER ISSUE

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

 



On Wednesday 2010-06-16 05:39, Patrick McHardy wrote:
>>
>>The IP tables rule to perform SNAT is: -A POSTROUTING -o bond2 -j SNAT 
>>--to-source 10.19.146.147 When a blade failover occurs, the above rule 
>>is applied to the newly active blade to continue SNAT. The failed 
>>blade is rebooted immediately.
>>[...]
>> This behavior of not SNAT'ing continues until we re-establish the
>> association. When the association is re-established, the NAT'ing
>> takes place and the source address at bond2 of Bld14 shows up as
>> 10.19.146.147 which is the desired address.
>>
>> The question therefore is, why does SNAT for SCTP not take place
>> until the association is re-established upon a failover?
>
> You're probably not quick enough applying the SNAT rule. Once the
> first packet has passed through Bld14, the connection tracking
> entry is already set up without NAT and the SNAT rule doesn't apply
> anymore.

As I see it, conntrackd is just what's needed in this case.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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