Austin Hounsel* Kevin Borgolte* Paul Schmitt*

Slides:



Advertisements
Similar presentations
Networking Problems in Cloud Computing Projects. 2 Kickass: Implementation PROJECT 1.
Advertisements

THE CASE FOR PREFETCHING AND PREVALIDATING TLS SERVER CERTIFICATES Emily Stark, Lin-Shung Huang, Dinesh Israni, Collin Jackson, Dan Boneh Presented by:
Estimating TCP Latency Approximately with Passive Measurements Sriharsha Gangam, Jaideep Chandrashekar, Ítalo Cunha, Jim Kurose.
Dynamic Adaptive Streaming over HTTP2.0. What’s in store ▪ All about – MPEG DASH, pipelining, persistent connections and caching ▪ Google SPDY - Past,
Albert Greenberg, Cheng Huang, Randy Kern, Dave Maltz, Jitu Padhye, Parveen Patel, Lihua Yuan *with help from MurariS and others in COSD.
Simulation of TCP connection over wireless links Project By: Zavhon Ran, Cohen Eran, Pilosof Saar Instructors: Dr. Dany Raz, Mr. Itai Dabran.
Architectural Impact of SSL Processing Jingnan Yao.
Microsoft Research Shujaat Hussain. Cloud Faster! Low latency web transactions …. especially important to our key online properties.
Performance Comparison of Congested HTTP/2 Links Brian Card, CS /7/
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
CS332 Ch. 28 Spring 2014 Victor Norman. Access delay vs. Queuing Delay Q: What is the difference between access delay and queuing delay? A: I think the.
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
STRENTHENING YOUR EXTERNAL DNS External DNS Overview DNS Background Strengthening External DNS with Anycast Example of an Anycast DNS Service.
Dynamic Network Emulation Security Analysis for Application Layer Protocols.
A First Look at Traffic on Smartphones Hossein Falaki Dimitrios Lymberopoulos Ratul Mahajan Srikanth Kandula Deborah Estrin.
On the Data Path Performance of Leaf-Spine Datacenter Fabrics Mohammad Alizadeh Joint with: Tom Edsall 1.
Sharing Information across Congestion Windows CSE222A Project Presentation March 15, 2005 Apurva Sharma.
Vytautas Valancius, Nick Feamster, Akihiro Nakao, and Jennifer Rexford.
Vertical Optimization Of Data Transmission For Mobile Wireless Terminals MICHAEL METHFESSEL, KAI F. DOMBROWSKI, PETER LANGENDORFER, HORST FRANKENFELDT,
Improving application layer latency for reliable thin-stream By: Joel Fichter & Andrew Sitosky Src:
Measuring and Mitigating Web Performance Bottlenecks in Broadband Access Networks Srikanth Sundaresan, Nick Feamster (Georgia Tech) Renata Teixeira (Inria)
Mitigating Routing Misbehavior in Mobile Ad Hoc Networks Sergio Marti, T.J. Giuli, Kevin.
Emir Halepovic, Jeffrey Pang, Oliver Spatscheck AT&T Labs - Research
Week 11: Application Layer 1 Web and HTTP r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,… r Web page consists.
Web Cache. What is Cache? Cache is the storing of data temporarily to improve performance. Cache exist in a variety of areas such as your CPU, Hard Disk.
Bryan Call ATS Spring Summit 2016
© Janice Regan, CMPT 128, Jan 2007 CMPT 371 Data Communications and Networking HTTP 0.
Internet Basics 10/23/2012. What is the Internet? It’s a world-wide network of computer networks. It grows hourly and involves national governments, communities,
25/09/2016 INASP: Effective Network Management Workshops Unit 6: Solving Network Problems.
Daniel, Stephen & Thomson
Week 11 - Friday CS 113.
EDNS Client Subnet (ECS) in CDN solution
Go to youtube and search “Code.org internet videos”
Peering at the Internet’s Frontier: A First Look at ISP Interconnectivity in Africa Arpit Gupta, Matt Calder, Nick Feamster, Marshini Chetty, Enrico.
VPN Joshua Turner.
Carles Gomez Universitat Politècnica de Catalunya (UPC)/Fundació i2cat
NET 536 Network Security Firewalls and VPN
IoT Integration Patterns, REST, and CoAP
HTTP and Abstraction on the Internet
HTTP AND ABSTRACTION ON THE INTERNET
Network Cost Services for Network-Aware FI Applications
H2 performance analysis
HTTP and Abstraction on the Internet
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Benchmarking SpaceWire Networks
Using MIS 2e Chapter 6 Appendix
TCP-in-UDP draft-welzl-irtf-iccrg-tcp-in-udp-00.txt
Due: a start of class Oct 26
The World Wide Web Outline Background Structure Protocols CS 640.
Multipath QUIC: Design and Evaluation
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Khiem Lam Jimmy Vuong Andrew Yang
INTERNET.
Joao Damas, Geoff Labs March 2018
Quick UDP Internet Connections
Internet Basics.
Analytics for Target (A4T) – Office Hours
ECF: an MPTCP Scheduler to Manage Heterogeneous Paths
Computer Communication & Networks
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Who is the King of the Hill? Traffic Analysis over a 4G Network
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Encrypting DNS traffic
Internet Basics Videos
was not invented by Al Gore…
DoH! Peter Van Roste GAC/ccNSO meeting - ICANN 64
Requirements of Computing in Network
Hackathon AIS’19 Measurement group DNS over HTTPS/TLS team
When to use and when not to use BBR:
The Resolvers We Use Geoff Huston APNIC.
Presentation transcript:

Analyzing the Costs and Benefits of DNS, DoT, and DoH for the Modern Web Austin Hounsel* Kevin Borgolte* Paul Schmitt* Jordan Holland* Nick Feamster† Princeton University* University of Chicago† Should I disclose that I’m also an intern at Mozilla?

DNS Privacy Has Become a Significant Concern On-path network observers can spy on traditional DNS traffic (Do53) Two protocols have been proposed to encrypt DNS traffic DNS-over-TLS (DoT) DNS-over-HTTPS (DoH) When you visit a coffee shop, every website that you visit can be seen by passive eavesdroppers. For the remainder of the talk, I will refer to plain-ol DNS as Do53. DoT was proposed in RFC 7858 in 2016. DoH was proposed in RFC 8484 in 2018. Available to use in Firefox.

Contributions Extensive performance study of Do53, DoT, and DoH Query response times Page load times Emulated network conditions Measurements from five global vantage points We performed measurements from Ohio and California, Frankfurt, Seoul, and Sydney on Amazon EC2. Each machine was configured with Debian, and they ran a measurement suite in Docker that we built. Due to time constraints, I will focus on our measurements from Frankfurt. We also show our results for Seoul in the full paper.

Unexpected Finding Despite higher response times, page load times with encrypted DNS transports can be faster than Do53

DNS Responses from Cloudflare at Frankfurt DoH outperforms Do53 in tail DoH outperforms 50% of DoT queries This is a CDF of DNS response times with each protocol. By “Default Do53”, I’m referring to the local resolver provided by Amazon EC2. It does not support DoT or DoH. Cloudflare DoH outperforms DoT for 50% of queries. Cloudflare DoH actually outperforms local Do53 and Cloudflare Do53 in the tail.

DNS Responses from Google at Frankfurt DoH outperforms Do53/DoT in tail DoH catches up to DoT Google DoH outperforms university Do53 and Google Do53 in the tail.

DNS Responses from Quad9 at Frankfurt DoH catches up to Do53 in the tail DoH outperforms DoT for almost all queries Quad9 DoH completely outperforms Quad9 DoT. Quad9 DoH catches up to Quad9 Do53 in the tail.

Takeaway: DoH Can Outperform Do53 DoH outperforms Do53 in the tail of response times Higher mean but lower variance HTTP caching of the wire format may help We also think wire-format caching generally improves DoH response times. Firefox appears to use a hard-coded transaction ID of 0 for its DoH implementation, which is recommended in RFC 8484. This enables a recursor to put the wire-format in an HTTP cache, rather than having to cache responses that differ by transaction IDs. It also means that the recursor can just pull the answer from an HTTP cache, rather than having to parse and construct a DNS response from scratch. It’s unclear how much time HTTP caching saves, but we think it’s worth exploring.

Emulated Cellular Conditions We performed measurements with emulated cellular conditions DoH and DoT are starting to be offered on phones Performance may be significantly different DoT is implemented in Android 9, and DoH is implemented in Cloudflare app (1.1.1.1) We traffic shaped our measurements with settings provided by an OpenSignal report.

Page Loads with Cloudflare at Frankfurt DoT was 1ms slower than Do53 DoH was 16ms slower than Do53 These are CDFs that show the difference in page load times between DoH, DoT, and Do53. The vertical line shows the median. Cloudflare DoT was 1ms slower than Do53. Cloudflare DoH was 20ms slower than Do53.

Page Loads with Cloudflare at Frankfurt (4G) DoT was 11ms faster than Do53 DoH was 58ms slower than Do53 We traffic shaped our network to emulate 4G traffic by adding 50s of latency and 0.5% loss, and 8ms jitter. We also shape our uplink rate to 7.44 MB/s and our downlink rate to 22.1 MB/s. For the sake of time, we do not show response time plots. They are in the full paper. DoT gets slightly faster than Do53, but DoH gets slower. It’s not clear why DoH gets slower.

Page Loads with Cloudflare at Frankfurt (Lossy 4G) DoT was 101ms faster than Do53 DoH was 33ms faster than Do53 We traffic shaped our network to emulate a lossy 4G network by adding 50ms latency, 1.5% loss, and 8ms jitter. DoT and DoH get significantly faster than Do53 on the lossy 4G network.

Page Loads with Cloudflare at Frankfurt (3G) DoT was 156ms slower than Do53 DoH was 310ms slower than Do53 Lastly, we traffic shaped our network to emulate 3G traffic by adding 150ms of latency, 2.5% loss, and 8ms jitter. We shape our uplink and downlink rates to 1 MB/s. As shown, DoT and DoH collapse on a 3G network. The link capacity may explain it, as DoT and DoH have a higher overhead than Do53.

Takeaway: TCP Helps Page Load Times TCP packets can be retransmitted after 2x RTT Timeout of Do53 is set to 5 seconds by default in Linux

Summary Measured Do53, DoT, and DoH performance from five vantage points Future work: performance analyses over diverse networks Residential ISPs