google / google/gopacket

TCP reassembly - connections remain in pool if no FIN was received?

Open
#592 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/google/gopacket/blob/a6b099ece4680a8bdea84fa78166d0712108a95c/reassembly/tcpassembly.go#L1271

This if statement is always issued before removing a connection from the pool.
So if a specific connection didn't get a FIN or RST - it will remain in the pool even if I call FlushCloseOlderThan and the connection timed out?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.