SlideShare una empresa de Scribd logo
1 de 56
Descargar para leer sin conexión
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

Más contenido relacionado

Destacado

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
 
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
Luis Thomson
 

Destacado (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
 

Similar a RIPE Atlas - Cisco Workshop

Similar a 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)
 

Último

一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
Asmae Rabhi
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
galaxypingy
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 

Último (20)

APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 

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