Pārlūkot izejas kodu

Fix sniff QUIC hidden in three or more packets

世界 8 mēneši atpakaļ
vecāks
revīzija
093013687c
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 2 0
      common/sniff/quic_test.go
  2. 1 1
      route/route.go

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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
 				}

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels