Page MenuHomePhabricator

Redundant active-active configuration, asymmetric routing and conntrack-sync cache
Open, Requires assessmentPublicFEATURE REQUEST

Description

The example uses a connection to two ISP. Asymmetric routing is when the flow of packets in one direction passes through a different router than that used for the return path.
In this configuration, when the flows is asymmetric, for the translation to work properly, you must disable the cache.

cat /etc/conntrackd/conntrackd.conf 
Sync {
	Mode FTFW {
		DisableExternalCache On
	}

Need a feature to disable the cache. I use temporary workaround:

--- ConntrackSync.pm.old	2018-12-21 05:40:24.000000000 +0500
+++ ConntrackSync.pm	2018-12-31 15:52:28.078441250 +0500
@@ -57,7 +57,7 @@
 my $GENERAL_SECTION_START    = "General {\n";
 my $SYNC_SECTION_START       = "Sync {\n";
-my $MODE_SECTION_START       = "\tMode FTFW {\n";
+my $MODE_SECTION_START       = "\tMode FTFW {\n\t\tDisableExternalCache On\n";
 my $MULTICAST_SECTION_START  = "\tMulticast {\n";
 my $UNICAST_SECTION_START    = "\tUDP {\n";
 my $OPTIONS_SECTION_START    = "\tOptions {\n";

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close

Event Timeline

daniil created this task.Jan 31 2019, 8:34 AM
daniil changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).Jan 31 2019, 8:46 AM

Any chance of getting this merged into 1.2.2?

@syncer Any chance of getting this merged into 1.2.2?

pasik added a subscriber: pasik.May 14 2019, 6:04 PM