Assure Ecommerce and Retail Operations Uptime with ThousandEyes
RIPEstat Public demo 16 April 2012
1. RIPEstat
RIPE64 BoF Demo
April 16, 2012
Christopher Amin
1) What is RIPEstat?
2) New features
3) Widget & Data APIs
4) Feedback
Monday, April 16, 12
2. https://stat.ripe.net
What is RIPEstat?
• stats, status – stat!
• a toolbox for internet measurements
•a RESTful data API
• widgets
_ put it where you want it
• community-driven
• Eventually will become the interface to
all RIPE NCC measurement tools
RIPEstat public demo 2
Monday, April 16, 12
3. https://stat.ripe.net
What is RIPEstat?
• stats, status – stat!
• a toolbox for internet measurements
•a RESTful data API
• widgets
_ put it where you want it
• community-driven
• Eventually will become the interface to
all RIPE NCC measurement tools
RIPEstat public demo 2
Monday, April 16, 12
4. What we have added since the last demo
• Object Browser
• Address Space Hierarchy
• Range support
• Lots of widgetization
RIPEstat public demo 3
Monday, April 16, 12
5. Database widgets
_ DB is integral to ¼ of
our widgets
and the
focus of 2
new ones
DB working group
thursday 14:00
RIPEstat public demo 4
Monday, April 16, 12
6. Object Browser
_ fastfocus on relationships of
any RIPE DB object
_ may become more graphical
Range
_ RIPE DB only
_ Rate limits apply Prefix
AS
RIPEstat public demo 5
Monday, April 16, 12
7. Address Space Hierarchy
_ inet(6)num hierarchy
Less specific
_ big picture: colors, icons,
matches
proportions
_ zoom in for details
Exact
_ RIPE DB only match
_ future feature: history?
More specific
matches
Range
Prefix
AS
RIPEstat public demo 6
Monday, April 16, 12
8. Whois
_ First,simple DB widget
_ One aut-num or inetnum
object
Range
_ Route objects
_ All RIRs, not just RIPE DB Prefix
AS
RIPEstat public demo 7
Monday, April 16, 12
9. Resource Overview
_ Announcing AS (from RIS)
_ Special blocks of resources
Range
Prefix
AS
RIPEstat public demo 8
Monday, April 16, 12
10. Address Space Usage
_ big picture view
_ clear ratios
_ based on status of
Range
inetnum’s
_ RIPE DB only Prefix
AS
RIPEstat public demo 9
Monday, April 16, 12
11. Reverse DNS
_ focus on (reverse) DNS
_ For now, RIPE DB only
_ Future: other DNS datasets
Range
Prefix
AS
RIPEstat public demo 10
Monday, April 16, 12
12. Routing Consistency
_ Compare whois objects with actual BGP activity (RIS)
_ Includes information on advertised prefixes, as well as import/export peers
_ Similar to: http://www.ris.ripe.net/rrccng.shtml
Range
Prefix
AS
RIPEstat public demo 11
Monday, April 16, 12
13. Allocation History
_ Tracks allocation of resources
from IANA and the RIRs
_ Full history since mid-2004
Range
Prefix
AS
RIPEstat public demo 12
Monday, April 16, 12
14. Announced Prefixes
_ As seen in global routing by RIS
route collectors
Range
Prefix
AS
RIPEstat public demo 13
Monday, April 16, 12
15. AS Path Length
_ Statistics on routing paths as seen by the RIS route collectors
Range
Prefix
AS
RIPEstat public demo 14
Monday, April 16, 12
16. Geolocation
_ IPv4 sourced from GeoLite by
MaxMind
_ IPv6 country-level sourced from
Range
registration information
_ More datasets in the future Prefix
AS
RIPEstat public demo 15
Monday, April 16, 12
17. Geoloc History
_ tracks proportions of address
space or announced prefixes
locations over time
Range
_ per country or per city
Prefix
AS
RIPEstat public demo 16
Monday, April 16, 12
18. Global Visibility
_ Geographical representation of visibility from the RIS route collectors
Range
Prefix
AS
RIPEstat public demo 17
Monday, April 16, 12
19. Prefix Count
_ Numbers of prefixes or address
space announced by an AS
_ As seen by the RIS route
Range
collectors
Prefix
AS
RIPEstat public demo 18
Monday, April 16, 12
20. Prefix Size Distribution
_ Numbers of prefixes or address
space announced by an AS
_ As seen by RIS route collectors
Range
Prefix
AS
RIPEstat public demo 19
Monday, April 16, 12
21. Routing History
_ Prefixes announced by an AS
over time
_ RIS route collectors
Range
Prefix
AS
RIPEstat public demo 20
Monday, April 16, 12
22. BGP Looking Glass
_ Realtime routing
information from RIS
route collectors
Range
Prefix
AS
RIPEstat public demo 21
Monday, April 16, 12
23. BGP Update Activity
_ Shows numbers of
announcements and
withdrawals seen by RIS
Range
route collectors over
time Prefix
AS
RIPEstat public demo 22
Monday, April 16, 12
24. Blacklist
_ Finds periods when parts
of a prefix featured in
one of several blacklists
Range
_ So far, Spamhaus DROP
and UCE PROTECT Prefix
AS
RIPEstat public demo 23
Monday, April 16, 12
25. Related Prefixes
_ Finds left/right adjacencies
and more/less specifics
_ As seen by RIS route
Range
collectors
Prefix
AS
RIPEstat public demo 24
Monday, April 16, 12
26. RIPEstat APIs
Your website
RIPEstat RIPEstat RIPEstat
widget widget widget
1 2 3
RIPEstat data API
RIPEstat public demo 25
Monday, April 16, 12
27. Widget API
• Embeddable on location in any HTML website
• Purely based on Javascript and HTML(5)
• Data fetched directly from data API via JSON(P)
• Input data configuration defines content
• Customizable layout (visible elements, size)
• Manipulation of the Widget after rendering (reload(), get_data(), etc)
via scripting
RIPEstat public demo 26
Monday, April 16, 12
28. RIPEstat Data API
• RESTful interface over HTTP
• Can return RIPEstat data in various formats (JSON, YAML)
- Let us know if you’d like other formats
• Used by the Widgets, data is fetched directly by the browser
• Simple example:
‣ http://stat.ripe.net/plugin/whats-my-ip/data.json
{
"cached": false,
"data": {
"ip": "2001:67c:2e8:13:223:6cff:fe8d:388c"
},
"messages": [],
"query_id": 11057,
"status": "ok",
"status_code": 200,
"version": "0.1"
}
RIPEstat public demo 27
Monday, April 16, 12
29. Example
_ Embed RIPEstat widgets into your own webpage!
<script src="http://stat.ripe.net/widgets/widget_api.js"></script>
<div class="statwdgtauto"><script>
ripestat.init("as-overview",{"resource":"AS47676"})
</script></div>
RIPEstat public demo 28
Monday, April 16, 12
30. Complete a survey -- (maybe) win a prize!
• https://stat.ripe.net/survey
• Respond before Friday 20th April to have
the chance to win a RIPEstat T-shirt
• 15 winners will be notified by e-mail and
can pick up their shirts at the Info Hub
on Friday 10:30 to 11:00
• If you can’t make it, provide mailing
address and shirt size before 1st of
May.
RIPEstat public demo 29
Monday, April 16, 12
31. Visit the Info Hub
• Any RIPEstat (or RIPE Atlas) questions/feedback:
_ Monday: 10:30-11:00
_ Tuesday: 10:30-11:00
_ Thursday: 12:30-14:00
_ Friday: 10:30-11:00
RIPEstat public demo 30
Monday, April 16, 12
32. Other feedback channels
• Play with it:
_ https://stat.ripe.net/
_ https://stat.ripe.net/docs/widget_api/
_ https://stat.ripe.net/docs/data_api/
• Feedback
_ Comments - on the website
_ Measurement, Analysis and Tools working group
_ Homepage: http://www.ripe.net/ripe/wg/mat/
_ E-mail: mat-wg@ripe.net
_ Private feedback - stat@ripe.net
_ #ripestat on twitter
RIPEstat public demo 31
Monday, April 16, 12
33. The End
This session and the slides will be archived on RIPE labs:
http://labs.ripe.net/
See previous demos and other videos on:
http://www.youtube.com/user/RIPENCC/
Monday, April 16, 12