Large UDP packets (e.g. syslog or DNS over 1500 bytes) are lost while small ones arrive.
AdvancedTroubleshootingMTU, routing, packet loss and latency
Answer
Likely causes → Large UDP datagrams are IP-fragmented, and a firewall, NAT or cloud network drops fragments (non-first fragments have no port info).
Diagnose →
sudo tcpdump -ni eth0 'ip[6:2] & 0x3fff != 0' # fragments
nstat -az IpReasmFails IpFragFails
Fix → Keep UDP payloads under path MTU (EDNS buffer 1232 for DNS), switch to TCP (syslog over TCP/RELP), or allow fragments.
Prevent → Design UDP protocols to avoid fragmentation.
More on MTU, routing, packet loss and latency
SSH connects, but the session freezes as soon as you run `ls` in a big directory or `cat` a large file.IntermediateHTTPS to a site over the VPN hangs after `Client hello`, while HTTP works.Intermediate`ping: local error: message too long, mtu=1500`BeginnerPods on different nodes can ping each other, but HTTP responses larger than ~1.4 KB never arrive.Advanced`mtr` shows 30% loss at hop 6, but 0% at the final destination.Beginner`mtr` shows loss starting at hop 4 and continuing to the destination at 8–10%.Intermediate