RIPEstatRIPE64 BoF Demo
April 16, 2012
Christopher Amin
1) What is RIPEstat?2) New features3) Widget & Data APIs4) Feedback
Monday, April 16, 12
RIPEstat public demo
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
2
https://stat.ripe.net
Monday, April 16, 12
RIPEstat public demo
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
2
https://stat.ripe.net
Monday, April 16, 12
RIPEstat public demo
What we have added since the last demo
•Object Browser•Address Space Hierarchy•Range support•Lots of widgetization
3
Monday, April 16, 12
RIPEstat public demo
Database widgets
4
_DB is integral to ¼ of our widgets
and the focus of 2 new ones
DB working group thursday 14:00
Monday, April 16, 12
RIPEstat public demo
Object Browser
5
_fast focus on relationships of any RIPE DB object
_may become more graphical _RIPE DB only_Rate limits apply Prefix
AS
Range
Monday, April 16, 12
RIPEstat public demo
Address Space Hierarchy
6
_inet(6)num hierarchy_big picture: colors, icons,
proportions_zoom in for details_RIPE DB only_future feature: history?
Prefix
AS
Range
Exactmatch
Less specific matches
More specific matches
Monday, April 16, 12
RIPEstat public demo
Whois
7
Prefix
AS
Range
_First, simple DB widget_One aut-num or inetnum
object_Route objects_All RIRs, not just RIPE DB
Monday, April 16, 12
RIPEstat public demo
Resource Overview
8
Prefix
AS
Range
_Announcing AS (from RIS)_Special blocks of resources
Monday, April 16, 12
RIPEstat public demo
Address Space Usage
9
Prefix
AS
Range
_big picture view_clear ratios_based on status of
inetnum’s_RIPE DB only
Monday, April 16, 12
RIPEstat public demo
Reverse DNS
10
Prefix
AS
Range
_focus on (reverse) DNS_For now, RIPE DB only_Future: other DNS datasets
Monday, April 16, 12
RIPEstat public demo
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
11
Prefix
AS
Range
Monday, April 16, 12
RIPEstat public demo
Allocation History
12
Prefix
AS
Range
_Tracks allocation of resources from IANA and the RIRs
_Full history since mid-2004
Monday, April 16, 12
RIPEstat public demo
Announced Prefixes
13
Prefix
AS
Range
_As seen in global routing by RIS route collectors
Monday, April 16, 12
RIPEstat public demo
AS Path Length
14
Prefix
AS
Range
_Statistics on routing paths as seen by the RIS route collectors
Monday, April 16, 12
RIPEstat public demo
Geolocation
15
Prefix
AS
Range
_IPv4 sourced from GeoLite by MaxMind
_IPv6 country-level sourced from registration information
_More datasets in the future
Monday, April 16, 12
RIPEstat public demo
Geoloc History
16
Prefix
AS
Range
_tracks proportions of address space or announced prefixes locations over time
_per country or per city
Monday, April 16, 12
RIPEstat public demo
Global Visibility
17
Prefix
AS
Range
_Geographical representation of visibility from the RIS route collectors
Monday, April 16, 12
RIPEstat public demo
Prefix Count
18
Prefix
AS
Range
_Numbers of prefixes or address space announced by an AS
_As seen by the RIS route collectors
Monday, April 16, 12
RIPEstat public demo
Prefix Size Distribution
19
Prefix
AS
Range
_Numbers of prefixes or address space announced by an AS
_As seen by RIS route collectors
Monday, April 16, 12
RIPEstat public demo
Routing History
20
Prefix
AS
Range
_Prefixes announced by an AS over time
_RIS route collectors
Monday, April 16, 12
RIPEstat public demo
BGP Looking Glass
21
Prefix
AS
Range
_Realtime routing information from RIS route collectors
Monday, April 16, 12
RIPEstat public demo
BGP Update Activity
22
Prefix
AS
Range
_Shows numbers of announcements and withdrawals seen by RIS route collectors over time
Monday, April 16, 12
RIPEstat public demo
Blacklist
23
Prefix
AS
Range
_Finds periods when parts of a prefix featured in one of several blacklists
_So far, Spamhaus DROP and UCE PROTECT
Monday, April 16, 12
RIPEstat public demo
Related Prefixes
24
Prefix
AS
Range
_Finds left/right adjacencies and more/less specifics
_As seen by RIS route collectors
Monday, April 16, 12
RIPEstat public demo
RIPEstat APIs
25
RIPEstat data API
RIPEstat widget
1
RIPEstat widget
2
RIPEstat widget
3
Your website
Monday, April 16, 12
RIPEstat public demo
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
26
Monday, April 16, 12
RIPEstat public demo
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
27
{ "cached": false, "data": { "ip": "2001:67c:2e8:13:223:6cff:fe8d:388c" }, "messages": [], "query_id": 11057, "status": "ok", "status_code": 200, "version": "0.1"}
Monday, April 16, 12
RIPEstat public demo
Example_Embed RIPEstat widgets into your own webpage!
28
<script src="http://stat.ripe.net/widgets/widget_api.js"></script><div class="statwdgtauto"><script>ripestat.init("as-overview",{"resource":"AS47676"})
</script></div>
Monday, April 16, 12
• 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
Complete a survey -- (maybe) win a prize!
29
Monday, April 16, 12
• 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
Visit the Info Hub
30
Monday, April 16, 12
• 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: [email protected]
_ Private feedback - [email protected]_ #ripestat on twitter
RIPEstat public demo
Other feedback channels
31
Monday, April 16, 12
The EndThis 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
Top Related