-
Notifications
You must be signed in to change notification settings - Fork 65
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
Testing 0-RTT for DoH/3 #385
Comments
Hi, The TLS session cache was missing. The following screenshot shows the Wireshark flow graph captured from my caddy reverse proxy. I am capturing traffic from the public and loopback interface. |
Thanks for looking into this and providing a fix. I do think we may want a toggle in config to turn it on rather than defaulting to it given the potential risks. Most people likely want to turn it on anyway but perhaps not everyone. |
My 2 cents: I tend to think making it default is okay, running it now close to 24 hours straight without any issues. The whole point of quic was/is 0-rtt? But having a configuration-switch would be cool anyway. |
BTW, just wondering if the "listeners" need something as well? |
Yes, both listeners are missing support for 0-RTT at the moment. |
Just added a new commit to the PR that adds the toggle. Some hours ago I changed the DoQ client to use DialEarly. |
Is it me, it seems that that the documentation says to use Documentation examples also use both, in the code it seems to be Seems inconsitent? Both are accepted in the config, but I cannot see the difference when used. See here in documentation:
Code: routedns/cmd/routedns/resolver.go Line 28 in 77da034
|
It's definitely routedns/cmd/routedns/config.go Line 62 in 77da034
One of the comments was wrong though and I just fixed that in #400 |
Hey, I had some time to further test 0-RTT with the DoH and DoQ listeners. I was able to get them both working with 62d4c81 and 7dceef5 in PR #414 For DoQ I switched to an EarlyListener and also removed the 2 second
These changes add support for 0RTT to both DoH and DoQ listeners. I did not make it configurable as it is already configurable for the client. |
I want to test the 0-RTT capabilities of the client but in my traffic captures I never see any 0-RTT packets sent out from the client.
My server is a very basic caddy file server and reverse-proxy setup to a Routedns cleartext DNS over HTTP listener.
I'm using the latest caddy version that supports 0-RTT and can see 0-RTT traffic when I connect via Chromium. But not when using the dohclient.
Are there any public DoQ / DoH servers that support 0-RTT and work with this client?
The text was updated successfully, but these errors were encountered: