From 444ac7bee1452cdf59ec44400db210423052d109 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 5 Jul 2017 00:54:27 +0200 Subject: rt: add path mtu support Only use case is to allow similar behaviour to iptables TCPMSS --clamp-mss-to-pmtu, by combining this with exthdr statement: tcp option maxseg size set rt mtu Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- doc/nft.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/nft.xml b/doc/nft.xml index d3213d02..4e2730f6 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -2836,6 +2836,11 @@ filter prerouting meta mark set 0xdead fib daddr . mark type vmap { blackhole : Routing nexthop ipv4_addr/ipv6_addr + + mtu + TCP maximum segment size of route + integer (16 bit) + @@ -4270,6 +4275,8 @@ ip forward ip dscp set 42 change tcp mss tcp option maxseg size set 1360 +# set a size based on route information: +tcp option maxseg size set rt mtu -- cgit v1.2.3