| ▲ | cryptonector 8 months ago | |||||||||||||||||||||||||
> Path MTU discovery has not been enthusiastically embraced Ugh. I don't understand this. Especially passive PMTUD should just be rolled out everywhere. On Linux it still defaults to disabled! https://sourcegraph.com/search?q=context%3Aglobal+repo%3A%5E... | ||||||||||||||||||||||||||
| ▲ | whiatp 8 months ago | parent | next [-] | |||||||||||||||||||||||||
PMTU just doesn't feel reliable to me because of poorly behaved boxes in the middle. The worst offender I've had to deal with was AWS Transit Gateway, which just doesn't bother sending ICMP too big messages. The second worst offender is, IMO (data center and ISP) routers that generate ICMP replies in their CPU, meaning large packets hit a rate limited exception punt path out of the switch ASIC over to the cheapest CPU they could find to put in the box. If too many people are hitting that path at the same time, (maybe) no reply for you. More rare cases, but really frustrating to debug was when we had an L2 switch in the path with lower MTU than the routers it was joining together. Without an IP level stack, there is no generation of ICMP messages and that thing just ate larger packets. The even stranger case was when there was a Linux box doing forwarding that had segment offload left on. It was taking in several 1500 byte TCP packets from one side, smashing them into ~9000 byte monsters, and then tried to send those over a VPNish network interface that absolutely couldn't handle that. Even if the network in the middle bothered to generate the ICMP too big message, the source would have been thoroughly confused because it never sent anything over 1500. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | JackSlateur 8 months ago | parent | prev | next [-] | |||||||||||||||||||||||||
path mtu discovery is worthless because the sending host does not control the path used So it is not compatible with anycast, for instance, which is massively used everywhere In the end, having no answer is better than having a most likely wrong answer | ||||||||||||||||||||||||||
| ▲ | mkj 8 months ago | parent | prev [-] | |||||||||||||||||||||||||
Would that help with UDP, or only TCP? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||