Skip to content

Tcp round trip time plugin #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Zadamsa
Copy link
Contributor

@Zadamsa Zadamsa commented Jul 13, 2025

Summary

Add a new process plugin tcpRtt for IPFIXProbe to compute TCP handshake round-trip time (RTT).

Details

This MR introduces a plugin tcpRtt that tracks TCP SYN and SYN-ACK timestamps and computes the handshake RTT.
The implementation includes:

  • Implementation of plugin in src/plugins/process/tcpRtt
  • IPFIX and UniRec export support
  • Registration of the plugin in CMake and RPM specs
  • Functional test with a sample PCAP

The RTT is computed only when both SYN and SYN-ACK timestamps are available; otherwise, a dummy value is used.

✅ Checks

  • CI pipeline passes (build, tests, rpm build)
  • New code follows clang-tidy rules
  • The change is clearly related to a specific feature (TCP RTT accounting)
  • The MR is rebased on the latest master
  • No unrelated changes are included
  • Functional test added
  • Documentation (e.g. Doxygen) is updated if needed
  • Relevant documentation was updated (if needed)

@hynekkar hynekkar requested a review from SiskaPavel July 14, 2025 06:38
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