From d872512b595f53ee5239b4aefb7b4d841380d1f3 Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Sun, 7 Jul 2024 21:49:13 +0900 Subject: [PATCH 1/2] gh-718 Fix masquerade for local destination --- loxilb-ebpf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loxilb-ebpf b/loxilb-ebpf index 27c543d16..ab356b127 160000 --- a/loxilb-ebpf +++ b/loxilb-ebpf @@ -1 +1 @@ -Subproject commit 27c543d1689c26bb8f15a4f6e1ce2e6aa445df8d +Subproject commit ab356b1273768f7f1ede1340532b501494b9abc5 From 909401a9d44ed1bc7dbe0b6f84d56adfe10f7126 Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Mon, 8 Jul 2024 00:02:52 +0900 Subject: [PATCH 2/2] gh-718 Fix masquerade for local destination --- loxilb-ebpf | 2 +- pkg/loxinet/rules.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/loxilb-ebpf b/loxilb-ebpf index ab356b127..9cef5d08a 160000 --- a/loxilb-ebpf +++ b/loxilb-ebpf @@ -1 +1 @@ -Subproject commit ab356b1273768f7f1ede1340532b501494b9abc5 +Subproject commit 9cef5d08a7df056ef8cf6315a9063ddf0482e464 diff --git a/pkg/loxinet/rules.go b/pkg/loxinet/rules.go index a7a3f85b1..5b79f56d9 100644 --- a/pkg/loxinet/rules.go +++ b/pkg/loxinet/rules.go @@ -2466,7 +2466,7 @@ func (R *RuleH) RulesSync() { //ruleKeys := rule.tuples.String() //ruleActs := rule.act.String() if rule.sync != 0 { - rule.DP(DpCreate) + rule.Fw2DP(DpCreate) } //rule.DP(DpStatsGet) //tk.LogIt(-1, "%d:%s,%s pc %v bc %v \n",