Skip to content

check-encryption-leak: do not trace TCP RST packets as leaked#43228

Merged
jrajahalme merged 1 commit intomainfrom
pr/smagnani96/check-encryption-leak-rst
Dec 16, 2025
Merged

check-encryption-leak: do not trace TCP RST packets as leaked#43228
jrajahalme merged 1 commit intomainfrom
pr/smagnani96/check-encryption-leak-rst

Conversation

@smagnani96
Copy link
Copy Markdown
Contributor

This substantially reverts #41765, re-applying #36962 (modified code for readability).

During our CLI tests, we observe some auto-generated TCP RST packets from the kernel in response to TCP-FIN packets sent by, most likely, some idle's timeout expiring. Envoy would generate TCP-FIN, but the kernel replies with a RST, given there's not a socket anymore listening to that port.

We thought that after VinE we were able to catch such packets in our to-netdev program, but we kept observing them while adding unrelated tests to our CLI suite (see https://github.com/cilium/cilium/actions/runs/19833684454). Thus, we revert the latest change, and keep ignoring TCP RST packets.

@smagnani96 smagnani96 self-assigned this Dec 9, 2025
@smagnani96 smagnani96 added kind/bug This is a bug in the Cilium logic. area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. release-note/ci This PR makes changes to the CI. feature/ipsec Relates to Cilium's IPsec feature labels Dec 9, 2025
@smagnani96
Copy link
Copy Markdown
Contributor Author

/test

@smagnani96 smagnani96 marked this pull request as ready for review December 10, 2025 11:37
@smagnani96 smagnani96 requested review from a team as code owners December 10, 2025 11:37
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 12, 2025
@jrajahalme jrajahalme enabled auto-merge December 12, 2025 16:23
@jrajahalme
Copy link
Copy Markdown
Member

/ci-l7

@jrajahalme
Copy link
Copy Markdown
Member

/ci-l3-l4

@jrajahalme
Copy link
Copy Markdown
Member

/ci-l7

@jrajahalme
Copy link
Copy Markdown
Member

@smagnani96 You may need to rebase this to enable running the new Ci workflows (ci-l3-l4 and ci-l7). They did not get started with the manual trigger :-(

This substantially reverts #41765,
re-applying #36962 (modified code
for readability).

During our CLI tests, we observe some auto-generated TCP RST packets from
the kernel in response to TCP-FIN packets sent by, most likely,
some idle's timeout expiring. Envoy would generate TCP-FIN, but the
kernel replies with a RST, given there's not a socket anymore listening
to that port.

We thought that after VinE we were able to catch such packets in our
to-netdev program, but we kept observing them while adding unrelated
tests to our CLI suite (see https://github.com/cilium/cilium/actions/runs/19833684454).
Thus, we revert the latest change, and keep ignoring TCP RST packets.

Signed-off-by: Simone Magnani <simone.magnani@isovalent.com>
@aanm aanm force-pushed the pr/smagnani96/check-encryption-leak-rst branch from 42ae971 to 62f993d Compare December 15, 2025 16:32
@aanm
Copy link
Copy Markdown
Member

aanm commented Dec 15, 2025

/test

@jrajahalme jrajahalme added this pull request to the merge queue Dec 16, 2025
Merged via the queue into main with commit 984c599 Dec 16, 2025
451 of 461 checks passed
@jrajahalme jrajahalme deleted the pr/smagnani96/check-encryption-leak-rst branch December 16, 2025 08:03
@cilium-release-bot cilium-release-bot bot moved this to Released in cilium v1.19.0 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. feature/ipsec Relates to Cilium's IPsec feature kind/bug This is a bug in the Cilium logic. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.

Projects

No open projects
Status: Released

Development

Successfully merging this pull request may close these issues.

6 participants