Active Measurements: traceroute



Similar documents
Instructor Notes for Lab 3

Multihoming and Multi-path Routing. CS 7260 Nick Feamster January

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Troubleshooting Tools

IP addressing and forwarding Network layer

Internet Infrastructure Measurement: Challenges and Tools

Chapter 4. VoIP Metric based Traffic Engineering to Support the Service Quality over the Internet (Inter-domain IP network)

Internet (IPv4) Topology Mapping. Department of Computer Science The University of Texas at Dallas

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

pathchar a tool to infer characteristics of Internet paths

Network layer: Overview. Network layer functions IP Routing and forwarding

EECS 489 Winter 2010 Midterm Exam

Subnetting,Supernetting, VLSM & CIDR

Avaya ExpertNet Lite Assessment Tool

Network Layer: and Multicasting Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

The Joint Degree Distribution as a Definitive Metric of the Internet AS-level Topologies

Some Examples of Network Measurements

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

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

NAT and Firewall Traversal with STUN / TURN / ICE

Experimentation driven traffic monitoring and engineering research

Exterior Gateway Protocols (BGP)

8.2 The Internet Protocol

IP Routing Features. Contents

Measurement Study on the Internet reachability. 3.1 Introduction. 3. Internet Backbone

Policy Based Forwarding

Traceroute The Internet s Diagnostic Tool

Advanced Computer Networks IN Dec 2015

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Cisco IOS Flexible NetFlow Technology

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

Internet Packets. Forwarding Datagrams

Network Troubleshooting

Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Measuring Load-balanced Paths in the Internet

Sample Configuration Using the ip nat outside source static

Filtering Based Techniques for DDOS Mitigation

Using IPM to Measure Network Performance

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Internet Peering, IPv6, and NATs. Mike Freedman V Networks

Visualizations and Correlations in Troubleshooting

Question 1. [7 points] Consider the following scenario and assume host H s routing table is the one given below:

File transfer and login using IPv6, plus What to do when things don t work

Network Configuration Example

LAB THREE STATIC ROUTING

A Framework for Scalable Global IP-Anycast (GIA)

Tools for penetration tests 1. Carlo U. Nicola, HT FHNW With extracts from documents of : Google; Wireshark; nmap; Nessus.

Firewall Stateful Inspection of ICMP

Technical Support Information Belkin internal use only

Active measurements: networks. Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.

Internet Control Protocols Reading: Chapter 3

Master Course Computer Networks IN2097

What cannot be measured on the Internet? Yvonne-Anne Pignolet, Stefan Schmid, G. Trédan. Misleading stars

NQA Technology White Paper

Traceroute Anomalies

IPv6 Associated Protocols

CHAPTER 1 PRINCIPLES OF NETWORK MONITORING

Paris traceroute: Measuring more accurate and complete paths

Load Balancing. Final Network Exam LSNAT. Sommaire. How works a "traditional" NAT? Un article de Le wiki des TPs RSM.

Internet topology and performance analytics for mapping critical network infrastructure

Exercise 4 MPLS router configuration

Transport and Network Layer

Firewalking. A Traceroute-Like Analysis of IP Packet Responses to Determine Gateway Access Control Lists

HP A5820X & A5800 Switch Series Network Management and Monitoring. Configuration Guide. Abstract

An Evaluation of Peering and Traffic Engineering in the Pan- African Research and Education Network

Internet Topology. Yihua He Michalis Faloutsos University of California, Riverside. Glossary 2.

Telematics. 9th Tutorial - IP Model, IPv6, Routing

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

Chapter 11 Network Address Translation

Exam 1 Review Questions

Network Layer: Address Mapping, Error Reporting, and Multicasting

Chapter 13 Internet Protocol (IP)

04 Internet Protocol (IP)

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Routing and traffic measurements in ISP networks

Компјутерски Мрежи NAT & ICMP

Chapter 51 WAN Load Balancing

6.263 Data Communication Networks

CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012

Software Defined Networking (SDN) - Open Flow

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

Lecture 12: Link-state Routing"

Chapter 2. Literature Review

Transcription:

Active Measurements: traceroute 1

Tools: Traceroute Exploit TTL (Time to Live) feature of IP When a router receives a packet with TTL=1, packet is discarded and ICMP_time_exceeded returned to sender Operational uses: Can use traceroute towards own domain to check reachability list of traceroute servers: http://www.traceroute.org Debug internal topology databases Detect routing loops, partitions, and other anomalies Research, e.g. Internet mapping projects 2

Traceroute In IP, no explicit way to determine route from source to destination traceroute: expose intermediate routers IP(S D, TTL=1) A ICMP (A S, time_exceeded) B E F Destination D C D IP(S D, TTL=4) 3

Traceroute: Sample output <chips [ ~ ]>traceroute degas.eecs.berkeley.edu traceroute to robotics.eecs.berkeley.edu (128.32.239.38), 30 hops max, 40 byte packets 1 oden (135.207.31.1) 1 ms 1 ms 1 ms 2 * * * 3 argus (192.20.225.225) 4 ms 3 ms 4 ms ICMP disabled 4 Serial1-4.GW4.EWR1.ALTER.NET (157.130.0.177) 3 ms 4 ms 4 ms 5 117.ATM5-0.XR1.EWR1.ALTER.NET (152.63.25.194) 4 ms 4 ms 5 ms 6 193.at-2-0-0.XR1.NYC9.ALTER.NET (152.63.17.226) 4 ms (ttl=249!) 6 ms (ttl=249!) 4 ms (ttl=249!) 7 0.so-2-1-0.XL1.NYC9.ALTER.NET (152.63.23.137) 4 ms 4 ms 4 ms 8 POS6-0.BR3.NYC9.ALTER.NET (152.63.24.97) 6 ms 6 ms 4 ms 9 acr2-atm3-0-0-0.newyorknyr.cw.net (206.24.193.245) 4 ms (ttl=246!) 7 ms (ttl=246!) 5 ms (ttl=246!) 10 acr1-loopback.sanfranciscosfd.cw.net (206.24.210.61) 77 ms (ttl=245!) 74 ms (ttl=245!) 96 ms (ttl=245!) 11 cenic.sanfranciscosfd.cw.net (206.24.211.134) 75 ms (ttl=244!) 74 ms (ttl=244!) 75 ms (ttl=244!) 12 BERK-7507--BERK.POS.calren2.net (198.32.249.69) 72 ms (ttl=238!) 72 ms (ttl=238!) 72 ms (ttl=238!) 13 pos1-0.inr-000-eva.berkeley.edu (128.32.0.89) 73 ms (ttl=237!) 72 ms (ttl=237!) 72 ms (ttl=237!) 14 vlan199.inr-202-doecev.berkeley.edu (128.32.0.203) 72 ms (ttl=236!) 73 ms (ttl=236!) 72 ms (ttl=236!) 15 * 128.32.255.126 (128.32.255.126) 72 ms (ttl=235!) 74 ms (ttl=235!) 16 GE.cory-gw.EECS.Berkeley.EDU (169.229.1.46) 73 ms (ttl=9!) 74 ms (ttl=9!) 72 ms (ttl=9!) 17 robotics.eecs.berkeley.edu (128.32.239.38) 73 ms (ttl=233!) 73 ms (ttl=233!) 73 ms (ttl=233!) TTL=249 is unexpected (should be initial_icmp_ttl-(hop#-1)= 255-(6-1)=250) RTT of three probes per hop 4

Traceroute: Limitations No guarantee that every packet will follow same path Inferred path might be mix of paths followed by probe packets No guarantee that paths are symmetric Unidirectional link weights, hot-potato routing No way to answer question: on what route would a packet reach me? Reports interfaces, not routers May not be able to identify two different interfaces on the same router Topological sampling Limitation in sources and destinations Not all links can be seen, e.g. backup 5

Load balancing Per-packet load balancers may mislead traceroute Hash-based balancing will show non-existing paths to traceroute 6

Load balancing (2) Flow-level load balancers rely on grey fields to identify a flow Packet-level load balancers Paris traceroute tries to identify balanced paths by changing header values not used for balancing 7

Routing path asymmetry AS 2 AS 3 AS 1 AS 4 AS 5 Inter-domain link Intra-domain link AS 6 8

Routing path asymmetry (2) AS 2 AS 3 p AS 1 AS 4 p AS 5 Inter-domain link Intra-domain link AS 6 9

Routing path asymmetry (3) AS 2 AS 3 AS 1 AS 4 AS 5 Traffic path Inter-domain link Intra-domain link AS 6 10

Routing path asymmetry (4) AS 2 AS 3 Effect of policy AS 1 AS 4 AS 5 AS path Inter-AS edge AS 6 11

Path asymmetry Reachability does not require symmetric paths Many factors explain asymmetry Routing policies Routing defined on a per destination prefix Policies may rely on different granularities Static/default routes Many ISPs rely on static routes to compensate for routing failures Intradomain routing (hot-potato) Different entry point may mean different exit point in the network Multiple links/load balancing For different flows that share the same destination prefix, multiple paths may be used 12

IP aliasing Routers have more than one network interface How to distinguish multiple interfaces from the same router? Fingerprinting: send probe packets and infer responses come from the same router iffinder: send TCP/UDP towards unreachable port and compare source IP with ICMP reply IPID counter: increase rate in IPID as a host signature DNS Analytics: inference from topology graph Path alignment Record-route option 13

Topological sampling How much probing to sample a given network? Bias in traceroute measurements: Sources: Most paths are shared close to sources Destinations: End of paths suffer from NAT/firewalls Finding host that answer to probes is hard Graph properties: Power-law node degree Local connectivity 14

Topological sampling (2) Modeling Internet topology: Random graph or power-law? 15

Topological sampling (3) Local connectivity properties Clustering coefficient: Number of triangles: directly connected triples/ connected triples How close is the local connectivity from a clique? Assortativity Degree correlation between nodes of a given degree: Nodes of large degrees tend to connect to similar degree nodes, e.g. social networks (assortative network) Small degree nodes and large degree nodes tend to connect to each other, e.g. Internet (disassortative network) 16

Traceroute: Discussion Impact of routing dynamics Traceroute paths need to be correlated with routing data Routing is about dynamics: Internet is constantly changing Interface-level map, not router-level Inferring topological properties from traceroute data requires care Ground truth, e.g. MRINFO Topological sampling Bias in core and edge sampling Reachability Data plane and control plane do see different things Packets more happy than what routing shows 17