SlideShare ist ein Scribd-Unternehmen logo
1 von 56
Downloaden Sie, um offline zu lesen
Paris | 9 March 2016
Daniel Karrenberg
Massimo Candela
Science Division
RIPE NCC
RIPE Atlas Workshop
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 2
Goals
• Learn how to:
- Benefit from using RIPE Atlas measurements for network
monitoring and troubleshooting
- Use API calls and Command line tool to create and inspect
measurements
- Write code to manipulate Atlas data
- Receive measurement results in real-time
• Get your questions answered by a developer
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 3
Prerequisites
• Do you have a RIPE NCC Access account?
• If not - quickly create one: ripe.net/register
• Do you have credits to spend?
• Redeem this voucher “cisco-paris-atlas” on https://
atlas.ripe.net/user/credits/
Introduction to
RIPE Atlas
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 5
• RIPE Atlas is a global active measurements
platform
• Probes hosted by volunteers
• Data publicly available
• "RIPE Atlas: A Global Internet Measurement
Network" (PDF). Internet Protocol Journal 18.
September 2015. ISSN 1944-1134.
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 6
RIPE Atlas numbers
•9,300+ probes connected (170+ Anchors)
•3,700+ results collected per second
•35,000+ user-defined measurements weekly
- Five types of user-defined measurements available to probe
hosts and RIPE NCC members: ping, traceroute, DNS, SSL,
NTP
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 7
RIPE Atlas coverage
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 8
RIPE Atlas results
• Ongoing global measurements towards root
nameservers
- Visualised as Internet traffic maps
• Ongoing regional measurements towards
“anchors”
• Users can run customised measurements
- ping, traceroute, DNS, SSL/TLS, NTP and HTTP
Measurement Results
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 10
Looking up measurements results
• Go to “Measurements, Maps and Tools” >
“Measurements”
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 11
RIPE Atlas REST APIs
• List of scheduled measurements
- https://atlas.ripe.net/api/v2/measurements/
- https://atlas.ripe.net/api/v2/measurements/{TYPE}/
• Information about a specific measurement
- https://atlas.ripe.net/api/v2/measurements/{ID}/
• Results of a specific measurement
- https://atlas.ripe.net/api/v2/measurements/{ID}/results
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 12
RIPE Atlas REST APIs
• List of probes
- https://atlas.ripe.net/api/v2/probes/
• Information about a specific probe
- https://atlas.ripe.net/api/v2/probes/{ID}
• List of anchors
- https://atlas.ripe.net/api/v2/anchors/
• Information about a specific anchor
- https://atlas.ripe.net/api/v2/anchors/{ID}
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 13
RIPE Atlas REST APIs
• List of measurements targeted to an anchor
- https://atlas.ripe.net/api/v2/anchor-measurements/
• Info about a specific anchor measurement
- https://atlas.ripe.net/api/v2/anchor-measurements/{ID}
V2 has been not released yet
The format may change
Documentation: https://atlas.ripe.net/docs/rest/
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 14
Available visualisations
• List of probes:
sortable by RTT
• Map: colour-coded by
RTT
• LatencyMON:
compare multiple
latency trends
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 15
LatencyMON
Creating a Measurement
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 17
Benefits of your own measurements
• A customer reports a problem: he cannot
reach one of your servers
- You can schedule measurements (e.g. pings or
traceroutes) from up to 500 RIPE Atlas probes worldwide to
check where the problem might be
• Measuring packet loss on a suspected “bad”
link
• Testing anycast deployment
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 18
Credits system
• Running your own measurements cost credits
- ping = 10 credits, traceroute = 20, etc.
• Why? Fairness and to avoid overload
• Daily spending limit & max measurements user can create
• Hosting a RIPE Atlas probe earns credits
• Earn extra credits by:
- Being a RIPE NCC member
- Hosting an anchor
- Sponsoring probes
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 19
Credits overview
My Atlas > Credits
Give credits
to someone
DEMO
Create a Measurement (GUI)
Explore advanced parameters
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 21
Using API to schedule a measurement
• Using command-line & scripting:
- https://atlas.ripe.net/docs/measurement-creation-api/
- https://atlas.ripe.net/keys/
• You will need API keys
- To create measurements without logging in
- To securely share your measurement data
DEMO
Create an API key
Create a Measurement (API)
Exercise
Create a Measurement
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 24
Tasks
• Create a TCP traceroute measurement:
- Involving 10 probes
- The closest five at the workshop location (Issy-les-Moulineaux)
- Another random five from another country of your choice
- To a target of your choice
- Duration of two days
- Repeated every 60 seconds
1. Model a measurement using the GUI
2. Create API key
3. Schedule a measurement using the API
Code with RIPE Atlas
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 26
RIPE Atlas Sagan
• A translation layer for RIPE Atlas
measurement results
- https://github.com/RIPE-NCC/ripe.atlas.sagan
- pip install ripe.atlas.sagan
• Transforms JSON results in Python objects
• The output is firmware version transparent
• Pre-computes useful attributes (e.g. Does a
traceroute reach the target host?)
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 27
RIPE Atlas Cousteau
• A python wrapper around RIPE Atlas API
- https://github.com/RIPE-NCC/ripe-atlas-cousteau
- pip install ripe.atlas.cousteau
• Fetches results from API and streaming, and
probe and measurement information
• You can manage measurements:
- Create a measurement
- Stop a measurement
- Change probes involved
DEMO
Fetching and Creating a Measurement with
RIPE Atlas Cousteau
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 29
RIPE Atlas Cousteau Demo
• Fetch results
- https://github.com/RIPE-NCC/ripe-atlas-cousteau#fetch-results
• Fetch real-time results
- https://github.com/RIPE-NCC/ripe-atlas-cousteau#fetch-real-time-
results
• Create a measurement
- https://github.com/RIPE-NCC/ripe-atlas-cousteau#creating-a-
measurement
• More
- https://github.com/RIPE-NCC/ripe-atlas-cousteau
Exercise
Create a Measurement by Using RIPE
Atlas Cousteau
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 31
Tasks
• Create a ping measurement:
- Involving 10 probes worldwide
- Targeting www.google.fr
- One-off
• Annotate the measurement ID returned
• Fetch the results after a few minutes (no real-time)
Real-time performance
monitoring
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 33
RIPE Atlas streaming
• RIPE Atlas streaming is an architecture that
allows users to receive the measurement
results as soon as they are sent by the probes
- in real time
- Publish/subscribe through web sockets
• There are three types of data:
- Measurement results
- Probe connection status events
- Measurements metadata
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 34
RIPE Atlas streaming
• Visualising network outages
-http://sg-pub.ripe.net/demo-area/atlas-stream/conn/
• Real-time server and performance monitoring
• Filtering and reusing measurement results
• Documentation:
- https://atlas.ripe.net/docs/result-streaming/
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 35
How it Works (Client)
1.Create a socket
2.Create a callback (function)
- for each event type
- to be executed for each message received
3.Start listening the channel
4.Declare what you want to receive for that
event type
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 36
How it Works (Client)
Exercise
Using streaming API
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 38
EX1: Monitoring server reachability
• Scenario: customers are complaining that it
occasionally takes a long time to reach your
service or server
• Action: ping your server from 500 probes
- Decide what is acceptable latency threshold to apply
- Notice and react when you start receiving samples
• Task: Use the ping measurement ID 2340408
- Choose which threshold (e.g. greater than 30ms)
- Imposes the threshold on “min” (the minimum result of the
three ping attempts)
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 39
Steps
1.Go to 

http://atlas.ripe.net/webinar/streaming01.html
2.Open the development console
3.Wait for results to arrive
4.Save the HTML file locally and edit the code
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 40
Page Source
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 41
Example of results
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 42
EX2: Monitoring server reachability
• Imagine you are in the situation described in
the exercise before, but you didn’t schedule a
measurement in advance
- You don’t have a measurement ID
• You want to get all the measurements
reaching 193.0.10.197
• Now restrict the results to just include ping
measurements
Command-line Interface (CLI) Toolset
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 44
RIPE Atlas CLI
• Network troubleshooting for command line
pros
• Familiar output (ping, dig, traceroute)
• Linux/OSX
- http://ripe-atlas-tools.readthedocs.org/en/latest/
installation.html#requirements-and-installation
• Windows [experimental]
- https://github.com/chrisamin/ripe-atlas-tools-win32
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 45
RIPE Atlas CLI
• Open source
- RIPE NCC led community contribution
• Documentation
- https://ripe-atlas-tools.readthedocs.org/
• Source:
- https://github.com/RIPE-NCC/ripe-atlas-tools/
• How to contribute:
- https://github.com/RIPE-NCC/ripe-atlas-tools/blob/master/
CONTRIBUTING.rst
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 46
Configure RIPE Atlas CLI
• Reuse the API key of the previous exercise
- Or create a new one at https://atlas.ripe.net/keys/
• Configure your CLI
- ripe-atlas configure --set authorisation.create=MY_API_KEY
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 47
Fetch an existing measurement
• Fetch the ping measurement 2340408
- ripe-atlas report 2340408
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 48
Search probes
• Search all probes in AS 3333
- ripe-atlas probes --asn 3333
• Show specific fields
- ripe-atlas probes --asn 3333 --field asn_v6 --field country 

--field is_public --field description --field status
• Search for probes in and around Paris
- ripe-atlas probes --location "Paris, France" --radius 15
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 49
Create a measurement
• Create a ping measurement to wikipedia.org
- One-off, default parameters
- ripe-atlas measure ping --target wikipedia.org
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 50
Other examples of ping
• Geo-specific from 20 probes from Canada:
- ripe-atlas measure ping --target example.com --probes 20
--from-country ca
• 20 Canadian probes that definitely support
IPv6:
- ripe-atlas measure ping --target example.com --probes 20
--from-country ca --include-tag system-ipv6-works
• Create a recurring measurement:
- ripe-atlas measure ping --target example.com --interval
3600
Exercise
Using RIPE Atlas CLI
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 52
Search probes
• Use the traceroute command to test the
reachability of wikipedia.org on TCP port 443
from 20 probes in France
• Render the results collected in the previous
exercise in json format
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 53
Search probes
• Use the traceroute command to test the
reachability of wikipedia.org on TCP port 443
from 20 probes in France
- ripe-atlas measure traceroute --protocol TCP --target
wikipedia.org --port 443 --probes 20 --from-country fr
• Render the results collected in the previous
exercise in json format
- ripe-atlas report {MSM_ID} --renderer raw
Take part in the
RIPE Atlas community
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 55
RIPE Atlas community (part 1)
• Individual volunteers host probes in homes or
offices
• Organisations host RIPE Atlas Anchors
• Sponsor organisations give financial support
or host multiple probes in their own networks
Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 56
Contact us
• https://atlas.ripe.net & http://roadmap.ripe.net/
ripe-atlas/
• Users’ mailing list: ripe-atlas@ripe.net
• Articles and updates: https://labs.ripe.net/atlas
• Questions and bugs: atlas@ripe.net
• Twitter: @RIPE_Atlas and #RIPEAtlas

Weitere ähnliche Inhalte

Andere mochten auch

Termorregulacion y piel
Termorregulacion y pielTermorregulacion y piel
Termorregulacion y pielyumaath
 
CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...
CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...
CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...CrowdStrike
 
ISP summit - Toronto 2016
ISP summit - Toronto 2016ISP summit - Toronto 2016
ISP summit - Toronto 2016Massimo Candela
 
3Com USROBOTICS TOTAL CON
3Com USROBOTICS TOTAL CON3Com USROBOTICS TOTAL CON
3Com USROBOTICS TOTAL CONsavomir
 
Infograma individual
Infograma individualInfograma individual
Infograma individualBalwin2
 
Periféricos de procesamiento de datos
Periféricos de procesamiento de datosPeriféricos de procesamiento de datos
Periféricos de procesamiento de datosJose Tejada
 
DETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍA
DETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍADETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍA
DETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍALuis Thomson
 
Sarah T8
Sarah T8Sarah T8
Sarah T8Comm202
 

Andere mochten auch (11)

Termorregulacion y piel
Termorregulacion y pielTermorregulacion y piel
Termorregulacion y piel
 
CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...
CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...
CrowdStrike CrowdCast: Is Ransomware Morphing Beyond The Ability Of Standard ...
 
Sociedade da Informação
Sociedade da InformaçãoSociedade da Informação
Sociedade da Informação
 
ISP summit - Toronto 2016
ISP summit - Toronto 2016ISP summit - Toronto 2016
ISP summit - Toronto 2016
 
3Com USROBOTICS TOTAL CON
3Com USROBOTICS TOTAL CON3Com USROBOTICS TOTAL CON
3Com USROBOTICS TOTAL CON
 
Infograma individual
Infograma individualInfograma individual
Infograma individual
 
Periféricos de procesamiento de datos
Periféricos de procesamiento de datosPeriféricos de procesamiento de datos
Periféricos de procesamiento de datos
 
Music detailed lesson plan
Music detailed lesson plan Music detailed lesson plan
Music detailed lesson plan
 
DETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍA
DETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍADETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍA
DETERMINACIÓN DE ORO Y ALUMINIO POR EL MÉTODO DE ESPECTROMETRÍA
 
Sarah T8
Sarah T8Sarah T8
Sarah T8
 
Tikal park
Tikal parkTikal park
Tikal park
 

Ähnlich wie RIPE Atlas - Cisco Workshop

RIPE Atlas Monitoring Tutorial
RIPE Atlas Monitoring TutorialRIPE Atlas Monitoring Tutorial
RIPE Atlas Monitoring TutorialAPNIC
 
RIPE Atlas
RIPE AtlasRIPE Atlas
RIPE AtlasRIPE NCC
 
The RIPE Atlas Global Internet Measurement Network
The RIPE Atlas Global Internet Measurement NetworkThe RIPE Atlas Global Internet Measurement Network
The RIPE Atlas Global Internet Measurement NetworkRIPE NCC
 
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 DNSMONRIPE NCC
 
RIPE NCC Tools and Measurements
RIPE NCC Tools and MeasurementsRIPE NCC Tools and Measurements
RIPE NCC Tools and MeasurementsRIPE NCC
 
More Measurements: Expanding RIPE Atlas Anchors
More Measurements: Expanding RIPE Atlas AnchorsMore Measurements: Expanding RIPE Atlas Anchors
More Measurements: Expanding RIPE Atlas AnchorsRIPE NCC
 
Network Visualisation: Focus on RIPE Atlas
Network Visualisation: Focus on RIPE AtlasNetwork Visualisation: Focus on RIPE Atlas
Network Visualisation: Focus on RIPE AtlasRIPE NCC
 
Network Visualisation Workshop
Network Visualisation WorkshopNetwork Visualisation Workshop
Network Visualisation WorkshopRIPE NCC
 
RIPE Atlas for Network Researchers
RIPE Atlas for Network ResearchersRIPE Atlas for Network Researchers
RIPE Atlas for Network ResearchersRIPE NCC
 
Contributing to RIPE Atlas: Operators, Researchers, Coders
Contributing to RIPE Atlas: Operators, Researchers, CodersContributing to RIPE Atlas: Operators, Researchers, Coders
Contributing to RIPE Atlas: Operators, Researchers, CodersAPNIC
 
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 AnalysisRIPE NCC
 
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 AnalysisRIPE NCC
 
Network Monitoring Using RIPE Atlas
Network Monitoring Using RIPE AtlasNetwork Monitoring Using RIPE Atlas
Network Monitoring Using RIPE AtlasRIPE NCC
 
PLOTCON NYC: Interactive Visual Statistics on Massive Datasets
PLOTCON NYC: Interactive Visual Statistics on Massive DatasetsPLOTCON NYC: Interactive Visual Statistics on Massive Datasets
PLOTCON NYC: Interactive Visual Statistics on Massive DatasetsPlotly
 
Peering Day 2013
Peering Day 2013Peering Day 2013
Peering Day 2013RIPE NCC
 
RIPE Atlas Streaming
RIPE Atlas StreamingRIPE Atlas Streaming
RIPE Atlas StreamingRIPE NCC
 
Can we measure the (de)centralisedness of the Internet with RIPE Atlas?
Can we measure the (de)centralisedness of the Internet with RIPE Atlas?Can we measure the (de)centralisedness of the Internet with RIPE Atlas?
Can we measure the (de)centralisedness of the Internet with RIPE Atlas?RIPE NCC
 
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 MeasurementsRIPE NCC
 
The Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren ShureThe Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren ShureBig Data Spain
 
Reco4J @ Munich Meetup (April 18th)
Reco4J @ Munich Meetup (April 18th)Reco4J @ Munich Meetup (April 18th)
Reco4J @ Munich Meetup (April 18th)Alessandro Negro
 

Ähnlich wie RIPE Atlas - Cisco Workshop (20)

RIPE Atlas Monitoring Tutorial
RIPE Atlas Monitoring TutorialRIPE Atlas Monitoring Tutorial
RIPE Atlas Monitoring Tutorial
 
RIPE Atlas
RIPE AtlasRIPE Atlas
RIPE Atlas
 
The RIPE Atlas Global Internet Measurement Network
The RIPE Atlas Global Internet Measurement NetworkThe RIPE Atlas Global Internet Measurement Network
The RIPE Atlas Global Internet Measurement Network
 
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
 
RIPE NCC Tools and Measurements
RIPE NCC Tools and MeasurementsRIPE NCC Tools and Measurements
RIPE NCC Tools and Measurements
 
More Measurements: Expanding RIPE Atlas Anchors
More Measurements: Expanding RIPE Atlas AnchorsMore Measurements: Expanding RIPE Atlas Anchors
More Measurements: Expanding RIPE Atlas Anchors
 
Network Visualisation: Focus on RIPE Atlas
Network Visualisation: Focus on RIPE AtlasNetwork Visualisation: Focus on RIPE Atlas
Network Visualisation: Focus on RIPE Atlas
 
Network Visualisation Workshop
Network Visualisation WorkshopNetwork Visualisation Workshop
Network Visualisation Workshop
 
RIPE Atlas for Network Researchers
RIPE Atlas for Network ResearchersRIPE Atlas for Network Researchers
RIPE Atlas for Network Researchers
 
Contributing to RIPE Atlas: Operators, Researchers, Coders
Contributing to RIPE Atlas: Operators, Researchers, CodersContributing to RIPE Atlas: Operators, Researchers, Coders
Contributing to RIPE Atlas: Operators, Researchers, Coders
 
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
 
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
 
Network Monitoring Using RIPE Atlas
Network Monitoring Using RIPE AtlasNetwork Monitoring Using RIPE Atlas
Network Monitoring Using RIPE Atlas
 
PLOTCON NYC: Interactive Visual Statistics on Massive Datasets
PLOTCON NYC: Interactive Visual Statistics on Massive DatasetsPLOTCON NYC: Interactive Visual Statistics on Massive Datasets
PLOTCON NYC: Interactive Visual Statistics on Massive Datasets
 
Peering Day 2013
Peering Day 2013Peering Day 2013
Peering Day 2013
 
RIPE Atlas Streaming
RIPE Atlas StreamingRIPE Atlas Streaming
RIPE Atlas Streaming
 
Can we measure the (de)centralisedness of the Internet with RIPE Atlas?
Can we measure the (de)centralisedness of the Internet with RIPE Atlas?Can we measure the (de)centralisedness of the Internet with RIPE Atlas?
Can we measure the (de)centralisedness of the Internet with RIPE Atlas?
 
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
 
The Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren ShureThe Rise of Engineering-Driven Analytics by Loren Shure
The Rise of Engineering-Driven Analytics by Loren Shure
 
Reco4J @ Munich Meetup (April 18th)
Reco4J @ Munich Meetup (April 18th)Reco4J @ Munich Meetup (April 18th)
Reco4J @ Munich Meetup (April 18th)
 

Kürzlich hochgeladen

Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxBipin Adhikari
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxeditsforyah
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleanscorenetworkseo
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 

Kürzlich hochgeladen (20)

Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptx
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 

RIPE Atlas - Cisco Workshop

  • 1. Paris | 9 March 2016 Daniel Karrenberg Massimo Candela Science Division RIPE NCC RIPE Atlas Workshop
  • 2. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 2 Goals • Learn how to: - Benefit from using RIPE Atlas measurements for network monitoring and troubleshooting - Use API calls and Command line tool to create and inspect measurements - Write code to manipulate Atlas data - Receive measurement results in real-time • Get your questions answered by a developer
  • 3. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 3 Prerequisites • Do you have a RIPE NCC Access account? • If not - quickly create one: ripe.net/register • Do you have credits to spend? • Redeem this voucher “cisco-paris-atlas” on https:// atlas.ripe.net/user/credits/
  • 5. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 5 • RIPE Atlas is a global active measurements platform • Probes hosted by volunteers • Data publicly available • "RIPE Atlas: A Global Internet Measurement Network" (PDF). Internet Protocol Journal 18. September 2015. ISSN 1944-1134.
  • 6. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 6 RIPE Atlas numbers •9,300+ probes connected (170+ Anchors) •3,700+ results collected per second •35,000+ user-defined measurements weekly - Five types of user-defined measurements available to probe hosts and RIPE NCC members: ping, traceroute, DNS, SSL, NTP
  • 7. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 7 RIPE Atlas coverage
  • 8. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 8 RIPE Atlas results • Ongoing global measurements towards root nameservers - Visualised as Internet traffic maps • Ongoing regional measurements towards “anchors” • Users can run customised measurements - ping, traceroute, DNS, SSL/TLS, NTP and HTTP
  • 10. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 10 Looking up measurements results • Go to “Measurements, Maps and Tools” > “Measurements”
  • 11. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 11 RIPE Atlas REST APIs • List of scheduled measurements - https://atlas.ripe.net/api/v2/measurements/ - https://atlas.ripe.net/api/v2/measurements/{TYPE}/ • Information about a specific measurement - https://atlas.ripe.net/api/v2/measurements/{ID}/ • Results of a specific measurement - https://atlas.ripe.net/api/v2/measurements/{ID}/results
  • 12. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 12 RIPE Atlas REST APIs • List of probes - https://atlas.ripe.net/api/v2/probes/ • Information about a specific probe - https://atlas.ripe.net/api/v2/probes/{ID} • List of anchors - https://atlas.ripe.net/api/v2/anchors/ • Information about a specific anchor - https://atlas.ripe.net/api/v2/anchors/{ID}
  • 13. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 13 RIPE Atlas REST APIs • List of measurements targeted to an anchor - https://atlas.ripe.net/api/v2/anchor-measurements/ • Info about a specific anchor measurement - https://atlas.ripe.net/api/v2/anchor-measurements/{ID} V2 has been not released yet The format may change Documentation: https://atlas.ripe.net/docs/rest/
  • 14. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 14 Available visualisations • List of probes: sortable by RTT • Map: colour-coded by RTT • LatencyMON: compare multiple latency trends
  • 15. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 15 LatencyMON
  • 17. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 17 Benefits of your own measurements • A customer reports a problem: he cannot reach one of your servers - You can schedule measurements (e.g. pings or traceroutes) from up to 500 RIPE Atlas probes worldwide to check where the problem might be • Measuring packet loss on a suspected “bad” link • Testing anycast deployment
  • 18. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 18 Credits system • Running your own measurements cost credits - ping = 10 credits, traceroute = 20, etc. • Why? Fairness and to avoid overload • Daily spending limit & max measurements user can create • Hosting a RIPE Atlas probe earns credits • Earn extra credits by: - Being a RIPE NCC member - Hosting an anchor - Sponsoring probes
  • 19. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 19 Credits overview My Atlas > Credits Give credits to someone
  • 20. DEMO Create a Measurement (GUI) Explore advanced parameters
  • 21. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 21 Using API to schedule a measurement • Using command-line & scripting: - https://atlas.ripe.net/docs/measurement-creation-api/ - https://atlas.ripe.net/keys/ • You will need API keys - To create measurements without logging in - To securely share your measurement data
  • 22. DEMO Create an API key Create a Measurement (API)
  • 24. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 24 Tasks • Create a TCP traceroute measurement: - Involving 10 probes - The closest five at the workshop location (Issy-les-Moulineaux) - Another random five from another country of your choice - To a target of your choice - Duration of two days - Repeated every 60 seconds 1. Model a measurement using the GUI 2. Create API key 3. Schedule a measurement using the API
  • 25. Code with RIPE Atlas
  • 26. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 26 RIPE Atlas Sagan • A translation layer for RIPE Atlas measurement results - https://github.com/RIPE-NCC/ripe.atlas.sagan - pip install ripe.atlas.sagan • Transforms JSON results in Python objects • The output is firmware version transparent • Pre-computes useful attributes (e.g. Does a traceroute reach the target host?)
  • 27. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 27 RIPE Atlas Cousteau • A python wrapper around RIPE Atlas API - https://github.com/RIPE-NCC/ripe-atlas-cousteau - pip install ripe.atlas.cousteau • Fetches results from API and streaming, and probe and measurement information • You can manage measurements: - Create a measurement - Stop a measurement - Change probes involved
  • 28. DEMO Fetching and Creating a Measurement with RIPE Atlas Cousteau
  • 29. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 29 RIPE Atlas Cousteau Demo • Fetch results - https://github.com/RIPE-NCC/ripe-atlas-cousteau#fetch-results • Fetch real-time results - https://github.com/RIPE-NCC/ripe-atlas-cousteau#fetch-real-time- results • Create a measurement - https://github.com/RIPE-NCC/ripe-atlas-cousteau#creating-a- measurement • More - https://github.com/RIPE-NCC/ripe-atlas-cousteau
  • 30. Exercise Create a Measurement by Using RIPE Atlas Cousteau
  • 31. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 31 Tasks • Create a ping measurement: - Involving 10 probes worldwide - Targeting www.google.fr - One-off • Annotate the measurement ID returned • Fetch the results after a few minutes (no real-time)
  • 33. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 33 RIPE Atlas streaming • RIPE Atlas streaming is an architecture that allows users to receive the measurement results as soon as they are sent by the probes - in real time - Publish/subscribe through web sockets • There are three types of data: - Measurement results - Probe connection status events - Measurements metadata
  • 34. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 34 RIPE Atlas streaming • Visualising network outages -http://sg-pub.ripe.net/demo-area/atlas-stream/conn/ • Real-time server and performance monitoring • Filtering and reusing measurement results • Documentation: - https://atlas.ripe.net/docs/result-streaming/
  • 35. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 35 How it Works (Client) 1.Create a socket 2.Create a callback (function) - for each event type - to be executed for each message received 3.Start listening the channel 4.Declare what you want to receive for that event type
  • 36. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 36 How it Works (Client)
  • 38. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 38 EX1: Monitoring server reachability • Scenario: customers are complaining that it occasionally takes a long time to reach your service or server • Action: ping your server from 500 probes - Decide what is acceptable latency threshold to apply - Notice and react when you start receiving samples • Task: Use the ping measurement ID 2340408 - Choose which threshold (e.g. greater than 30ms) - Imposes the threshold on “min” (the minimum result of the three ping attempts)
  • 39. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 39 Steps 1.Go to 
 http://atlas.ripe.net/webinar/streaming01.html 2.Open the development console 3.Wait for results to arrive 4.Save the HTML file locally and edit the code
  • 40. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 40 Page Source
  • 41. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 41 Example of results
  • 42. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 42 EX2: Monitoring server reachability • Imagine you are in the situation described in the exercise before, but you didn’t schedule a measurement in advance - You don’t have a measurement ID • You want to get all the measurements reaching 193.0.10.197 • Now restrict the results to just include ping measurements
  • 44. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 44 RIPE Atlas CLI • Network troubleshooting for command line pros • Familiar output (ping, dig, traceroute) • Linux/OSX - http://ripe-atlas-tools.readthedocs.org/en/latest/ installation.html#requirements-and-installation • Windows [experimental] - https://github.com/chrisamin/ripe-atlas-tools-win32
  • 45. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 45 RIPE Atlas CLI • Open source - RIPE NCC led community contribution • Documentation - https://ripe-atlas-tools.readthedocs.org/ • Source: - https://github.com/RIPE-NCC/ripe-atlas-tools/ • How to contribute: - https://github.com/RIPE-NCC/ripe-atlas-tools/blob/master/ CONTRIBUTING.rst
  • 46. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 46 Configure RIPE Atlas CLI • Reuse the API key of the previous exercise - Or create a new one at https://atlas.ripe.net/keys/ • Configure your CLI - ripe-atlas configure --set authorisation.create=MY_API_KEY
  • 47. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 47 Fetch an existing measurement • Fetch the ping measurement 2340408 - ripe-atlas report 2340408
  • 48. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 48 Search probes • Search all probes in AS 3333 - ripe-atlas probes --asn 3333 • Show specific fields - ripe-atlas probes --asn 3333 --field asn_v6 --field country 
 --field is_public --field description --field status • Search for probes in and around Paris - ripe-atlas probes --location "Paris, France" --radius 15
  • 49. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 49 Create a measurement • Create a ping measurement to wikipedia.org - One-off, default parameters - ripe-atlas measure ping --target wikipedia.org
  • 50. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 50 Other examples of ping • Geo-specific from 20 probes from Canada: - ripe-atlas measure ping --target example.com --probes 20 --from-country ca • 20 Canadian probes that definitely support IPv6: - ripe-atlas measure ping --target example.com --probes 20 --from-country ca --include-tag system-ipv6-works • Create a recurring measurement: - ripe-atlas measure ping --target example.com --interval 3600
  • 52. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 52 Search probes • Use the traceroute command to test the reachability of wikipedia.org on TCP port 443 from 20 probes in France • Render the results collected in the previous exercise in json format
  • 53. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 53 Search probes • Use the traceroute command to test the reachability of wikipedia.org on TCP port 443 from 20 probes in France - ripe-atlas measure traceroute --protocol TCP --target wikipedia.org --port 443 --probes 20 --from-country fr • Render the results collected in the previous exercise in json format - ripe-atlas report {MSM_ID} --renderer raw
  • 54. Take part in the RIPE Atlas community
  • 55. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 55 RIPE Atlas community (part 1) • Individual volunteers host probes in homes or offices • Organisations host RIPE Atlas Anchors • Sponsor organisations give financial support or host multiple probes in their own networks
  • 56. Daniel Karrenberg | Massimo Candela | RIPE Atlas workshop | 9 March 2016 56 Contact us • https://atlas.ripe.net & http://roadmap.ripe.net/ ripe-atlas/ • Users’ mailing list: ripe-atlas@ripe.net • Articles and updates: https://labs.ripe.net/atlas • Questions and bugs: atlas@ripe.net • Twitter: @RIPE_Atlas and #RIPEAtlas