Operational Problems in IPv6: Fallback and DNS issues



Similar documents
Clear and Present Danger Increase in Number of DNS AAAA Queries

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12

How do I get to

Use Domain Name System and IP Version 6

DNS ActiveX Control for Microsoft Windows. Copyright Magneto Software All rights reserved

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Domain Name System (DNS) Fundamentals

Installing and Setting up Microsoft DNS Server

Application-layer protocols

Copyright

IPv6 Support in the DNS. Workshop Name Workshop Location, Date

DNS Resolving using nslookup

The Use of DNS Resource Records

How to Add Domains and DNS Records

Networking Domain Name System

netkit lab dns Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version Author(s)

- Domain Name System -

Application Protocols in the TCP/IP Reference Model

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

LAN TCP/IP and DHCP Setup

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Concept. DNS - Domain Name System

How To Connect To Bloomerg.Com With A Network Card From A Powerline To A Powerpoint Terminal On A Microsoft Powerbook (Powerline) On A Blackberry Or Ipnet (Powerbook) On An Ipnet Box On

Inbound Load Balance. User Manual

Introduction to Network Operating Systems

IPv6 support in the DNS

IPv6 Tunneling Over IPV4

Non-authoritative answer: home.web.cern.ch canonical name = drupalprod.cern.ch. Name: drupalprod.cern.ch Address:

DNS Conformance Test Specification For Client

Network Layers. CSC358 - Introduction to Computer Networks

Networking Domain Name System

Introduction to DNS CHAPTER 5. In This Chapter

DNS & IPv6. Agenda 4/14/2009. MENOG4, 8-9 April Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, DNS & IPv6.

DNS Basics. DNS Basics

Lecture 2 CS An example of a middleware service: DNS Domain Name System

DNS. Computer Networks. Seminar 12

what s in a name? taking a deeper look at the domain name system mike boylan penn state mac admins conference

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Configuration Notes 0215

Configuring your network settings to use Google Public DNS

Chapter 4 Firewall Protection and Content Filtering

Troubleshooting Tools

DNS and Interface User Guide

Lesson 13: DNS Security. Javier Osuna GMV Head of Security and Process Consulting Division

Chapter 3 Restricting Access From Your Network

WARP 3.0 Table of Contents

Global Server Load Balancing (GSLB) Concepts

IPv6-only hosts in a dual stack environnment

Chapter 2 Connecting the FVX538 to the Internet

Enterprise Architecture Office Resource Document Design Note - Domain Name System (DNS)

Parallels Plesk Panel User Guide

Basic IPv6 WAN and LAN Configuration

Transport and Network Layer

How To Guide Edge Network Appliance How To Guide:

CS3250 Distributed Systems

IPv4 and IPv6 Integration. Formation IPv6 Workshop Location, Date

Security of IPv6 and DNSSEC for penetration testers

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

Virtual Private Networks

Looking for Trouble: ICMP and IP Statistics to Watch

Internet-Praktikum I Lab 3: DNS

Domain Name System (DNS)

Internet Guide. Prepared for 55 John Street

Network Security. Chapter 3. Cornelius Diekmann. Version: October 21, Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik

Glossary of Technical Terms Related to IPv6

ECE 4321 Computer Networks. Network Programming

DNS Domain Name System

Section 1 Overview Section 2 Home... 5

Actiontec GT784WN Router

IPv6 for AT&T Broadband

Description: Objective: Attending students will learn:

Lecture 2-ter. 2. A communication example Managing a HTTP v1.0 connection. G.Bianchi, G.Neglia, V.Mancuso

Static Business Class HSI Basic Installation NETGEAR 7550

Appendix D: Configuring Firewalls and Network Address Translation

I've applied for a goipv6 account and received my password via but I cannot log into my account. What should I do?

How to set up the Integrated DNS Server for Inbound Load Balancing

The Domain Name System (DNS)

Akamai CDN, IPv6 and DNS security. Christian Kaufmann Akamai Technologies DENOG 5 14 th November 2013

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

Discovering IPv6 with Wireshark. presented by Rolf Leutert

Chapter 4 Restricting Access From Your Network

Initial Access and Basic IPv4 Internet Configuration

This Lecture. The Internet and Sockets. The Start If everyone just sends a small packet of data, they can all use the line at the same.

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Lab - Observing DNS Resolution

Tunnel Client FAQ. Table of Contents. Version 0v5, November 2014 Revised: Kate Lance Author: Karl Auer

DNS : Domain Name System

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. SEED Labs Local DNS Attack Lab 1

AusCERT Remote Monitoring Service (ARMS) User Guide for AusCERT Members

Transcription:

Operational Problems in : Fallback and DNS issues Tomohiro Fujisaki, Arifumi Matsumoto, Katsuyasu Toyama,Tsuyoshi Toyono and Shirou Niinobe Nippon Telegraph and Telephone Corporation

Network problems associated with Today, is widely used Many operating systems and routers support without any additional software. Anyone can use I ll introduce two problems with / fallback problem Described in section 4 at http://www.v6fix.net/docs/wide-draft-v6fix.en DNS cache server problem Information Sharing Platform Laboratories 2

What is -to- fallback? Many current / dual- operating systems start their communication using. If destination has both ipv4 and ipv6 address, end host first tries ipv6. And if it fails, then tries ipv4. Host Host / Internet Web Web server server X X DNS records A and AAAA Host Host Host Host Tries first and if it fails, tries fallback Web Web server server Y Y Web Web server Z server Z A and AAAA Information Sharing Platform Laboratories 3 A

/ fallback problem Problem is especially significant in TCP-based applications. They initially need to establish communication channels If destination node has multiple IP addresses, application tries them sequentially until TCP communication channel is established. User s view Problem: Fallback sometimes takes a long time. User has to wait until communication is finished until web page is displayed completely. Over 20 seconds click! Information Sharing Platform Laboratories 4

Where does fallback problem occur? Host Host v4/v6 User Network v4 Poor connectivity. v4/v6 Internet Using unmanaged transition mechanism Web Web server server Z Z Destination server has AAAA records, but no connectivity No global connectivity (e.g., VPNs and networks using ULA) A and AAAA Information Sharing Platform Laboratories 5

Node behavior to network faults Networks should notify to end hosts that there is no route to the destination node, and end hosts should fall back from ipv6 to ipv4 according to the notification. ICMPv6 Type1: Destination Unreachable Host Host v4/v6 v4 v4/v6 Web Web server server Z Z A and AAAA User Network ICMPv6 Internet Information Sharing Platform Laboratories 6

Fallback experiment We tested various operating systems fallback behavior under following situations: No errors are reported by the network (1) Timeout of connection Errors are reported by the network (2) ICMP errors Mainly `ICMP destination unreachable message Force to fall back (3) TCP RST not legitimate solution?? Information Sharing Platform Laboratories 7

Fallback experimental setup Measuring time required to fall back from to at client PC when: No response from network ICMPv6 destination unreachable returned no route to dest administratively prohibited address unreachable port unreachable TCP RST returned A and AAAA records registered Returning ICMPv6 destination unreachable or TCP reset responding to the TCP connection setup / dual- node with both connectivities Using web browser to check client behavior HTTP server / network Router Client PC Information Sharing Platform Laboratories 8

Results of experiments unit: seconds OS Browser No Error Code=0 Code=1 Type=1(Destination Unreachable) Code=2 Code=3 Code=4 Code=5 Code=6 TCP reset Windows Vista Home Basic IE FireFox 19.99 21.00 21.00 21.00 20.99 21.00 21.00 21.00 20.99 20.99 20.99 20.99 20.99 20.99 20.99 20.99 1.01 1.01 Windows Vista Enterprise IE FireFox 21.06 20.99 21.00 21.00 20.99 20.99 21.00 20.99 20.99 21.00 21.00 21.00 21.01 20.99 21.00 21.00 1.01 1.00 Mac OSX (10.4.8 8L2127) Safari FireFox 74.79 74.91 11.80 11.61 11.83 11.73 17.37 11.70 11.68 No fallback 11.75 11.63 74.86 74.79 74.89 74.77 0.01 0.01 FreeBSD (R6.2-#p1) FireFox 74.99 12.61 12.61 12.69 No fallback 12.61 74.99 74.99 0.01 Fedora Core 6 (kernel-2.6.20) FireFox 188.98 0.01 0.01 0.01 0.01 0.0.1 No fallback No fallback 0.01 Time between first TCP SYN packet and TCP SYN packet immediately after fallback occurs. IE Version:7.0.6000.16386 Firefox version:2.0.0.1 Safari version :2.0.4 Code=0: no route to destination [RFC2463] Code=1: communication with destination administratively prohibited [RFC2463] Code=2: beyond scope of source address [RFC4443] Code=3: address unreachable [RFC2463] Code=4: port unreachable [RFC2463] Code=5: source address failed ingress/egress policy [RFC4443] Code=6: reject route to destination [RFC4443] Information Sharing Platform Laboratories 9

TCP behavior when ICMP errors are returned When node receives ICMP error packets, TCP behavior is defined in RFC 1122 (for ICMP only). When node receives an ICMP hard error, TCP aborts connection immediately. When node receives ICMP soft error, TCP must not abort connection. Currently, ICMPv6 destinationunreachable error handling is different in each OS. The draft-ietf-tcpm-tcp-soft-errors proposes version of ICMPv6 soft error handling. Information Sharing Platform Laboratories 10

Summary of / fallback problem In -and- enabled network, quality of each network affects the user s nodes. If quality (e.g. reachability) of the network is clearly bad, administrators should control communication by: Changing protocol preference using RFC3484 mechanism Returning TCP RST to minimize fallback time Information Sharing Platform Laboratories 11

DNS cache server issue: Increase in Number of DNS AAAA Queries This topic was presented by T. Toyono at 2006 OARC Member Workshop http://public.oarci.net/oarc/workshop- 2006/agenda/

Focus on User-Cache DNS queries, not on Cache-Authoritative queries increase in number of queries between users and cache servers caused by 1. support Number of AAAA queries same as that of A queries 2. Domain name completion Domain name completion by operating system (API), and by applications 3. These Combinations Sequence of queries Today s focus Query Query User OS User (resolver) OS User (resolver) OSs (resolvers) -transport Cache Servers Authoritative Name Servers Authoritative Name Servers Authoritative Name Servers Information Sharing Platform Response Laboratories 13 Response

(1) -enabled OS increases DNS queries

1. and OS Resolver -enabled OSs ask for both A and AAAA resource records A query = name resolution AAAA query = name resolution Sends both A and AAAA queries for every name resolution Currently, almost no application specifies DNS Query Type ; therefore, OS sends both Information Sharing Platform Laboratories 15

(2) Domain name completion increases DNS queries

2. Domain Name Completion When a name resolution fails, both OS and APP automatically resolve the domains with prefix/suffix completion e.g., when name resolution of host failed host.com host.org host.net... OS using these domains to complete: FreeBSD: specified by search domain in /etc/resolv.conf and distributed via DHCP Windows: configured in control panel and distributed via DHCP Applications: Mozilla: retries name resolution for a domain by adding www. domain prefix IE6: using MSN search, then adds a domain suffix ".com" ".net" ".org" and ".edu" Information Sharing Platform Laboratories 17

(3) Combination of (1) and (2)

Combination in FreeBSD Sequence Sends A query first, then AAAA query Domain Completion Tries domain completions for every set of A+AAAA address Sends AAAA queries even if it doesn t have an address (Ex) User Query: noexist-example.com A noexist-example.com If address is resolved, AAAA noexist-example.com A noexist-example.com.com stop here. AAAA noexist-example.com.com A noexist-example.com.net AAAA noexist-example.com.net... Information Sharing Platform Laboratories 19

Combination in Linux Tries AAAA queries for all domain completions, then A queries with domain completions address Sends AAAA queries even if it doesn t have an address (Ex) User Query: noexist-example.com AAAA noexist-example.com AAAA noexist-example.com.com AAAA noexist-example.com.net Even if domain has A noexist-example.com addresses, A noexist-example.com.com first, AAAA queries are A noexist-example.com.net... sent. Information Sharing Platform Laboratories 20

Combination in Windows Vista (before β2 Build5270) Tries AAAA queries for all domain completions, then tries A queries with domain completions Same as Linux (kernel 2.6.15) behavior address Sends AAAA queries even if it doesn t have an address (Ex) User Query: noexist-example.com AAAA noexist-example.com AAAA noexist-example.com.com AAAA noexist-example.com.net Even if domain has A noexist-example.com addresses, A noexist-example.com.com first, AAAA queries are A noexist-example.com.net... sent. Information Sharing Platform Laboratories 21

Windows Vista (β2 Build5270)+IE7.0(at the time) OS domain completion IE tried MSN search IE added.com and OS domain completion IE added.net and OS domain completion IE added.org and OS domain completion IE added.edu and OS domain completion Information Sharing Platform Laboratories IE tried MSN search again 22

Our alert report and MS response NANOG36 (2006/2) We reported this behaviors (Vista β) and alerted increase in number of DNS queries NANOG38 (2006/10) Abolade Gbadegesin@Vista Internet Protocols team The NetIO Stack in Windows Vista: Functionality and Deployment NTT Labs: NANOG36 report with preliminary analysis based on Windows Vista In his slides: Deployments of new behavior are best undertaken as joint efforts between host software vendors and public network operators Reference: NANOG36 Clear and Present Increase of AAAA Queries NANOG38 The NetIO Stack in Windows Vista: Functionality and Deployment Information Sharing Platform Laboratories 23

Combination in Windows Vista Status in Vista DNS sends A query first, follows up with AAAA only to servers that have some info, then stops Vista doesn t send AAAA queries if the only global addresses We appreciate this change by Microsoft! Reference: NANOG38 The NetIO Stack in Windows Vista: Functionality and Deployment Information Sharing Platform Laboratories 24

Windows Vista + IE 7.0.5744.16384 NX-Domain Sends A query first, and answer is NX- Domain, stops sending AAAA query Doesn t try domain name completions User query none.nttv6.net (NX) Recieves NX Domain, so doesn t send AAAA query Information Sharing Platform Laboratories 25

Windows Vista (RC2 Build5744) + IE 7.0.5744.16384 No Answer sends A query first, and answer is No Answer, then sends AAAA query Doesn t try domain name completions Application displays Not found: nttv6.net page User query nttv6.net (NoAnswer) OS send A > AAAA queries pair Information Sharing Platform Laboratories 26

Results FreeBSD Linux MacOS X Vista (β) Vista A & AAAA A first AAAA first A first AAAA first A first query sequence order When does domain name completion occur? After A+AAAA All AAAA completion first, then A After A+AAAA All AAAA completion first, then A No completion Send AAAA queries Yes Yes No Yes No even if no addresses assigned Linux sends AAAA queries first Linux sends all suffix completions of AAAA first, then A FreeBSD, Linux and old Vista send AAAA queries even if don t have reachability Now, if Vista doesn t have address, they don t send AAAA queries Information Sharing Platform Laboratories 27

Network environment factors

Network environment factors for query increase Number of end users who have addresses Some OSs send AAAA queries even if they don t have reachability Such as FreeBSD, Linux Others factors If the answer was NX-Domain Has A Resource Record, but doesn t have AAAA Resource Record Domain suffix distribution to users by DHCP Information Sharing Platform Laboratories 29

Number of end users who have addresses environment in Japan Many ISPs already provide connectivity services to end users e.g., NTT, Yahoo, IIJ, KDDI, and nifty, for example (The market share of these large ISPs is about 60-70% of all broadband users) ISPs use for their streaming services and IPphone services, for example. Global addresses are assigned to end hosts Vista will send AAAA queries Information Sharing Platform Laboratories 30

Share of large ISP s DNS cache queries, from users (2006/10 one day total) AAAA 4% CNAME 0% NS 0% PTR 20% MX 10% SOA SRV ANY other 1% 1% 1% 2% A 61% A PTR NS CNAME AAAA MX SOA SRV ANY other Information Sharing Platform Laboratories 31

Expected increase in number of user queries Number of queries If a number of -enabled end users increases, a number of AAAA queries will increase A AAAA MX A AAAA MX A other TXT SRV ANY A6 AAAA CNAME SOA NS PTR MX A Before Netsky (2004/2) Now (2006) after OSs Information Sharing Platform Laboratories 32

Conclusion If a number of -enabled end users increases, a number of AAAA queries will increase The number of query increase depends on -enabled OSs and Applications implementation Some OSs send AAAA queries even if hasn t reachability As for Vista, the impact was minimized We have to prepare increase in number of DNS queries Cache servers should be prepared for those increases Large ISPs Cache servers (that use load balancing) would be better off preparing for those increases Preparing authoritative servers for increases would be better Is current search order of resolvers & applications appropriate? Should transport DNS be used? Information Sharing Platform Laboratories 33

Thank you.