mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 03:47:37 +03:00
Fix sniff QUIC hidden in three or more packets
This commit is contained in:
parent
ff31c469a0
commit
093013687c
2 changed files with 21 additions and 1 deletions
|
@ -622,7 +622,7 @@ func (r *Router) actionSniff(
|
|||
Destination: destination,
|
||||
}
|
||||
packetBuffers = append(packetBuffers, packetBuffer)
|
||||
if E.IsMulti(err, sniff.ErrClientHelloFragmented) && len(packetBuffers) == 0 {
|
||||
if E.IsMulti(err, sniff.ErrClientHelloFragmented) {
|
||||
r.logger.DebugContext(ctx, "attempt to sniff fragmented QUIC client hello")
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue