iptables: add test file for TCPMSS extension
PATCH 1/1 iptables: add test file for TCPMSS extension
This adds test file for the recently added TCPMSS extension.
Signed-off-by Aastha Gupta <[email protected]>
--- extensions/libxt_TCPMSS.txlate | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 extensions/libxt_TCPMSS.txlate
extensions/libxt_TCPMSS.txlate new file +5 -0
@@ -0,0 +1,5 @@ +iptables-translate -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu +nft add rule ip filter FORWARD tcp flags & (syn|rst) == syn counter tcp option maxseg size set rt mtu + +iptables-translate -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 90 +nft add rule ip filter FORWARD tcp flags & (syn|rst) == syn counter tcp option maxseg size set 90
Signature · 1 line
2.7.4
Quoted 1 line · Aastha Gupta
This adds test file for the recently added TCPMSS extension.
I'm taking this last version, it doesn't say v4 but looking at timing, it is the last one you have submitted.
Applied, thanks. If there is anything you need to fix, send me a follow up patch.
Pablo Neira Ayuso
maintainerQuoted 8 lines · Pablo Neira Ayuso
Quoted 1 line · Aastha Gupta
This adds test file for the recently added TCPMSS extension.
I'm taking this last version, it doesn't say v4 but looking at timing, it is the last one you have submitted.
Applied, thanks. If there is anything you need to fix, send me a follow up patch.
Oh, I understand, this is the test file. Other patches add the translation.