@SurgeTestFlightFeed:Surge 通过 Hysteria 2 分片放行大 UDP 包
Surge 说明官方 Hysteria 2 服务端自 v2.6.4 将 QUIC datagram 限至 1200 字节;此前 Surge 严格遵守 IP DF 标记,约 1130 字节以上 UDP 包会被丢弃。Beta 起,经过 Hysteria 2 策略的任意大小 UDP 包会分片转发。
频道原文@SurgeTestFlightFeedHysteria 2: Oversized UDP Packets Now Fragmented
Since v2.6.4, official Hysteria 2 servers have capped QUIC datagrams at 1,200 bytes, regardless of the network MTU. The protocol handles larger packets by fragmenting them.
However, because Surge strictly honors the IP DF flag, it rejects large UDP packets with the DF flag set by returning an ICMP Packet Too Big message. But because Hysteria 2’s maximum per-packet payload size is too low, some UDP services are completely unusable.
Starting with the beta update, Surge relays UDP packets of any size through Hysteria 2 policies using fragmentation. Previously, packets marked Don’t Fragment (DF) and larger than about 1,130 bytes were dropped.