Skip to content

Improve flow lookups#20

Merged
pgigis merged 6 commits intomainfrom
improve_flow_lookups
Apr 30, 2026
Merged

Improve flow lookups#20
pgigis merged 6 commits intomainfrom
improve_flow_lookups

Conversation

@pgigis
Copy link
Copy Markdown
Owner

@pgigis pgigis commented Apr 30, 2026

Summary

This PR makes the flowkey protocol-aware and cleans up how the active/passive flow tables are defined. It also pre-sizes those tables from config so lookups/inserts do a little less work under load.

Testing

  • cmake -S . -B build && cmake --build build
  • Unit tests (ctest --test-dir build) if available
  • Other (describe): Targeted sanity checks around packet parsing and traffic matching

Notes

  • No new flags or config changes.
  • Small internal behavior change: flows are now keyed with protocol as part of the identity, so TCP and UDP traffic with the same IP/port tuple no longer collapse to the same flow key.

@pgigis pgigis merged commit 5bb3c53 into main Apr 30, 2026
1 check passed
@pgigis pgigis deleted the improve_flow_lookups branch May 4, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant