RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body...

30
Massimo Candela | LACNIC 29 | May 2018 RIPE NCC Routing Information Service (RIS)

Transcript of RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body...

Page 1: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018

RIPE NCC Routing Information Service (RIS)

Page 2: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

What is RIS?

Page 3: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 3

What is RIS?

• Routing Information Service

• Worldwide network of BGP collectors

• Deployed at Internet Exchange Points

• Collects raw BGP data from peers

• Stores BGP updates and routing table dumps

• 15+ years of history

• Used by network operators and researchers every day

Page 4: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018

• 19 collectors and growing •  600+ peers • 150+ full-feed peers

4

Collector locations

Page 5: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 5

What you can see

Page 6: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Why RIS? Why are we doing this?

A bit of history

Page 7: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 7

Why RIS? • Original project was defined in 1999:

“ In other words, it can be regarded as one integrated Looking-Glass for the entire Internet that includes history information”

• Looking glasses are instantaneous

• Routing problems are also instantaneous

• BGP history is recorded to track what is happening and what has happened

• Also to provide statistics and reporting on routing table metrics

Page 8: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 8

Why the RIPE NCC RIS?

• RIPE NCC is a neutral body

• Experience running measurement and data collection platforms -  Test Traffic Measurement project

-  RIPE Atlas (40k+ results on Google Scholar)

-  IPmap

-  RIPEstat (50M queries/day)

• Supporting operators and researchers around the world

Page 9: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

RIS data access What can you get?

And how do you get it?

Page 10: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 10

Raw data!

• 15+ years of raw data (5.8 TB) available to download -  https://www.ripe.net/analyse/internet-measurements/

routing-information-service-ris/ris-raw-data

• Data stored in MRT (RFC6396) format

• Readable using BGPdump utility -  open source, maintained by RIPE NCC

-  https://bitbucket.org/ripencc/bgpdump

-  Other third party tools also available

Page 11: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 11

RIPEstat (https://stat.ripe.net) • RIPEstat is a portal

that provides everything you ever wanted to know about IP address space, Autonomous System Numbers (ASNs), and countries with easy to use visualisations.

Page 12: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 12

Routing History

Page 13: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 13

Routing History + Free Time

Page 14: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 14

Looking Glass

Page 15: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 15

BGPlay

Page 16: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 16

Preview of something new!

Page 17: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 17

RIPEstat Data API • All these queries are available through an API

• Actually, all those shiny web interfaces use the API anyway

• You can use it too!! Write your own scripts, etc.

• https://stat.ripe.net/docs/data_api

• There are also some extra API calls which are not yet visualised

Page 18: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 18

Live stream (prototype)

•  http://stream-dev.ris.ripe.net/demo

•  Live stream enables new applications -  Real time anomaly analysis and BGP hijack detection

-  Live dashboards (live BGPlay!)

Page 19: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

RIS growth Because the internet keeps growing

Page 20: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 20

Size of compressed raw BGP updates per month

0

10

20

30

40

50

60

70 20

01.0

1 20

01.0

6 20

01.1

1 20

02.0

4 20

02.0

9 20

03.0

2 20

03.0

7 20

03.1

2 20

04.0

5 20

04.1

0 20

05.0

3 20

05.0

8 20

06.0

1 20

06.0

6 20

06.1

1 20

07.0

4 20

07.0

9 20

08.0

2 20

08.0

7 20

08.1

2 20

09.0

5 20

09.1

0 20

10.0

3 20

10.0

8 20

11.0

1 20

11.0

6 20

11.1

1 20

12.0

4 20

12.0

9 20

13.0

2 20

13.0

7 20

13.1

2 20

14.0

5 20

14.1

0 20

15.0

3 20

15.0

8 20

16.0

1 20

16.0

6 20

16.1

1 20

17.0

4 20

17.0

9

giga

byte

s

rrc21 rrc20 rrc19 rrc18 rrc16 rrc15 rrc14 rrc13 rrc12 rrc11 rrc10 rrc09 rrc08 rrc07 rrc06 rrc05 rrc04 rrc03 rrc02 rrc01 rrc00

Page 21: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 21

Size of compressed BGP dumps per month

0

10

20

30

40

50

60

70 20

01.0

1 20

01.0

6 20

01.1

1 20

02.0

4 20

02.0

9 20

03.0

2 20

03.0

7 20

03.1

2 20

04.0

5 20

04.1

0 20

05.0

3 20

05.0

8 20

06.0

1 20

06.0

6 20

06.1

1 20

07.0

4 20

07.0

9 20

08.0

2 20

08.0

7 20

08.1

2 20

09.0

5 20

09.1

0 20

10.0

3 20

10.0

8 20

11.0

1 20

11.0

6 20

11.1

1 20

12.0

4 20

12.0

9 20

13.0

2 20

13.0

7 20

13.1

2 20

14.0

5 20

14.1

0 20

15.0

3 20

15.0

8 20

16.0

1 20

16.0

6 20

16.1

1 20

17.0

4 20

17.0

9

giga

byte

s

rrc21 rrc20 rrc19 rrc18 rrc16 rrc15 rrc14 rrc13 rrc12 rrc11 rrc10 rrc09 rrc08 rrc07 rrc06 rrc05 rrc04 rrc03 rrc02 rrc01 rrc00

Page 22: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 22

Number of IPv4 prefixes seen

0

100000

200000

300000

400000

500000

600000

700000

800000

900000 /32 /31 /30 /29 /28 /27 /26 /25 /24 /23 /22 /21 /20 /19 /18 /17 /16 /15 /14 /13 /12 /11 /10 /9 /8 /7 /6 /5 /4 /3 /2 /1 /0

Page 23: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 23

Number of IPv6 prefixes seen

0

10000

20000

30000

40000

50000

60000

Page 24: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

RIS Architecture

Page 25: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 25

Data collection

Page 26: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 26

Back-end data distribution

Page 27: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

How can you help?

Page 28: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 28

How can you help? • Peer with us!!!

-  AS12654

-  http://www.ris.ripe.net/cgi-bin/peerreg.cgi

• Send us your routes -  If you can send us your full

BGP table, please do!

-  If not, send us what you can!

-  We will be recording them forever ;-)

CIXP, Geneva (RRC04)!

DIX-IE, Tokyo (RRC06)!

Netnod, Stockholm (RRC07)!

MIX, Milan (RRC10)!

NYIIX, New York City (RRC11)!

MSK-IX, Moscow (RRC13)!

PAIX, Palo Alto (RRC14)!

PTTMetro, Sao Paulo (RRC15)!

NOTA, Miami (RRC16)!

Catnix, Barcelona (RRC18)!

NAP Africa JB, Johannesburg (RRC19)!

SwissIX, Zurich (RRC20)!

France-IX, Paris (RRC21)!

Page 29: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Massimo Candela | LACNIC 29 | May 2018 29

Interested in hosting an RRC?

Page 30: RIPE NCC Routing Information Service (RIS) · Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement and data collection platforms - Test Traffic

Questions [email protected]