All of lore.kernel.org
 help / color / mirror / Atom feed
* tcpmss match for IPv6 ?
@ 2007-07-12 21:44 Pascal Hambourg
  2007-07-13 13:13 ` Patrick McHardy
  0 siblings, 1 reply; 6+ messages in thread
From: Pascal Hambourg @ 2007-07-12 21:44 UTC (permalink / raw)
  To: netfilter-devel

Hello,

I hope this is the right list for my question.
Support of the TCPMSS target for IPv6 was recently added in the kernel 
and ip6tables. It can help fixing some MTU blackhole issues, so thanks. 
However there is currently no support of the tcpmss match for IPv6 yet, 
although xt_tcpmss.c in the kernel seems to be IPv6 compatible.

Has anyone already submitted a patch to add support for an IPv6 tcpmss 
match in ip6tables ? It seems trivial to derive from the existing IPv4 
tcpmss match for iptables. I believe I could even do it although I am 
not a software developper and don't know how to submit a patch.

I ask because I would have a use for an IPv6 tcpmss match in conjunction 
with the IPv6 TCPMSS target. "-j TCPMSS --clamp-mss-to-pmtu" may not be 
optimal, still allowing underlying fragmentation at a lower layer 
because of encapsulation (e.g. my ISP uses IPv6 over PPP over L2TP over 
UDP over IP over ethernet, where the optimal non-fragmenting IPv6 MTU is 
1460 due to the PPP+L2TP+UDP+IP overhead). Lowering the MTU is not an 
option, as I want to keep the ability to send and receive as big packets 
as the link allows. "-j TCPMSS --set-mss 1400" could be used to prevent 
TCP connections from causing fragmentation of the L2TP packets, but I 
must check that the original MSS is above 1400 before changing it. Else 
it would increase the MSS, which is not desirable. So I would need the 
tcpmss match in order to check the original MSS. Another solution would 
be a new "--clamp-mss <value>" option in the TCPMSS target which would 
clamp (i.e. decreases if higher) the MSS down to an arbitrary value 
instead of a value based on the PMTU. But I feel it would be more 
complicated.

Thanks for your attention.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-15 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 21:44 tcpmss match for IPv6 ? Pascal Hambourg
2007-07-13 13:13 ` Patrick McHardy
2007-07-13 16:48   ` Pascal Hambourg
2007-07-14 15:14     ` Patrick McHardy
2007-07-14 16:26       ` Yasuyuki KOZAKAI
2007-07-15 20:05       ` [PATCH] tcpmss match for IPv6 (libip6t_tcpmss) Pascal Hambourg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.