解决 HTTP3 NO_ERROR (remote): QUIC flood detected
#4197
xqzr
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在无视 IPv4 DF 位,并强制“分片”的网络上,使用 HTTP3,并存在“分片”丢失,客户端可能会出现由 Nginx 返回的“QUIC 泛洪”,并伴随“断流”情况。
这里使用“QUIC MTU 钳制”(类似于“TCP MSS 钳制”)的方法,通过
nftables
添加,来解决。以“腾讯云”为例:
可将以上内容写入
QuicMtuClamp.nft
文本文件,通过以下命令导入:规则说明:
数据包被“静默”丢弃,Nginx 感知到“丢失”,将会减小 MTU(包大小)发送数据包。
https://blog.sunflyer.cn/archives/783
https://t.me/projectXray/4124536?thread=4031009
Beta Was this translation helpful? Give feedback.
All reactions