From 0c0b2452bc3c96cf3db09eb8cbf62778a2fd8f6c Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sun, 11 Dec 2016 18:02:34 +0100 Subject: src: add tcp options set support This adds support for tcp mss mangling: nft add rule filter input tcp option maxseg size 1200 Its also possible to change other tcp option fields, but maxseg is one of the more useful ones to change. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- doc/nft.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/nft.xml b/doc/nft.xml index d7aae3f0..d3213d02 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -4258,6 +4258,22 @@ ip forward ip dscp set 42 + + Extension header statement + + The extension header statement alters packet content in variable-sized headers. + This can currently be used to alter the TCP Maximum segment size of packets, + similar to TCPMSS. + + + + change tcp mss + +tcp option maxseg size set 1360 + + + + Log statement -- cgit v1.2.3