Comments (5)
Current deployment supports both TLS v1.2 & v1.3.
Session resumption (via session tickets) already works when the client uses TLS v1.2 (Enter Q
to quit):
openssl s_client -connect 213.188.218.85:853 -reconnect -servername max.rethinkdns.com \
-tls1_2 | grep -E "^(New|Reused)"
Session Resumption is working with TLS v1.3 too (Enter Q
to quit):
openssl s_client -connect 213.188.218.85:853 -servername max.rethinkdns.com -tls1_3 \
-sess_out /tmp/sess.pem | grep -E "^(New|Reused)"
openssl s_client -connect 213.188.218.85:853 -servername max.rethinkdns.com -tls1_3 \
-sess_in /tmp/sess.pem | grep -E "^(New|Reused)"
Session Resumption on TLS v1.2
Using Session Tickets
- NodeJS: ✔️ Works
- Session tickets are sent during handshake and reconnecting resumes session.
- Deno: ✔️ Works
Using Session IDs
Not explored
Session Resumption on TLS v1.3
- Spec: https://www.rfc-editor.org/rfc/rfc8446#section-2.2
- Sessions are not established until full handshake is complete.
Using Session Tickets (PSK)
- NodeJS ✔️ (Verified from server side too)
- Works while testing (Enter
Q
to quit):openssl s_client -connect dns.rethinkdns.localhost:10000 -sess_out /tmp/sess.pem \ | grep -E "^(New|Reused)" openssl s_client -connect dns.rethinkdns.localhost:10000 -sess_in /tmp/sess.pem \ | grep -E "^(New|Reused)"
- Two (different) session tickets are sent post handshake.
- ❓ Unsupported? nodejs/node#39691
- Works while testing (Enter
- Deno: ✔️
- Works while testing (Enter
Q
to quit):openssl s_client -connect dns.rethinkdns.localhost:10000 -sess_out /tmp/sess.pem \ | grep -E "^(New|Reused)" openssl s_client -connect dns.rethinkdns.localhost:10000 -sess_in /tmp/sess.pem \ | grep -E "^(New|Reused)"
- One session ticket is sent post handshake.
- ❓ No documentation found.
- Works while testing (Enter
- Unable to test properly due to openssl s_client bug: openssl/openssl#10714
Using Session IDs
Implementation problems...
0-RTT on TLS v1.3
- NodeJS 💀
from serverless-dns.
So, nothing to do?
from serverless-dns.
@amithm7 This is done, I guess. Commit?
from serverless-dns.
This is built-in to tls
lib of nodejs. There is a debug log here to test :
Lines 245 to 247 in bc6dc50
from serverless-dns.
session resumption was recently removed due to memory reqs: abf20c8
instead, tls (client) tickets are now valid for 7d: 20425bf and generated from the same seed across the entire fleet 0dcf5cf
from serverless-dns.
Related Issues (20)
- how te see dns logs HOT 3
- My domain
- I keep seeing Google as DNS resolver HOT 2
- Is/Will the configuration page open sourced? HOT 4
- Google as dns resolvers? HOT 1
- Auto-schedule deploys HOT 7
- Error: Could not find App "rdns-dev" with fly.io HOT 1
- Nothing works when using rethink app HOT 2
- ✘ [ERROR] Command failed with exit code 1: npm run build HOT 1
- Offset out of range ip.toString
- Cloudflare deploy Project had an error Error HOT 1
- Please change DENO_ENV to another env name HOT 2
- CF: All jobs have failed HOT 14
- Can this be configured to use an Asus Router? Can URLs be blocked? HOT 2
- basic-unbound HOT 1
- Please help HOT 1
- Certificate expired on https://max.rethinkdns.com/rec
- RethinkDNS DoH and configuration page doesn't work HOT 2
- DNS (CF wokers) not working HOT 6
- Fly.io blocklist not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-dns.