The Design and Implementation of a Next Generation Name Service for the Internet Leo Bhebhe

Slides:



Advertisements
Similar presentations
Dynamic Replica Placement for Scalable Content Delivery Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy, EECS Department.
Advertisements

Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
Scalable Content-Addressable Network Lintao Liu
Sergei Komarov. DNS  Mechanism for IP hostname resolution  Globally distributed database  Hierarchical structure  Comprised of three components.
TAP: A Novel Tunneling Approach for Anonymity in Structured P2P Systems Yingwu Zhu and Yiming Hu University of Cincinnati.
Building web applications on top of encrypted data using Mylar Presented by Tenglu Liang Tai Liu.
Storage management and caching in PAST, a large-scale, persistent peer-to-peer storage utility Antony Rowstron, Peter Druschel Presented by: Cristian Borcea.
Corona: A High Performance Publish-Subscribe System for the World Wide Web Authors: V. Ramasubramanian, R. Peterson and E.G. Sirer Cornell University Presenter:
1 1 Chord: A scalable Peer-to-peer Lookup Service for Internet Applications Dariotaki Roula
A Peer-to-Peer DNS Ilya Sukhar Venugopalan Ramasubramanian Emin Gün Sirer Cornell University.
Information-Centric Networks03c-1 Week 3 / Paper 3 The design and implementation of a next generation name service for the Internet –Venugopalan Ramasubramanian.
Beehive: Achieving O(1) Lookup Performance in P2P Overlays for Zipf-like Query Distributions Venugopalan Ramasubramanian (Rama) and Emin Gün Sirer Cornell.
Computer Networks: Domain Name System. The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses Vacation.
Small-world Overlay P2P Network
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
Applications over P2P Structured Overlays Antonino Virgillito.
FRIENDS: File Retrieval In a dEcentralized Network Distribution System Steven Huang, Kevin Li Computer Science and Engineering University of California,
P2P: Advanced Topics Filesystems over DHTs and P2P research Vyas Sekar.
Secure routing for structured peer-to-peer overlay networks (by Castro et al.) Shariq Rizvi CS 294-4: Peer-to-Peer Systems.
Flash Crowds And Denial of Service Attacks: Characterization and Implications for CDNs and Web Sites Aaron Beach Cs395 network security.
Chord-over-Chord Overlay Sudhindra Rao Ph.D Qualifier Exam Department of ECECS.
Squirrel: A decentralized peer- to-peer web cache Paul Burstein 10/27/2003.
Worm Defense. Outline  Internet Quarantine: Requirements for Containing Self-Propagating Code  Netbait: a Distributed Worm Detection Service  Midgard.
Or, Providing High Availability and Adaptability in a Decentralized System Tapestry: Fault-resilient Wide-area Location and Routing Issues Facing Wide-area.
Wide-area cooperative storage with CFS
Improving Data Access in P2P Systems Karl Aberer and Magdalena Punceva Swiss Federal Institute of Technology Manfred Hauswirth and Roman Schmidt Technical.
Internet Quarantine: Requirements for Containing Self-Propagating Code David Moore et. al. University of California, San Diego.
 Structured peer to peer overlay networks are resilient – but not secure.  Even a small fraction of malicious nodes may result in failure of correct.
Domain Name System Security Extensions (DNSSEC) Hackers 2.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
Storage management and caching in PAST PRESENTED BY BASKAR RETHINASABAPATHI 1.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
Distributed Data Stores – Facebook Presented by Ben Gooding University of Arkansas – April 21, 2015.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Computer Networks: Domain Name System. The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses Vacation.
PIC: Practical Internet Coordinates for Distance Estimation Manuel Costa joint work with Miguel Castro, Ant Rowstron, Peter Key Microsoft Research Cambridge.
SCAN: a Scalable, Adaptive, Secure and Network-aware Content Distribution Network Yan Chen CS Department Northwestern University.
Thesis Proposal Data Consistency in DHTs. Background Peer-to-peer systems have become increasingly popular Lots of P2P applications around us –File sharing,
SAINT ‘01 Proactive DNS Caching: Addressing a Performance Bottleneck Edith Cohen AT&T Labs-Research Haim Kaplan Tel-Aviv University.
Cooperative File System. So far we had… - Consistency BUT… - Availability - Partition tolerance ?
CH2 System models.
Overcast: Reliable Multicasting with an Overlay Network CS294 Paul Burstein 9/15/2003.
1 Distributed Hash Tables (DHTs) Lars Jørgen Lillehovde Jo Grimstad Bang Distributed Hash Tables (DHTs)
Security Michael Foukarakis – 13/12/2004 A Survey of Peer-to-Peer Security Issues Dan S. Wallach Rice University,
ECO-DNS: Expected Consistency Optimization for DNS Chen Stephanos Matsumoto Adrian Perrig © 2013 Stephanos Matsumoto1.
Storage Management and Caching in PAST A Large-scale persistent peer-to-peer storage utility Presented by Albert Tannous CSE 598D: Storage Systems – Dr.
Perils of Transitive Trust in the Domain Name System Chen Xi Chen Xi.
An IP Address Based Caching Scheme for Peer-to-Peer Networks Ronaldo Alves Ferreira Joint work with Ananth Grama and Suresh Jagannathan Department of Computer.
Paper Survey of DHT Distributed Hash Table. Usages Directory service  Very little amount of information, such as URI, metadata, … Storage  Data, such.
How to use DNS during the evolution of ICN? Zhiwei Yan.
Freenet “…an adaptive peer-to-peer network application that permits the publication, replication, and retrieval of data while protecting the anonymity.
Plethora: Infrastructure and System Design. Introduction Peer-to-Peer (P2P) networks: –Self-organizing distributed systems –Nodes receive and provide.
A Comparative Study of the DNS Design with DHT-Based Alternatives 95/08/31 Chen Chih-Ming.
DNS Security Extension 1. Implication of Kaminsky Attack Dramatically reduces the complexity and increases the effectiveness of DNS cache poisoning –No.
Information-Centric Networks Section # 3.3: DNS Issues Instructor: George Xylomenos Department: Informatics.
Network Layer (OSI and TCP/IP) Lecture 9, May 2, 2003 Data Communications and Networks Mr. Greg Vogl Uganda Martyrs University.
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
LOOKING UP DATA IN P2P SYSTEMS Hari Balakrishnan M. Frans Kaashoek David Karger Robert Morris Ion Stoica MIT LCS.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Large Scale Sharing Marco F. Duarte COMP 520: Distributed Systems September 19, 2004.
The Design and Implementation of a Next Generation Name Service for the Internet V. Ramasubramanian, E. Gun Sirer Cornell Univ. SIGCOMM 2004 Ciprian Tutu.
TRUST Self-Organizing Systems Emin G ü n Sirer, Cornell University.
John S. Otto Mario A. Sánchez John P. Rula Fabián E. Bustamante Northwestern, EECS.
Content Distribution Networks
Plethora: Infrastructure and System Design
Providing Secure Storage on the Internet
Content Distribution Networks
AWS Cloud Computing Masaki.
NET 536 Network Security Lecture 8: DNS Security
Presentation transcript:

The Design and Implementation of a Next Generation Name Service for the Internet Leo Bhebhe

Contents Introduction Name Servers and Name Resolution Current Issues With Domain Name System (DNS) Cooperative Domain Name System (CoDoNS) Performance measurements Summary/Conclusions

Introduction Analysis of the current Domain Naming System (DNS) and looks at the limitations of the DNS structure, bottlenecks and performance issues Proposal of a new Cooperative Domain Naming System (CoDoNS) to replace the old Domain Name System (DNS)Cooperative Domain Name System (CoDoNS) SlowHigh lookup performance through proactive caching Vulnerable to denial of service (DoS) attacks Resilience to denial of service attacks through automatic load-balancing Does not support fast updatesFast propagation of updates

Name Servers and Name Resolution cs.vu.nl edu.server.net yale.edu cs.yale.edu VU CS Edu Yale Yale CS Originator name server name server name server name server flits.cs.vu.nl

Current Issues With Domain Name System (DNS) Network failures Susceptible to denial of service attacks (DoS) Small number of nameservers serve domains, limited redundancy in name servers At network level  80% of domain names are served by just two servers  0.8% by one  32 servers are connected to the internet by a single gateway (serious outage or DoS) At top level hierarchy  Small number of servers (targets for DoS)  Recent DoS attack severely affected the availability of Microsoft's web services for hrs. Checked by performing trace routes to different nameservers which serve 5000 randomly chosen names from 50 global distributed sites on Planetlab

Current Issues With Domain Name System (DNS) Network failures Failure Resilience-Implimentation Errors 20% of name server implementations contains security flaws 18% of servers don’t respond to version querries 14% do not report valid BIND versions 2% of the nameservers have the tsig bug which permits a buffer to overflow that can enable malicious agents to gain access to the system 19% of the servers have the negache problem that can be exploited to launch the DoS attack by providing negative responses with large TTL value from a malicious server Checked by surveying servers based on the Berkely Internet Name Daemon (BIND) to see if any known vulnerabilities are available

Current Issues With Domain Name System (DNS) Performance - System Latency makes it unsuitable for dynamic updates. Name address translation in the DNS incurs long delays. The legacy DNS incorporates aggressive caching in order to reduce latency of query resolution But explosive growth of namespace has decreased the effectiveness of caching Short timeouts (TTL)-reduces DNS cache hit rates Increase in load imbalance - at root and TLD nameservers handle a large load Configuration error such as broken (lame) or inconsistance delegations - can introduce latent performance problems Update propagation-Large scale caching -maintaining the consistance of cached records in the presence of dynamic change (TTL?)

Cooperative Domain Name System (CoDoNS) CoDoNS derives its performance characteristics from a proactive caching layer called Beehive Automatically replicates the DNS mappings throughout the network to match anticipated demand and provides a strong performance guarantee. Achieves a targeted average lookup latency with a minimum number of replicas Beehive is a proactive replication framework that enables prefix-matching DHTs to achieve O(1) lookup performance Pastry and Tapestry are examples of structured DHTs that use prefix-matching to look up objects Example If the identity of the record is e.g , Pastry would store the value in the host with the identity closest to that (the home node) If proactive caching is used for one level, then the record is copied to all hosts whose identity begins with 11001* and For level 2, 1100** etc. The home node receives periodically information about the usage of the record and makes decisions on how many levels to cache the record. Thus most often used records can be disseminated to almost all nodes while rarely used can be stored in relatively few places

Cooperative Domain Name System (CoDoNS) Replicating every object at every node would achieve O(1) lookups BUT would Incur excessive space overhead Consume significant bandwidth Lead to large update latencies Beehive minimize bandwidth by posing the following optimising problem Minimize the total number of replicas subject to constraint that the aggregate looup latency less than a desired constant C For power law (or Zipf-like) query distributions, Beehive analytically derives the optimal closed solution to this problem. The final expression that minimizes the total number of replicas for Zipf-like query with parameter ά<1 is the following b is the base of the underlying DHT, Xi is the fraction of most popular objects that get replicated at level I Selecting the appropiate C enables applications to achieve any targeted average. lookup latency

Cooperative Domain Name System (CoDoNS) CoDoNS architecture Consists of globally distributed nodes that self organise to form a peer-to-peer network CoDoNS associates the node whose identifier is closest to the consistent hash of the domain name as the home node for that domain name The home node stores a permanent copy of the resource records owned by that domain name and manages their replication If the home node fails, the closest node in the identifier space automatically becomes the new home node CoDoNS replicates all records of several nodes adjacent to the home node in the identifier space in order to avoid data loss due to node failures It can serve as a backup for legacy DNS, as well as a complete replacement

CoDoNS Deployment and The Process of Query Qesolution Clients send DNS quiries to the local CoDoNS server The local CoDoNS server obtains records from the home node or an intermediate node The local CoDoNS server then responds to the client In the background, the home node interacts with the legacy DNS to keep records fresh and propagate updates to cached copies

Issues and Implications CoDoNS uses crypto-graphic delegations and self-verifying records based on the DNSSEC standard. DNSSEC uses public key cryptography to enable authentication of resource records. Every namespace operator has a public-private key pair The private key is used to digitally sign DNS records managed by that operator The corresponding public key is in turn certified by a signature from a domain higher up in the hierarchy. The signature and the public key are stored in DNS as resource records of type sig and key respectively. The use of cryptographic certificates enables any client to check the verity of a record independently, and keeps peers in the network from forging certificates. To speed up certificate verification, CoDoNS servers cache the certificates along with the resource records and provide them to the clients.

Cumulative Distribution of Look Up Latency CoDoNs achieves low latencies for name resolution More than 50% of quries incur no network delay as they are answered from the local CoDoNS cache This is because proactive replication pushes responses for the most popular domain names to all CoDoNS servers

Median latency CoDoNS latency decreases significantly as proactive caching takes effect in the background Initially, CoDoNS servers have an empty cache and redirect most of the queries to legacy DNS. Consequently, they incur higher latencies than the legacy DNS. But as resource records are fetched from legacy DNS and replication in the background pushes records to other CoDoNS servers, the latency decreases significantly.

Median resolution lookup latency in CoDoNS Flash crowd is introduced at 6 hours CoDoNS detects the flash crowd quickly and adapts to the amount of caching to counter it while continuing to provide high performance Beehive’s proactive replication in the background detects the changes in popularity, adjusts the number of replicas, and decreases the lookup latency.

Load Balance CoDoNs handles flash-crowds by balancing the quiery load uniformly across node The graph shows the standard deviation to the mean across all nodes At the start of the experiment, the query load is highly unbalanced, since home nodes of popular domain names receive far greater number of queries than average. The imbalance is significantly reduced as the records for popular domains get replicated in the system. Even when a flash-crowd is introduced at the six hour mark, dynamic changes in caching keep the load balanced after a temporary increase in load variance. quantifying load balancing using

Update Propagation Time CoDoNS incurs low latencies for propagation updates. 98% of replicas get updated within one second It takes a few seconds longer to update some replicas due to high variance in network delays and loads at some hosts. The latency to update 99% of replicas one hop from the home node is about one second. Overall, update propagation latency in CoDoNS depends on the extent of replication of records

Summary/Conclusions Performance measurements from a planetary-scale deployment against a real workload indicate that CoDoNS can provide low latencies for query resolution. Massive replication for the most popular records, but a modest number of replicas per server, achieves high performance with low overhead. Eliminating the static query processing hierarchy and shedding load dynamically onto peer nodes greatly decreases the vulnerability of CoDoNS to denial of service attacks. Self organization and continuous adaptation of replication avoids bottlenecks in the presence of flash crowds. Proactive update propagation ensures that unanticipated changes can be quickly disseminated and cached in the system Cooperative Domain Name System (CoDoNS) is proposed as an alternative for DNS