DanielLavrushin 说明全局 MSS Clamping 可能导致 b4 用户无法访问 GitHub
在 b4 用户无法访问 GitHub 的排障中,DanielLavrushin 指出,该用户开启了数值为 88 的全局 MSS Clamping,它会改写机器上所有发往 TCP 443 端口连接的 MSS,因此停用全部 set 也无效。他称该次追踪中连接只有首包反复重发,TLS 握手尚未开始,并建议关闭全局钳制;若特定服务需要较小 MSS,应在具有 IP、GeoIP、ASN 或设备目标的 set 内单独设置。
作者原文@DanielLavrushin@danatela The cause is the globally MSS Clamping setting (Settings > Core > Firewall), which is enabled in your configuration with size 88. It rewrites the MSS of every TCP connection to port 443 on the machine, whether or not any set is enabled, which is why turning the sets off did not help.
GitHub's servers do not answer a connection that offers an MSS this small. In your trace every github.com connection is only the first packet, resent again and again with no reply, so the TLS handshake never starts. We get the same result from another network: GitHub answers at MSS 320 and above and ignores 300 and below, while Cloudflare-hosted sites still answer at 88.
To fix it, turn off Enable Global MSS Clamping and save. If you need a small MSS for a specific service, set it per set instead (the set's TCP > General > MSS Clamping, which needs an IP, GeoIP, ASN or device target), so it doesn't affect other sites. See https://docs.b4core.app/docs/settings/core#global-mss-clamping
If github.com still fails with the clamp off, please attach a new trace.