Skip to content

zygiss/lita-team-cymru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-team-cymru

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:

Installation

Add lita-team-cymru to your Lita instance's Gemfile:

gem "lita-team-cymru"

Configuration

This gem requires no configuration.

Usage

IP to ASN mapping

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

AS information lookup

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

Bogon lookup

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

About

Gem to talk to team-cymru.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages