SlideShare ist ein Scribd-Unternehmen logo
1 von 54
Downloaden Sie, um offline zu lesen
Colin Petrie | 14/12/2016 | RON++
Overview
RIPE NCC Routing
Information Service (RIS)
What is RIS?
Colin Petrie | RON++ | 14/12/2016 3
What is RIS?
• Worldwide network of BGP collectors
• Deployed at Internet Exchange Points
- Including at AMS-IX and NL-IX
• Collects raw BGP data from peers
• Stores BGP routing table dumps
• 15+ years of history
• Used by network operators and researchers
every day!
Colin Petrie | RON++ | 14/12/2016 4
Collector locations
Colin Petrie | RON++ | 14/12/2016 5
What is RIS?
• A huge archive of useful data about BGP
routing activity
• A database where you can look up almost
anything you want to know about routing
• We provide APIs to query all the data
• And of course, a nice shiny web interface!
- RIPEstat
- https://stat.ripe.net/
Why RIS?
Why are we doing this?
A bit of history
Colin Petrie | RON++ | 14/12/2016 7
Why RIS?
• Original project was defined in RIPE-200
- in 1999, when the BGP table was 64,000 routes!!
• Looking glasses are instantaneous
• Routing problems are also instantaneous
• BGP needs to be recorded, to track what is
happening and what has happened.
• Also to provide statistics and reporting on
routing table metrics
Colin Petrie | RON++ | 14/12/2016 8
Why the RIPE NCC RIS?
• RIPE NCC is a neutral body
• Experience running measurement platforms
- Test Traffic Measurement project
- RIPE Atlas
• Supporting our own members
- who are mainly network operators
• Supporting the community
- researchers
- operators
RIS data access
What can you get?
And how do you get it?
Colin Petrie | RON++ | 14/12/2016 10
Raw data!
• 15+ years of data available to download and
analyse yourself :)
• 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
Colin Petrie | RON++ | 14/12/2016 11
Web interfaces and APIs
• Of course, if all we did was store the raw data,
we’d just need a bunch of hard disks and an
FTP server
• But you want to query all our lovely datasets!
• RIPEstat
- https://stat.ripe.net/
• Our portal for everything you ever wanted to
know!
Colin Petrie | RON++ | 14/12/2016 12
RIPEstat
• RIPEstat is a web-based interface that
provides everything you ever wanted to know
about IP address space, Autonomous System
Numbers (ASNs), and related information for
hostnames and countries in one place.
Colin Petrie | RON++ | 14/12/2016 13
RIPEstat
• What can you search for?
- ASN (autonomous system number)
- IPv4 address
- IPv4 prefix
- IPv6 address
- IPv6 prefix
- country code (ISO - e.g. NL, ES, US)
Colin Petrie | RON++ | 14/12/2016 14
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 15
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 16
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 17
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 18
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 19
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 20
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 21
RIPEstat examples
Colin Petrie | RON++ | 14/12/2016 22
Live stream - demo
• Prototype!!
• Let’s see if it works
• http://stream-dev.ris.ripe.net/demo
• Live stream enables new applications
- BGP Hijack detection
- real time anomaly analysis
- live monitoring of your routes
RIS data access
How else can you get it
Colin Petrie | RON++ | 14/12/2016 24
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
Colin Petrie | RON++ | 14/12/2016 25
RIPEstat Data API
• Remember this started because looking glasses
are instantaneous?
• BGP State
- https://stat.ripe.net/docs/data_api#BGPState
• This data call returns the state of BGP routes for a
resource at a certain point in time, as observed by
all the RIS collectors
• This is derived by applying a computation of state
to the RIB dump (granularity=8h) that occurred
exactly before that time, using the BGP updates
observed between the RIB time and the query time.
Colin Petrie | RON++ | 14/12/2016 26
RIPEstat Data API - BGP State
• https://stat.ripe.net/data/
bgp-state/data.json?
resource=193.0.24.0/21&
timestamp=2016-05-19T
00:33:21
• Show me what this prefix
looked like at exactly this
time!
State of AS2121 (RIPE meeting) prefix after we
plugged in the router at RIPE72 in Copenhagen
What else can you do?
Lots of analysis that this data allows
Colin Petrie | RON++ | 14/12/2016 28
Prefix reachability studies
• https://labs.ripe.net/Members/emileaben/has-the-routability-of-longer-
than-24-prefixes-changed
Colin Petrie | RON++ | 14/12/2016 29
Prefix length visibility
• https://labs.ripe.net/Members/dbayer/visibility-of-prefix-lengths
Colin Petrie | RON++ | 14/12/2016 30
Prefix length visibility
• https://labs.ripe.net/Members/dbayer/visibility-of-prefix-lengths
Colin Petrie | RON++ | 14/12/2016 31
BGP update propagation
• https://labs.ripe.net/Members/vastur/the-shape-of-a-bgp-update
Colin Petrie | RON++ | 14/12/2016 32
BGP update propagation
• https://labs.ripe.net/Members/vastur/the-shape-of-a-bgp-update
How can you help?
Colin Petrie | RON++ | 14/12/2016 34
How can you help?
• Peer with us!!!
- AS12654 @ AMS-IX, NL-IX
- RRC03
- 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 ;-)
RIS growth
Because the internet keeps growing
Colin Petrie | RON++ | 14/12/2016 36
Collector history
Collector Location IXP Deployed Removed
RRC00 Amsterdam Multi-hop 1999 -
RRC01 London LINX 2000 -
RRC02 Paris SFINX 2001 2008
RRC03 Amsterdam AMS-IX 2001 -
RRC04 Geneva CIXP 2001 -
RRC05 Vienna VIX 2001 -
RRC06 Tokyo DIX-IE 2001 -
RRC07 Stockholm Netnod 2002 -
RRC08 San Jose MAE-West 2002 2004
RRC09 Zurich TIX 2003 2004
RRC10 Milan MIX 2003 -
RRC11 New York NYIIX 2004 -
RRC12 Frankfurt DE-CIX 2004 -
RRC13 Moscow MSK-IX 2005 -
RRC14 Palo Alto PAIX 2005 -
RRC15 Sao Paulo PTT-Metro SP 2006 -
RRC16 Miami NOTA 2008 -
RRC18 Barcelona CATNIX 2015 -
RRC19 Johannesburg NAPAfrica JB 2016 -
RRC20 Zurich SwissIX 2015 -
RRC21 Paris FranceIX 2015 -
Colin Petrie | RON++ | 14/12/2016 37
RRC01 data production rate
Colin Petrie | RON++ | 14/12/2016 38
RRC01 cumulative data
Colin Petrie | RON++ | 14/12/2016 39
Data growth
• More BGP routes
- BGP table has grown from 60,000 to 600,000 routes
- more BGP updates
- larger RIB (table) dumps
• More RIS collectors
• More peers at each collector
•Non-linear growth curve ;)
RIS Operations
As the system has evolved
Colin Petrie | RON++ | 14/12/2016 41
Original architecture (1999)
• Diagram from
RIPE-200 (original
concept)
• Note ‘RIS Server’
- singular!
• Also, the
‘database’
- this becomes the
hardest part!!
Original RIS design (RIPE-200)
circa 1999
Colin Petrie | RON++ | 14/12/2016 42
Classic architecture (~2003)
Colin Petrie | RON++ | 14/12/2016 43
Classic architecture
• MySQL database
- many millions of BGP updates
- hundreds of thousands of BGP routes, seen by hundreds of
peers
- route attributes (communities, AS_PATH, origin, med, etc)
- ASN adjacencies
- more/less specific matching
- complex data schema
Colin Petrie | RON++ | 14/12/2016 44
Scaling MySQL
• Splitting and sharding
- 8 MySQL servers
- some collectors were so big they needed their own MySQL
server!
• Data retention
- database was only query-able for 3 months worth of data
- the references grew too large, that every 3 months we
basically had to drop all the data, and let it start again!!
Colin Petrie | RON++ | 14/12/2016 45
Scaling the collectors
• Quagga used as BGP collector
• Single-threaded
- Not as scalable on modern multi-core CPUs
• Locks updates during table-dump process
- Requires that dump completes before the hold timer
expires, or BGP session will drop
• Some data consistency issues
- Sometimes updates are missing from the update dumps at
the time of a table dump
- This makes it difficult to accurately rebuild BGP state at a
intermediate time, if updates are not reliable in-between
RIS and Atlas
Operations
Time for a redesign
(and this is the current design!)
Colin Petrie | RON++ | 14/12/2016 47
Data collection
Colin Petrie | RON++ | 14/12/2016 48
Back-end data distribution
Colin Petrie | RON++ | 14/12/2016 49
Data processing
• Apache Hadoop
- An open-source software framework for distributed storage
and distributed processing of very large data sets on
computer clusters built from commodity hardware.
• “Big Data” storage and analytics
• Allows us to build a scalable storage and
processing cluster
• Currently over 150 servers in the cluster!
- Although the cluster is not only used for RIS!
- Also used by RIPE Atlas and other projects
Colin Petrie | RON++ | 14/12/2016 50
Data processing - components
• HDFS
- distributed, replicated, cluster filesystem
• YARN
- compute resource manager and application scheduler
• Map/Reduce
- massive batch job processing
• HBase
- non-relational distributed database
- large tables - billions of rows X millions of columns
Colin Petrie | RON++ | 14/12/2016 51
Data processing - components
• Spark
- Cluster computing used for data stream processing
- i.e. non-batch computing
• Azkaban
- batch workflow job scheduler, dependency tracking etc
• Kafka
- BGP/Atlas messaging bus
Colin Petrie | RON++ | 14/12/2016 52
Data processing - RIS
• Raw data inputs:
- BGP updates events - everything must start from a BGP
message!
- BGP table dumps (which can also be derived from updates)
• Derived datasets
- update-counts, first-last-seen, prefixes-transited-by-asn,
peers-list, asn-stats, asn-adjacencies
- country-code mapping
- aggregated counts for historical overviews
- distributed looking-glass processing
Colin Petrie | RON++ | 14/12/2016 53
Data processing - Atlas
• Raw data inputs:
- Atlas measurement messages!
• Derived datasets
- Mainly aggregated counters for different zoom levels
- Probe traffic stats
- Ping measurement stats (loss %, min, max, med etc)
- DNS query stats (loss %, latency, etc)
Questions
cpetrie@ripe.net

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Technical Community - Working Together
Technical Community - Working TogetherTechnical Community - Working Together
Technical Community - Working Together
 
A Message About IPv6
A Message About IPv6A Message About IPv6
A Message About IPv6
 
DDos Prevention and Mitigation
DDos Prevention and MitigationDDos Prevention and Mitigation
DDos Prevention and Mitigation
 
ION Bucharest - Update on the Why and How of IPv6 Deployment
ION Bucharest - Update on the Why and How of IPv6 DeploymentION Bucharest - Update on the Why and How of IPv6 Deployment
ION Bucharest - Update on the Why and How of IPv6 Deployment
 
The Future of IP Addresses
The Future of IP AddressesThe Future of IP Addresses
The Future of IP Addresses
 
The State of the (Danish) Internet – Interpreting RIPE NCC Data and Measurements
The State of the (Danish) Internet – Interpreting RIPE NCC Data and MeasurementsThe State of the (Danish) Internet – Interpreting RIPE NCC Data and Measurements
The State of the (Danish) Internet – Interpreting RIPE NCC Data and Measurements
 
Network Visualisation: Focus on RIPE Atlas
Network Visualisation: Focus on RIPE AtlasNetwork Visualisation: Focus on RIPE Atlas
Network Visualisation: Focus on RIPE Atlas
 
Measuring IPv6 Adoption
Measuring IPv6 AdoptionMeasuring IPv6 Adoption
Measuring IPv6 Adoption
 
The (IPv6) Internet in Romania - RIPE NCC Data and Tools
The (IPv6) Internet in Romania - RIPE NCC Data and ToolsThe (IPv6) Internet in Romania - RIPE NCC Data and Tools
The (IPv6) Internet in Romania - RIPE NCC Data and Tools
 
Applications of Internet Data
Applications of Internet DataApplications of Internet Data
Applications of Internet Data
 
The RIPE NCC, Internet Measurements and IXPs
The RIPE NCC, Internet Measurements and IXPsThe RIPE NCC, Internet Measurements and IXPs
The RIPE NCC, Internet Measurements and IXPs
 
RIPE NCC Data Sets for Researchers
RIPE NCC Data Sets for ResearchersRIPE NCC Data Sets for Researchers
RIPE NCC Data Sets for Researchers
 
IPv6 Routing in Slovenia
IPv6 Routing in SloveniaIPv6 Routing in Slovenia
IPv6 Routing in Slovenia
 
RIR Collaboration on RIPEstat
RIR Collaboration on RIPEstatRIR Collaboration on RIPEstat
RIR Collaboration on RIPEstat
 
RIPEstat
RIPEstatRIPEstat
RIPEstat
 
IP addressing policies, What does this mean? - APT Policy and Regulation Forum
IP addressing policies, What does this mean? - APT Policy and Regulation ForumIP addressing policies, What does this mean? - APT Policy and Regulation Forum
IP addressing policies, What does this mean? - APT Policy and Regulation Forum
 
RIPE & RIPE NCC/Using RIPE Atlas and RIPEstat for Network Analysis
RIPE & RIPE NCC/Using RIPE Atlas and RIPEstat for Network AnalysisRIPE & RIPE NCC/Using RIPE Atlas and RIPEstat for Network Analysis
RIPE & RIPE NCC/Using RIPE Atlas and RIPEstat for Network Analysis
 
Data Gathering and Analysis BoF- RipEstat
Data Gathering and Analysis BoF- RipEstatData Gathering and Analysis BoF- RipEstat
Data Gathering and Analysis BoF- RipEstat
 
PLNOG 7: Ferenc Csorba - What’s new at the RIPE NCC?
PLNOG 7: Ferenc Csorba - What’s new at the RIPE NCC?PLNOG 7: Ferenc Csorba - What’s new at the RIPE NCC?
PLNOG 7: Ferenc Csorba - What’s new at the RIPE NCC?
 
Open-IX: Improving interconnection through industry standards
Open-IX: Improving interconnection through industry standardsOpen-IX: Improving interconnection through industry standards
Open-IX: Improving interconnection through industry standards
 

Andere mochten auch

Andere mochten auch (15)

How to upgrade a country?
How to upgrade a country?How to upgrade a country?
How to upgrade a country?
 
Network Visualisation Workshop
Network Visualisation WorkshopNetwork Visualisation Workshop
Network Visualisation Workshop
 
IPv6 and Internet of Things: A Nice Couple
IPv6 and Internet of Things: A Nice CoupleIPv6 and Internet of Things: A Nice Couple
IPv6 and Internet of Things: A Nice Couple
 
IPv6 on your servers; fun or frightening? - Swiss IPv6 Council meeting
IPv6 on your servers; fun or frightening? - Swiss IPv6 Council meetingIPv6 on your servers; fun or frightening? - Swiss IPv6 Council meeting
IPv6 on your servers; fun or frightening? - Swiss IPv6 Council meeting
 
IPv6 at Home
IPv6 at HomeIPv6 at Home
IPv6 at Home
 
IP Address Certification (RPKI)
IP Address Certification (RPKI)IP Address Certification (RPKI)
IP Address Certification (RPKI)
 
RIPE Atlas Tutorial
RIPE Atlas TutorialRIPE Atlas Tutorial
RIPE Atlas Tutorial
 
RIPE Atlas, Measuring the Internet
RIPE Atlas, Measuring the InternetRIPE Atlas, Measuring the Internet
RIPE Atlas, Measuring the Internet
 
Introduction to IP Addressing and Regional Internet Registries
Introduction to IP Addressing and Regional Internet RegistriesIntroduction to IP Addressing and Regional Internet Registries
Introduction to IP Addressing and Regional Internet Registries
 
IPv6 News from the RIPE NCC
IPv6 News from the RIPE NCCIPv6 News from the RIPE NCC
IPv6 News from the RIPE NCC
 
Fwn wan link load balancer 2015-04-30
Fwn wan link load balancer 2015-04-30Fwn wan link load balancer 2015-04-30
Fwn wan link load balancer 2015-04-30
 
Edge Redundanty Design
Edge Redundanty DesignEdge Redundanty Design
Edge Redundanty Design
 
F5 Link controller Configuration
F5 Link controller Configuration F5 Link controller Configuration
F5 Link controller Configuration
 
Are Dutch Internet Paths Local - A Measurement Study Using RIPE Atlas
Are Dutch Internet Paths Local - A Measurement Study Using RIPE AtlasAre Dutch Internet Paths Local - A Measurement Study Using RIPE Atlas
Are Dutch Internet Paths Local - A Measurement Study Using RIPE Atlas
 
The State of the (Romanian) Internet
The State of the (Romanian) InternetThe State of the (Romanian) Internet
The State of the (Romanian) Internet
 

Ähnlich wie RIPE Routing Information Service

Using Familiar BI Tools and Hadoop to Analyze Enterprise Networks
Using Familiar BI Tools and Hadoop to Analyze Enterprise NetworksUsing Familiar BI Tools and Hadoop to Analyze Enterprise Networks
Using Familiar BI Tools and Hadoop to Analyze Enterprise Networks
DataWorks Summit
 

Ähnlich wie RIPE Routing Information Service (20)

Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj UpadhayaInternet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
 
RIPE NCC Operations and Analysis Tools
RIPE NCC Operations and Analysis ToolsRIPE NCC Operations and Analysis Tools
RIPE NCC Operations and Analysis Tools
 
Using RIPE Atlas and RIPEstat for Network Analysis
Using RIPE Atlas and RIPEstat for Network AnalysisUsing RIPE Atlas and RIPEstat for Network Analysis
Using RIPE Atlas and RIPEstat for Network Analysis
 
APNIC Update
APNIC Update APNIC Update
APNIC Update
 
RIPEstat, RIPE Atlas and the new DNSMON
RIPEstat, RIPE Atlas and the new DNSMONRIPEstat, RIPE Atlas and the new DNSMON
RIPEstat, RIPE Atlas and the new DNSMON
 
32nd TWNIC IP OPM: ROA+ROV deployment & industry development
32nd TWNIC IP OPM: ROA+ROV deployment & industry development32nd TWNIC IP OPM: ROA+ROV deployment & industry development
32nd TWNIC IP OPM: ROA+ROV deployment & industry development
 
IPv4 IPv6 Media Player
IPv4 IPv6 Media PlayerIPv4 IPv6 Media Player
IPv4 IPv6 Media Player
 
IPv6 Deployment: Why and Why not?
IPv6 Deployment: Why and Why not?IPv6 Deployment: Why and Why not?
IPv6 Deployment: Why and Why not?
 
El Punto Neutro de Internet en Cataluña
El Punto Neutro de Internet en CataluñaEl Punto Neutro de Internet en Cataluña
El Punto Neutro de Internet en Cataluña
 
HKNOG 7.0: RPKI - it's time to start deploying it
HKNOG 7.0: RPKI - it's time to start deploying itHKNOG 7.0: RPKI - it's time to start deploying it
HKNOG 7.0: RPKI - it's time to start deploying it
 
ARIN 34 ARIN Reports: Engineering
ARIN 34 ARIN Reports: EngineeringARIN 34 ARIN Reports: Engineering
ARIN 34 ARIN Reports: Engineering
 
John Curran - Moving to IPv6
John Curran - Moving to IPv6John Curran - Moving to IPv6
John Curran - Moving to IPv6
 
DEVNET-1191 BGP Enabled Application Development
DEVNET-1191	BGP Enabled Application DevelopmentDEVNET-1191	BGP Enabled Application Development
DEVNET-1191 BGP Enabled Application Development
 
ThaiNOG Day 2019: Internet Number Registry Services, the Next Generation
ThaiNOG Day 2019: Internet Number Registry Services, the Next GenerationThaiNOG Day 2019: Internet Number Registry Services, the Next Generation
ThaiNOG Day 2019: Internet Number Registry Services, the Next Generation
 
Row #9: An architecture overview of APNIC's RDAP deployment to the cloud
Row #9: An architecture overview of APNIC's RDAP deployment to the cloudRow #9: An architecture overview of APNIC's RDAP deployment to the cloud
Row #9: An architecture overview of APNIC's RDAP deployment to the cloud
 
Using Familiar BI Tools and Hadoop to Analyze Enterprise Networks
Using Familiar BI Tools and Hadoop to Analyze Enterprise NetworksUsing Familiar BI Tools and Hadoop to Analyze Enterprise Networks
Using Familiar BI Tools and Hadoop to Analyze Enterprise Networks
 
RIPE Labs Operator Tools, Ideas, Analysis
RIPE Labs Operator Tools, Ideas, AnalysisRIPE Labs Operator Tools, Ideas, Analysis
RIPE Labs Operator Tools, Ideas, Analysis
 
SmartMet Server OSGeo
SmartMet Server OSGeoSmartMet Server OSGeo
SmartMet Server OSGeo
 
Using Familiar BI Tools and Hadoop to Analyze Enterprise Networks
Using Familiar BI Tools and Hadoop to Analyze Enterprise NetworksUsing Familiar BI Tools and Hadoop to Analyze Enterprise Networks
Using Familiar BI Tools and Hadoop to Analyze Enterprise Networks
 
APNIC services and Policy Development Process | IDNOG 5
APNIC services and Policy Development Process | IDNOG 5APNIC services and Policy Development Process | IDNOG 5
APNIC services and Policy Development Process | IDNOG 5
 

Mehr von RIPE NCC

Mehr von RIPE NCC (20)

Navigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet RegistryNavigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet Registry
 
Traces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate ActionTraces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate Action
 
Governing Environmental Sustainability in Tech
Governing Environmental Sustainability in TechGoverning Environmental Sustainability in Tech
Governing Environmental Sustainability in Tech
 
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfGerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
 
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RISLIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
 
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshopIntro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
 
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdfIGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
 
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdfOpportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
 
RIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement Tools
 
IPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the BalticsIPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the Baltics
 
RPKI For Routing Security
RPKI For Routing SecurityRPKI For Routing Security
RPKI For Routing Security
 
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdfSEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
 
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE AtlasKnow Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
 
Minimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE AtlasMinimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE Atlas
 
RIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement Services
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure
 
The RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in SwedenThe RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in Sweden
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 

RIPE Routing Information Service

  • 1. Colin Petrie | 14/12/2016 | RON++ Overview RIPE NCC Routing Information Service (RIS)
  • 3. Colin Petrie | RON++ | 14/12/2016 3 What is RIS? • Worldwide network of BGP collectors • Deployed at Internet Exchange Points - Including at AMS-IX and NL-IX • Collects raw BGP data from peers • Stores BGP routing table dumps • 15+ years of history • Used by network operators and researchers every day!
  • 4. Colin Petrie | RON++ | 14/12/2016 4 Collector locations
  • 5. Colin Petrie | RON++ | 14/12/2016 5 What is RIS? • A huge archive of useful data about BGP routing activity • A database where you can look up almost anything you want to know about routing • We provide APIs to query all the data • And of course, a nice shiny web interface! - RIPEstat - https://stat.ripe.net/
  • 6. Why RIS? Why are we doing this? A bit of history
  • 7. Colin Petrie | RON++ | 14/12/2016 7 Why RIS? • Original project was defined in RIPE-200 - in 1999, when the BGP table was 64,000 routes!! • Looking glasses are instantaneous • Routing problems are also instantaneous • BGP needs to be recorded, to track what is happening and what has happened. • Also to provide statistics and reporting on routing table metrics
  • 8. Colin Petrie | RON++ | 14/12/2016 8 Why the RIPE NCC RIS? • RIPE NCC is a neutral body • Experience running measurement platforms - Test Traffic Measurement project - RIPE Atlas • Supporting our own members - who are mainly network operators • Supporting the community - researchers - operators
  • 9. RIS data access What can you get? And how do you get it?
  • 10. Colin Petrie | RON++ | 14/12/2016 10 Raw data! • 15+ years of data available to download and analyse yourself :) • 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
  • 11. Colin Petrie | RON++ | 14/12/2016 11 Web interfaces and APIs • Of course, if all we did was store the raw data, we’d just need a bunch of hard disks and an FTP server • But you want to query all our lovely datasets! • RIPEstat - https://stat.ripe.net/ • Our portal for everything you ever wanted to know!
  • 12. Colin Petrie | RON++ | 14/12/2016 12 RIPEstat • RIPEstat is a web-based interface that provides everything you ever wanted to know about IP address space, Autonomous System Numbers (ASNs), and related information for hostnames and countries in one place.
  • 13. Colin Petrie | RON++ | 14/12/2016 13 RIPEstat • What can you search for? - ASN (autonomous system number) - IPv4 address - IPv4 prefix - IPv6 address - IPv6 prefix - country code (ISO - e.g. NL, ES, US)
  • 14. Colin Petrie | RON++ | 14/12/2016 14 RIPEstat examples
  • 15. Colin Petrie | RON++ | 14/12/2016 15 RIPEstat examples
  • 16. Colin Petrie | RON++ | 14/12/2016 16 RIPEstat examples
  • 17. Colin Petrie | RON++ | 14/12/2016 17 RIPEstat examples
  • 18. Colin Petrie | RON++ | 14/12/2016 18 RIPEstat examples
  • 19. Colin Petrie | RON++ | 14/12/2016 19 RIPEstat examples
  • 20. Colin Petrie | RON++ | 14/12/2016 20 RIPEstat examples
  • 21. Colin Petrie | RON++ | 14/12/2016 21 RIPEstat examples
  • 22. Colin Petrie | RON++ | 14/12/2016 22 Live stream - demo • Prototype!! • Let’s see if it works • http://stream-dev.ris.ripe.net/demo • Live stream enables new applications - BGP Hijack detection - real time anomaly analysis - live monitoring of your routes
  • 23. RIS data access How else can you get it
  • 24. Colin Petrie | RON++ | 14/12/2016 24 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
  • 25. Colin Petrie | RON++ | 14/12/2016 25 RIPEstat Data API • Remember this started because looking glasses are instantaneous? • BGP State - https://stat.ripe.net/docs/data_api#BGPState • This data call returns the state of BGP routes for a resource at a certain point in time, as observed by all the RIS collectors • This is derived by applying a computation of state to the RIB dump (granularity=8h) that occurred exactly before that time, using the BGP updates observed between the RIB time and the query time.
  • 26. Colin Petrie | RON++ | 14/12/2016 26 RIPEstat Data API - BGP State • https://stat.ripe.net/data/ bgp-state/data.json? resource=193.0.24.0/21& timestamp=2016-05-19T 00:33:21 • Show me what this prefix looked like at exactly this time! State of AS2121 (RIPE meeting) prefix after we plugged in the router at RIPE72 in Copenhagen
  • 27. What else can you do? Lots of analysis that this data allows
  • 28. Colin Petrie | RON++ | 14/12/2016 28 Prefix reachability studies • https://labs.ripe.net/Members/emileaben/has-the-routability-of-longer- than-24-prefixes-changed
  • 29. Colin Petrie | RON++ | 14/12/2016 29 Prefix length visibility • https://labs.ripe.net/Members/dbayer/visibility-of-prefix-lengths
  • 30. Colin Petrie | RON++ | 14/12/2016 30 Prefix length visibility • https://labs.ripe.net/Members/dbayer/visibility-of-prefix-lengths
  • 31. Colin Petrie | RON++ | 14/12/2016 31 BGP update propagation • https://labs.ripe.net/Members/vastur/the-shape-of-a-bgp-update
  • 32. Colin Petrie | RON++ | 14/12/2016 32 BGP update propagation • https://labs.ripe.net/Members/vastur/the-shape-of-a-bgp-update
  • 33. How can you help?
  • 34. Colin Petrie | RON++ | 14/12/2016 34 How can you help? • Peer with us!!! - AS12654 @ AMS-IX, NL-IX - RRC03 - 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 ;-)
  • 35. RIS growth Because the internet keeps growing
  • 36. Colin Petrie | RON++ | 14/12/2016 36 Collector history Collector Location IXP Deployed Removed RRC00 Amsterdam Multi-hop 1999 - RRC01 London LINX 2000 - RRC02 Paris SFINX 2001 2008 RRC03 Amsterdam AMS-IX 2001 - RRC04 Geneva CIXP 2001 - RRC05 Vienna VIX 2001 - RRC06 Tokyo DIX-IE 2001 - RRC07 Stockholm Netnod 2002 - RRC08 San Jose MAE-West 2002 2004 RRC09 Zurich TIX 2003 2004 RRC10 Milan MIX 2003 - RRC11 New York NYIIX 2004 - RRC12 Frankfurt DE-CIX 2004 - RRC13 Moscow MSK-IX 2005 - RRC14 Palo Alto PAIX 2005 - RRC15 Sao Paulo PTT-Metro SP 2006 - RRC16 Miami NOTA 2008 - RRC18 Barcelona CATNIX 2015 - RRC19 Johannesburg NAPAfrica JB 2016 - RRC20 Zurich SwissIX 2015 - RRC21 Paris FranceIX 2015 -
  • 37. Colin Petrie | RON++ | 14/12/2016 37 RRC01 data production rate
  • 38. Colin Petrie | RON++ | 14/12/2016 38 RRC01 cumulative data
  • 39. Colin Petrie | RON++ | 14/12/2016 39 Data growth • More BGP routes - BGP table has grown from 60,000 to 600,000 routes - more BGP updates - larger RIB (table) dumps • More RIS collectors • More peers at each collector •Non-linear growth curve ;)
  • 40. RIS Operations As the system has evolved
  • 41. Colin Petrie | RON++ | 14/12/2016 41 Original architecture (1999) • Diagram from RIPE-200 (original concept) • Note ‘RIS Server’ - singular! • Also, the ‘database’ - this becomes the hardest part!! Original RIS design (RIPE-200) circa 1999
  • 42. Colin Petrie | RON++ | 14/12/2016 42 Classic architecture (~2003)
  • 43. Colin Petrie | RON++ | 14/12/2016 43 Classic architecture • MySQL database - many millions of BGP updates - hundreds of thousands of BGP routes, seen by hundreds of peers - route attributes (communities, AS_PATH, origin, med, etc) - ASN adjacencies - more/less specific matching - complex data schema
  • 44. Colin Petrie | RON++ | 14/12/2016 44 Scaling MySQL • Splitting and sharding - 8 MySQL servers - some collectors were so big they needed their own MySQL server! • Data retention - database was only query-able for 3 months worth of data - the references grew too large, that every 3 months we basically had to drop all the data, and let it start again!!
  • 45. Colin Petrie | RON++ | 14/12/2016 45 Scaling the collectors • Quagga used as BGP collector • Single-threaded - Not as scalable on modern multi-core CPUs • Locks updates during table-dump process - Requires that dump completes before the hold timer expires, or BGP session will drop • Some data consistency issues - Sometimes updates are missing from the update dumps at the time of a table dump - This makes it difficult to accurately rebuild BGP state at a intermediate time, if updates are not reliable in-between
  • 46. RIS and Atlas Operations Time for a redesign (and this is the current design!)
  • 47. Colin Petrie | RON++ | 14/12/2016 47 Data collection
  • 48. Colin Petrie | RON++ | 14/12/2016 48 Back-end data distribution
  • 49. Colin Petrie | RON++ | 14/12/2016 49 Data processing • Apache Hadoop - An open-source software framework for distributed storage and distributed processing of very large data sets on computer clusters built from commodity hardware. • “Big Data” storage and analytics • Allows us to build a scalable storage and processing cluster • Currently over 150 servers in the cluster! - Although the cluster is not only used for RIS! - Also used by RIPE Atlas and other projects
  • 50. Colin Petrie | RON++ | 14/12/2016 50 Data processing - components • HDFS - distributed, replicated, cluster filesystem • YARN - compute resource manager and application scheduler • Map/Reduce - massive batch job processing • HBase - non-relational distributed database - large tables - billions of rows X millions of columns
  • 51. Colin Petrie | RON++ | 14/12/2016 51 Data processing - components • Spark - Cluster computing used for data stream processing - i.e. non-batch computing • Azkaban - batch workflow job scheduler, dependency tracking etc • Kafka - BGP/Atlas messaging bus
  • 52. Colin Petrie | RON++ | 14/12/2016 52 Data processing - RIS • Raw data inputs: - BGP updates events - everything must start from a BGP message! - BGP table dumps (which can also be derived from updates) • Derived datasets - update-counts, first-last-seen, prefixes-transited-by-asn, peers-list, asn-stats, asn-adjacencies - country-code mapping - aggregated counts for historical overviews - distributed looking-glass processing
  • 53. Colin Petrie | RON++ | 14/12/2016 53 Data processing - Atlas • Raw data inputs: - Atlas measurement messages! • Derived datasets - Mainly aggregated counters for different zoom levels - Probe traffic stats - Ping measurement stats (loss %, min, max, med etc) - DNS query stats (loss %, latency, etc)