Browse Source

Fix sniff QUIC hidden in three or more packets

世界 9 months ago
parent
commit
093013687c
2 changed files with 3 additions and 1 deletions
  1. 2 0
      common/sniff/quic_test.go
  2. 1 1
      route/route.go

File diff suppressed because it is too large
+ 2 - 0
common/sniff/quic_test.go


+ 1 - 1
route/route.go

@@ -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
 				}

Some files were not shown because too many files changed in this diff