-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to craft a PING frame? #1
Comments
Hi, thanks for reaching out! This project was actually my first preliminary of QUIC ping. You can find the finished version as part of the OONI project here: https://github.com/ooni/probe-cli/tree/master/internal/engine/experiment/quicping Probably important to note here: This ping is not an official part of the QUIC standard. I have developed the idea as an attempt to measure the availability of QUIC/UDP hosts without establishing a real QUIC connection (and it works quite well). So, what a QUIC ping in this context?
QUIC-able hosts respond to the QUIC PING with a Version Negotiation packet. If you wanna try it out, run
in this project's folder and observe the network activity on wireshark :-) I hope that answers your question. |
Hi, Thank you so much for responding. Yes, I was able to understand and run your project locally. It's really cool. I wanted to generate a PING frame(0x00000001) that is used to keep connections alive as per QUIC RFC document to try it out locally and for understanding it. Any suggestions on how can I do it? Thank you, |
As far as I know, you cannot manually send a PING frame with quic-go. I think there is a field in the In general, if you want to do this yourself, you need to establish a QUIC connection and get access to the underlying UDP connection, create a PING frame from scratch (it's very easy, see in thr RFC) and then send it over the connection. Maybe there is another QUIC implementation that I don't know about which lets you send PING frames manually. Have a good day, |
Hi @kelmenhorst , Thank you so much for sharing. I shall look into it. 😄 |
Hey there,
Your project looks cool. Appreciate it 👏🏻 . I'm relatively new to golang. Can you tell me on how to send a PING frame in QUIC via golang?
Thank you in advance.
The text was updated successfully, but these errors were encountered: