Top Banner
Alvaro Vives | 20 March 2017 | TROOPERS17 - NGI Measuring the Internet RIPE Atlas
38

RIPE Atlas, Measuring the Internet

Jan 21, 2018

Download

Technology

RIPE NCC
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: RIPE Atlas, Measuring the Internet

Alvaro Vives | 20 March 2017 | TROOPERS17 - NGI

Measuring the Internet

RIPE Atlas

Page 2: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017

USE CASES2

Overview

HOW

WHAT

WHY

Page 3: RIPE Atlas, Measuring the Internet

WhyWhat is it useful for?

Page 4: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 4

Why RIPE Atlas? (1)

Internet Growth Critical Multi-Stakeholder

MeasurementsMonitor Troubleshoot

Improve Security

Lack of Internet wide measurements

Page 5: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 5

Why RIPE Atlas? (2)

Goals:

• Internet wide measurement system - Internet infrastructure, not all applications

• Real time & historical info

• Outbound and inbound measurements

• Collaborative effort

• Open and free

• IPv4 and IPv6 capable

Page 6: RIPE Atlas, Measuring the Internet

WhatWhat is RIPE Atlas

Page 7: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 7

What is RIPE Atlas (1)

Composed by: Probes

• 9400+

• Around the world

Page 8: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 8

What is RIPE Atlas (2)

Composed by: Anchors

• 250+

• Around the world

Page 9: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 9

What is RIPE Atlas (3)

Composed by: Web interface / API / CLI

Page 10: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 10

What is RIPE Atlas (4)

Composed by: RIPE Atlas Community

• Users

• Hosts - Probes - Anchors

• Sponsors

• Ambassadors

Page 11: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 11

What is RIPE Atlas (5)

Composed by: Measurements

Page 12: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 12

RIPE Atlas Overview (1)

Data RepositoryUser

Web Interface Probes

Anchor

Control

API

CLI

Probes

Anchor

Page 13: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 13

RIPE Atlas Overview (2)RIPE Atlas Severs

User

Web Interface

Probes

Probes

User Server

Page 14: RIPE Atlas, Measuring the Internet

HowHow can you use it?

Page 15: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 15

How to use RIPE Atlas

• User friendly web interface, API or CLI

• System based on credits

• Create measurements (ping, trace route, etc.)

• Access (historical) data

Page 16: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 16

How to Access RIPE Atlas

• RIPE NCC Access account (http://access.ripe.net)

• RIPE Atlas -> My Atlas (http://atlas.ripe.net)

Page 17: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 17

Credits

• Every measurement has a cost in credits

• Why? Fairness and avoid overload

• How to earn credits?

1. Hosting a probe / anchor

2. Being an RIPE NCC member (LIR)

3. Being RIPE Atlas sponsor

4. Transfer

5. Voucher…

Page 18: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 18

RIPE Atlas measurements

• Built-in global measurements towards root nameservers - Visualised as Internet traffic maps

• Built-in regional measurements towards “anchors”

• Users can run customised measurements

Page 19: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 19

Highlights

• Six types of measurements: ping, traceroute, DNS, SSL/TLS, NTP and HTTP (to anchors)

• APIs and CLI tools to start measurements and get results

• Streaming data for real-time results

• Status checks (Icinga & Nagios)

• New: “Time Travel”, LatencyMON, DomainMON

Page 20: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 20

Security Aspects

• Probes: - Hardware trust material (regular server address, keys)

- No open ports; initiate connection; NAT is okay

- Don’t listen to local traffic

- No passive measurements

- Automatic FW updates

• Measurements triggered by “command servers” - Inverse ssh tunnels

• Source code published

Page 21: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 21

Ethical Considerations

• No passive measurements (no user traffic)

• Set of measurements is limited

• HTTP measurements only to Anchors

• All data is open and available to anyone

• Barrier to entry is low/cheap

• Open API’s

• Open source code on GitHub

Page 22: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 22

Creating Measurements (1)

Page 23: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 23

Creating Measurements (2)

Page 24: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 24

Creating Measurements (3)

Page 25: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 25

Creating Measurements (4)

Page 26: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 26

Globe reachability check: traceroute

Page 27: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 27

Traceroute view: list

Page 28: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 28

Traceroute view: LatencyMon

Page 29: RIPE Atlas, Measuring the Internet

Use casesExamples of RIPE Atlas use

Page 30: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 30

Use cases (1)

Page 31: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 31

RIPE Atlas IXP Country Jedi (1)

• Do paths between ASes stay in country?

• Any difference between IPv4 and IPv6?

• How many paths go via local IXP?

• Could adding peers improve reachability?

• Experimental tool - Feature requests welcome!

- Depends on probe distribution in country

Page 32: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 32

RIPE Atlas IXP Country Jedi (2)• Methodology

- Trace route mesh between RIPE Atlas probes

- Identifying ASNs in country using RIPEstat

- Identifying IXP and IXP LANs in PeeringDB

Page 33: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 33

Use Cases (2)

• DDoS Attack on Dyn DNS Servers (Oct. 2016) - 10s millions devices - Mirai botnet

- Legitimate requests

Page 34: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 34

Use Cases (3)

• Monitor Game Service Connectivity (Sept. 2016)

• Requirements: - Check General Reachability, Latency, Historical data

- Supported by an active and helpful community

- Integrate with their existing logging system

• Track down an outage in one upstream

• Became sponsors

Page 35: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 35

Use Cases (4)

• Amsterdam Power Outage (March 2015)

• When and were the outage was happening

Page 36: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 36

Training

• Webinar

• Training Course

• All material available at RIPE web site

https://www.ripe.net

Page 37: RIPE Atlas, Measuring the Internet

Alvaro Vives | TROOPERS17 - NGI | 20 March 2017 37

RIPE Atlas Contact Info

• https://atlas.ripe.net

• http://roadmap.ripe.net/ripe-atlas/

• Users’ mailing list: [email protected]

• Articles and updates: https://labs.ripe.net/atlas

• Questions and bugs: [email protected]

• Twitter: @RIPE_Atlas and #RIPEAtlas

Page 38: RIPE Atlas, Measuring the Internet

Questionsavives at ripe dot net