broad and load-aware anycast mapping with verfploeter and load-aware... · before calibration after...

41
BROAD AND LOAD-AWARE ANYCAST MAPPING WITH VERFPLOETER WOUTER B. DE VRIES, RICARDO DE O. SCHMIDT, WES HARDAKER, JOHN HEIDEMANN, PIETER-TJERK DE BOER AND AIKO PRAS London - November 3, 2017

Upload: others

Post on 12-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

BROAD AND LOAD-AWARE ANYCAST MAPPING WITH VERFPLOETER

WOUTER B. DE VRIES, RICARDO DE O. SCHMIDT, WES HARDAKER,

JOHN HEIDEMANN, PIETER-TJERK DE BOER AND AIKO PRAS

London - November 3, 2017

Page 2: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

2

INTRODUCTION

Anycast site

User

Page 3: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

2

INTRODUCTION

Users are routed to a

(potentially) nearby site

Anycast site

User

Page 4: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

2

INTRODUCTION

Users are routed to a

(potentially) nearby site

The set of clients that reach a site

define that sites catchment

Anycast site

User

Page 5: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

2

INTRODUCTION

Users are routed to a

(potentially) nearby site

The set of clients that reach a site

define that sites catchment

Catchments are often messy and not divided

into neat geographic areas

Anycast site

User

Page 6: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Peering agreements, Transits and BGP policies influence the routing process.

You don’t know where a client from a certain prefix will be routed until he is routed there.

ACM Internet Measurement Conference 2017

3

INTRODUCTION

Page 7: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Peering agreements, Transits and BGP policies influence the routing process.

You don’t know where a client from a certain prefix will be routed until he is routed there.

ACM Internet Measurement Conference 2017

3

INTRODUCTION

Suboptimal routing can lead to severely

degraded performance, in terms of RTT,

load balancing and resilience

Page 8: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

4

DETERMINING CATCHMENT - TODAY

• Analyze log files

• Only if you have them

• Use active probing (e.g. RIPE Atlas)

• Requires VPs at many locations

Page 9: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

4

DETERMINING CATCHMENT - TODAY

• Analyze log files

• Only if you have them

• Use active probing (e.g. RIPE Atlas)

• Requires VPs at many locations

NL: 563 VPs

Page 10: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

4

DETERMINING CATCHMENT - TODAY

• Analyze log files

• Only if you have them

• Use active probing (e.g. RIPE Atlas)

• Requires VPs at many locations

NL: 563 VPs China: 19 VPsBrazil: 63 VPs

Page 11: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

• Develop a method to accurately map anycastcatchments

• Without requiring input from users

• “Calibrate” the anycast catchment to the actual client base of the service

ACM Internet Measurement Conference 2017

5

GOALS

Page 12: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

6

VERFPLOETER: METHODOLOGYACTIVE MEASUREMENT WITH “PASSIVE” VANTAGE POINTS

Anycast sites

Vantage points

Page 13: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

6

VERFPLOETER: METHODOLOGYACTIVE MEASUREMENT WITH “PASSIVE” VANTAGE POINTS

Send out ICMP Echo Requests

Anycast sites

Vantage points

Page 14: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

6

VERFPLOETER: METHODOLOGYACTIVE MEASUREMENT WITH “PASSIVE” VANTAGE POINTS

Anycast sites

Vantage points

ICMP Echo Replies are

routed towards “nearest”

anycast site

Page 15: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

6

VERFPLOETER: METHODOLOGYACTIVE MEASUREMENT WITH “PASSIVE” VANTAGE POINTS

Anycast sites

Vantage points

This defines the

catchment that each

VP belongs to

Page 16: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ICMP-responding IPv4 or IPv6 addresses

We use a recent IPv4 hitlist from USC/ISI:

https://ant.isi.edu/datasets/ip_hitlists/

1 IPv4 address per /24 block: 14.7 million addresses

6.3 million after removing those in which there was never a responding host

ACM Internet Measurement Conference 2017

7

WHAT ARE THE PASSIVE VPS

1.0.0.0/24 – 1.0.0.571.0.1.0/24 – 1.0.1.851.0.2.0/24 – 1.0.2.41.0.3.0/24 – 1.0.3.204

Page 17: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

• The B Root DNS

• Anycast since 1st of May 2017

• 2 anycast sites

• Our anycast testbed

• 9 anycast sites

Measured catchment using both Atlas and Verfploeter

ACM Internet Measurement Conference 2017

8

USING VERFPLOETER: TWO CASE STUDIES

Page 18: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

9

FROM ATLAS TO VERFPLOETERB-ROOT CASE STUDY

Atlas Verfploeter

/24 blocks seen 8,677 (of 9083) 3,786,907 (of 6,877,175)

Geolocatable 8,677 3,786,229

Unique 2,079 3,606,300

Geolocated using

MaxMind GeoLite2

Page 19: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

10

FROM ATLAS TO VERFPLOETERB-ROOT CASE STUDY

Note scale

Page 20: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

10

FROM ATLAS TO VERFPLOETERB-ROOT CASE STUDY

Note scaleEach “dot” is

a pie chart

Page 21: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Note scale

ACM Internet Measurement Conference 2017

11

FROM ATLAS TO VERFPLOETERB-ROOT CASE STUDY

Atlas scale

Page 22: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Note scale

ACM Internet Measurement Conference 2017

11

FROM ATLAS TO VERFPLOETERB-ROOT CASE STUDY

Atlas Verfploeter

Atlas scale

Page 23: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Note scale

ACM Internet Measurement Conference 2017

11

FROM ATLAS TO VERFPLOETERB-ROOT CASE STUDY

Atlas Verfploeter

Atlas scale

Page 24: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Note scale

ACM Internet Measurement Conference 2017

11

FROM ATLAS TO VERFPLOETERB-ROOT CASE STUDY

Atlas Verfploeter

Atlas scale

Page 25: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

A more diverse ground for verfploeter measurements:

Our 9-site anycast testbed

ACM Internet Measurement Conference 2017

12

MEASURING AN ANYCAST TESTBED: TANGLED

Location Host Upstream

AU Sydney Vultr AS20473

FR Paris Vultr AS20473

JP Tokyo WIDE AS2500

NL Enschede Univ. of Twente AS1103

UK London Vultr AS20473

US Washington USC/ISI AS1972

US Miami Florida Int. Univ. AS20080

BR Sao Paulo Florida Int. Univ. AS1251

DK Copenhagen DK-Hostmaster AS39389

Page 26: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

A more diverse ground for verfploeter measurements:

Our 9-site anycast testbed

ACM Internet Measurement Conference 2017

12

MEASURING AN ANYCAST TESTBED: TANGLED

Location Host Upstream

AU Sydney Vultr AS20473

FR Paris Vultr AS20473

JP Tokyo WIDE AS2500

NL Enschede Univ. of Twente AS1103

UK London Vultr AS20473

US Washington USC/ISI AS1972

US Miami Florida Int. Univ. AS20080

BR Sao Paulo Florida Int. Univ. AS1251

DK Copenhagen DK-Hostmaster AS39389

Location Host Upstream

AU Sydney Vultr AS20473

FR Paris Vultr AS20473

JP Tokyo WIDE AS2500

NL Enschede Univ. of Twente AS1103

UK London Vultr AS20473

US Washington USC/ISI AS1972

US Miami Florida Int. Univ. AS20080

BR Sao Paulo Florida Int. Univ. AS1251

DK Copenhagen DK-Hostmaster AS39389

Shared upstream

Page 27: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

13

MEASURING AN ANYCAST TESTBED: TANGLEDATLAS VS VERFPLOETER

Page 28: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

13

MEASURING AN ANYCAST TESTBED: TANGLEDATLAS VS VERFPLOETER

Atlas Verfploeter

Page 29: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

13

MEASURING AN ANYCAST TESTBED: TANGLEDATLAS VS VERFPLOETER

Atlas Verfploeter

Page 30: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Not all measured prefixes are equal

Some will send no traffic, others a lot

ACM Internet Measurement Conference 2017

14

CALIBRATING CATCHMENT

e.g. due to NAT or ISP DNS Forwarders

Page 31: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Prefix Site

1.0.0.0/24 LAX

1.0.1.0/24 LAX

1.0.2.0/24 LAX

1.0.3.0/24 MIA

ACM Internet Measurement Conference 2017

15

CALIBRATING CATCHMENT

Prefix Load

1.0.0.0/24 10 Q/s

1.0.1.0/24 0 Q/s

1.0.2.0/24 0 Q/s

1.0.3.0/24 15 Q/s

RIGHT

JOIN

Obtained with Verfploeter

Obtained from (historic)

log files or from

a service with a similar

user base

Page 32: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

15

CALIBRATING CATCHMENT

Prefix Site

1.0.0.0/24 LAX

1.0.1.0/24 LAX

1.0.2.0/24 LAX

1.0.3.0/24 MIA

Prefix Load

1.0.0.0/24 10 Q/s

1.0.1.0/24 0 Q/s

1.0.2.0/24 0 Q/s

1.0.3.0/24 15 Q/s

Prefix Site Load

1.0.0.0/24 LAX 10 Q/s

1.0.1.0/24 LAX 0 Q/s

1.0.2.0/24 LAX 0 Q/s

1.0.3.0/24 MIA 15 Q/s

RIGHT

JOIN

Page 33: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

15

CALIBRATING CATCHMENT

Prefix Site

1.0.0.0/24 LAX

1.0.1.0/24 LAX

1.0.2.0/24 LAX

1.0.3.0/24 MIA

Prefix Load

1.0.0.0/24 10 Q/s

1.0.1.0/24 0 Q/s

1.0.2.0/24 0 Q/s

1.0.3.0/24 15 Q/s

Prefix Site Load

1.0.0.0/24 LAX 10 Q/s

1.0.1.0/24 LAX 0 Q/s

1.0.2.0/24 LAX 0 Q/s

1.0.3.0/24 MIA 15 Q/s

RIGHT

JOINSITE Fraction of traffic

LAX 0.40

MIA 0.60

Page 34: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

1. Record traffic from unicast B-root (prior to anycast deployment)

2. Run Verfploeter on anycast B-root

ACM Internet Measurement Conference 2017

16

CALIBRATING CATCHMENT AT B-ROOT

Date Site Queries/day Queries/sec

2017-04-12 LAX (Unicast) 2.34G 27.1k

2017-05-15 Both 2.20G 25.4k

LAX 1.78G 20.6k

MIA 0.407G 4.71k

Page 35: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

Date Method Measurement % to LAX

May 15th RIPE Atlas 9682 VPs 82.4%

May 15th Verfploeter 3.923M /24s 87.8%

May 15th Verfploeter x Load 81.6%

May 15th Actual load 2.188G q/day 81.4%

ACM Internet Measurement Conference 2017

17

CALIBRATING CATCHMENT AT B-ROOTRECORDED TRAFFIC COMBINED WITH VERFPLOETER

Before

calibration

After

calibration

Page 36: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

18

CALIBRATING CATCHMENT AT B-ROOT

Verfploeter allows you to experiment

with various configurations and how

that affects the load on the sites of

your service

Page 37: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

19

INSIDE AUTONOMOUS SYSTEMS

Anycast site

User

Page 38: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

19

INSIDE AUTONOMOUS SYSTEMS

Is one vantage point per AS enough?

Anycast site

User

Page 39: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

20

INSIDE AUTONOMOUS SYSTEMSNUMBER OF SITES VERSUS NUMBER OF ANNOUNCED PREFIXES

We see more than 1 site from

around 12.7% of all ASes

Page 40: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

ACM Internet Measurement Conference 2017

21

CONCLUSIONS

• Verfploeter has ~430x more “vantage points” than Atlas

• Atlas has some blocks that we don’t have

• Calibration of measured catchment to actual user base is required

Improve your anycasted service using Verfploeter

https://github.com/woutifier/

Do your own analysis with our public datasets

https://ant.isi.edu/datasets/anycast/index.html#verfploeter

Page 41: Broad and load-aware anycast mapping with verfploeter and load-aware... · Before calibration After calibration. ACM Internet Measurement Conference 2017 18 CALIBRATING CATCHMENT

QUESTIONS AND COMMENTS

22

London - November 3, 2017