Skip to content

Conversation

@xliuxu
Copy link
Contributor

@xliuxu xliuxu commented Dec 18, 2025

WireGuard uses direct routing for same-subnet traffic similar to hybrid mode, but Traceflow was not checking for WireGuard mode when determining packet actions and forwarding behavior.

This commit adds WireGuard mode checks in the Traceflow packet parsing and flow generation logic to correctly handle packets when WireGuard encryption is enabled.

@luolanzone luolanzone added this to the Antrea v2.6 release milestone Dec 19, 2025
@luolanzone luolanzone added the action/release-note Indicates a PR that should be included in release notes. label Dec 19, 2025
In hybrid mode, packets are forwarded directly. In WireGuard mode, traffic
is encapsulated by WireGuard. In both modes, traffic leaves OVS, but
Traceflow was not checking for WireGuard mode when determining packet actions.

This commit adds WireGuard mode checks in Traceflow to correctly handle
packets when WireGuard encryption is enabled.

Signed-off-by: xliuxu <[email protected]>
@xliuxu xliuxu force-pushed the topic/fix-wg-traceflow branch from 0a4d149 to 9b511c8 Compare December 30, 2025 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action/release-note Indicates a PR that should be included in release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants