Revert "Increase the default TCP maximum segment size from 512 to 1460."
commitbf18b4fe405d16caaed01a2eafaf409a29b99a6d
authorSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Mon, 14 Sep 2009 17:08:04 +0000 (14 19:08 +0200)
committerSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Mon, 14 Sep 2009 17:08:04 +0000 (14 19:08 +0200)
tree43697e914389064058a0d50fc8b15c5e24dfb1b3
parentc081fe84e993ade17c9aae5cde4bee2b5614653e
Revert "Increase the default TCP maximum segment size from 512 to 1460."

This reverts commit d190343e53819e25316a2a890724404f8e48c78d.

It seems that there are systems (probably firewalls) in action which
enforce an MSS of 536.

Specifically, at research.microsoft.com, port 80, packets seem to be
simply dropped if they exceed a MSS of 536 bytes, and no ICMP
destinatino unreachable, need to fragment message is generated.

While this behavior might be questionable as well, we should not diverge
from established standards.

This default MSS value can be changed using the sysctl node
net.inet.tcp.mssdflt.

Mandated by RFC 879, RFC 1122.
sys/netinet/tcp.h