Blame extensions/libxt_TCPMSS.man

Packit Service d1fe03
This target allows to alter the MSS value of TCP SYN packets, to control
Packit Service d1fe03
the maximum size for that connection (usually limiting it to your
Packit Service d1fe03
outgoing interface's MTU minus 40 for IPv4 or 60 for IPv6, respectively).
Packit Service d1fe03
Of course, it can only be used
Packit Service d1fe03
in conjunction with
Packit Service d1fe03
\fB\-p tcp\fP.
Packit Service d1fe03
.PP
Packit Service d1fe03
This target is used to overcome criminally braindead ISPs or servers
Packit Service d1fe03
which block "ICMP Fragmentation Needed" or "ICMPv6 Packet Too Big"
Packit Service d1fe03
packets.  The symptoms of this
Packit Service d1fe03
problem are that everything works fine from your Linux
Packit Service d1fe03
firewall/router, but machines behind it can never exchange large
Packit Service d1fe03
packets:
Packit Service d1fe03
.IP 1. 4
Packit Service d1fe03
Web browsers connect, then hang with no data received.
Packit Service d1fe03
.IP 2. 4
Packit Service d1fe03
Small mail works fine, but large emails hang.
Packit Service d1fe03
.IP 3. 4
Packit Service d1fe03
ssh works fine, but scp hangs after initial handshaking.
Packit Service d1fe03
.PP
Packit Service d1fe03
Workaround: activate this option and add a rule to your firewall
Packit Service d1fe03
configuration like:
Packit Service d1fe03
.IP
Packit Service d1fe03
 iptables \-t mangle \-A FORWARD \-p tcp \-\-tcp\-flags SYN,RST SYN
Packit Service d1fe03
             \-j TCPMSS \-\-clamp\-mss\-to\-pmtu
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-set\-mss\fP \fIvalue\fP
Packit Service d1fe03
Explicitly sets MSS option to specified value. If the MSS of the packet is
Packit Service d1fe03
already lower than \fIvalue\fP, it will \fBnot\fP be increased (from Linux
Packit Service d1fe03
2.6.25 onwards) to avoid more problems with hosts relying on a proper MSS.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-clamp\-mss\-to\-pmtu\fP
Packit Service d1fe03
Automatically clamp MSS value to (path_MTU \- 40 for IPv4; \-60 for IPv6).
Packit Service d1fe03
This may not function as desired where asymmetric routes with differing
Packit Service d1fe03
path MTU exist \(em the kernel uses the path MTU which it would use to send
Packit Service d1fe03
packets from itself to the source and destination IP addresses. Prior to
Packit Service d1fe03
Linux 2.6.25, only the path MTU to the destination IP address was
Packit Service d1fe03
considered by this option; subsequent kernels also consider the path MTU
Packit Service d1fe03
to the source IP address.
Packit Service d1fe03
.PP
Packit Service d1fe03
These options are mutually exclusive.