Skip to content
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

Collecting TCP RTT durring handshake #93

Open
nshopik opened this issue Mar 1, 2024 · 2 comments
Open

Collecting TCP RTT durring handshake #93

nshopik opened this issue Mar 1, 2024 · 2 comments

Comments

@nshopik
Copy link

nshopik commented Mar 1, 2024

Is it possible to extend dnsmonster to store TCP RTT values during initial handshake (difference between first and third packet)?

Paper behind on how useful TCP RTT data even if its limited compare to UDP dns
https://ant.isi.edu/~johnh/PAPERS/Moura20a.pdf

@mosajjal
Copy link
Owner

mosajjal commented Mar 2, 2024

some prework is needed in gopacket/gopacket TCP assembly function (AssembleWithTimestamp) for this to be possible. And that'll be a breaking change for that function which is not easy to implement.

@nshopik
Copy link
Author

nshopik commented Mar 2, 2024

Is AssembleWithTimestamp lacking something, I just don't see it?

I tried to build some simple code to read pcap and do same thing, but run into problems with reassemble on loss packets - it start reporting very high values, but golang is new for me.

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

No branches or pull requests

2 participants