From bfb32b190dea375f79dc9e7f340f532c4a099f58 Mon Sep 17 00:00:00 2001 From: Yossi Boaron Date: Thu, 8 Aug 2024 14:53:04 +0300 Subject: [PATCH] Add iptables mangle table to subctl gather Submariner adds rules to the mangle iptables table for clamping TCP MSS on all nodes. Fixes: https://github.com/submariner-io/subctl/issues/36 Signed-off-by: Yossi Boaron --- internal/gather/cni.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/gather/cni.go b/internal/gather/cni.go index c8a5b4eda..0deff1007 100644 --- a/internal/gather/cni.go +++ b/internal/gather/cni.go @@ -49,8 +49,9 @@ var ipGatewayCmds = map[string]string{ } var ipTablesCmds = map[string]string{ - "iptables": "iptables -L -n -v --line-numbers", - "iptables-nat": "iptables -L -n -v --line-numbers -t nat", + "iptables": "iptables -L -n -v --line-numbers", + "iptables-nat": "iptables -L -n -v --line-numbers -t nat", + "iptables-mangle": "iptables -L -n -v --line-numbers -t mangle", } var libreswanCmds = map[string]string{