Tap TCP connections even if the handshake was missed (#988)

Support long-living connections. This commit improves support for Linkerd which uses long-living connections.
This commit is contained in:
David Levanon 2022-04-13 11:17:37 +03:00 committed by GitHub
parent 81fe4af30d
commit 86e5dcea19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,9 @@ func (t *tcpStream) Accept(tcp *layers.TCP, ci gopacket.CaptureInfo, dir reassem
if !accept {
diagnose.InternalStats.RejectOpt++
}
*start = true
return accept
}