Update tcp(4) with plpmtud blackhole sysctls

Submitted by:	Mikhail <mp@lenta.ru>
MFC after:	2 weeks
Relnotes:	yes
This commit is contained in:
sbruno 2014-10-13 21:04:14 +00:00
parent 970ba4b3da
commit 21257a95b0

View File

@ -518,6 +518,21 @@ avoid packet drops.
Number of retries (SYN or SYN/ACK retransmits) before disabling ECN on a
specific connection. This is needed to help with connection establishment
when a broken firewall is in the network path.
.It Va pmtud_blackhole_detection
Turn on automatic path MTU blackhole detection. In case of retransmits we will
lower the MSS to check if it's MTU problem. If current MSS is greater than
configured value to try, it will be set to it, otherwise, MSS will be set to
default values (net.inet.tcp.mssdflt and net.inet.tcp.v6mssdflt).
.It Va pmtud_blackhole_mss
MSS to try for IPv4 if PMTU blackhole detection is turned on.
.It Va v6pmtud_blackhole_mss
MSS to try for IPv6 if PMTU blackhole detection is turned on.
.It Va pmtud_blackhole_activated
Number of times the code was activated to attempt a MSS downshift.
.It Va pmtud_blackhole_min_activated
Number of times the blackhole MSS was used in an attempt to downshift.
.It Va pmtud_blackhole_failed
Number of times that we failed to connect after we downshifted the MSS.
.El
.Sh ERRORS
A socket operation may fail with one of the following errors returned: