lita-team-cymru
gem gives Lita the ability to query various data
endpoints exposed by the folks at Team Cymru.
Currently, the following features are supported:
Add lita-team-cymru to your Lita instance's Gemfile:
gem "lita-team-cymru"
This gem requires no configuration.
Map IP address to BGP origin:
< you> lita: cymru lookup 192.5.5.241
< lita> AS | IP | BGP Prefix | CC | Registry | Allocated | AS Name
< lita> 3557 | 192.5.5.241 | 192.5.5.0/24 | US | arin | | ISC-AS - Internet Systems Consortium, Inc., US
Map IPv6 address to BGP origin:
< you> lita: cymru lookup 2001:500:2f::f
< lita> AS | IP | BGP Prefix | CC | Registry | Allocated | AS Name
< lita> 3557 | 2001:500:2f::f | 2001:500:2f::/48 | US | arin | 2008-01-07 | ISC-AS - Internet Systems Consortium, Inc., US
Lookup AS informatoin:
< you> lita: cymru lookup as3557
< lita> AS | CC | Registry | Allocated | AS Name
< lita> 3557 | US | arin | | ISC-AS - Internet Systems Consortium, Inc., US
Check if a given IP address is a bogon:
< you> lita: cymru bogon 127.0.0.1
< lita> Bogon in 127.0.0.0/8
< you> lita: cymru bogon 2a02:4a08::23
< lita> Bogon in 2a02:4a08::/29
< you> lita: cymru bogon 8.8.8.8
< lita> Not a bogon