| 1 | #=============================================================================== | ||
| 2 | # PODNAME: Net::IP::Identifier::Plugin::Eonix | ||
| 3 | # ABSTRACT: identify Eonix (AS30693) owned IP addresses | ||
| 4 | # | ||
| 5 | # AUTHOR: Reid Augustin (REID) | ||
| 6 | # EMAIL: reid@hellosix.com | ||
| 7 | # CREATED: Sun Oct 12 19:32:46 PDT 2014 | ||
| 8 | #=============================================================================== | ||
| 9 | |||
| 10 | use 5.008; | ||
| 11 | use strict; | ||
| 12 | use warnings; | ||
| 13 | |||
| 14 | package Net::IP::Identifier::Plugin::Eonix; | ||
| 15 | |||
| 16 | use Role::Tiny::With; | ||
| 17 | with qw( Net::IP::Identifier_Role ); | ||
| 18 | |||
| 19 | our $VERSION = '0.106'; # VERSION | ||
| 20 | |||
| 21 | sub new { | ||
| 22 | my ($class, %opts) = @_; | ||
| 23 | |||
| 24 | my $self = {}; | ||
| 25 | bless $self, (ref $class || $class); | ||
| 26 | |||
| 27 | # List of known Eonix (AS30693) IP blocks as of May 2015 | ||
| 28 | $self->ips( | ||
| 29 | # 14 Network Blocks | ||
| 30 | '23.90.0.0/18', | ||
| 31 | '23.231.0.0/17', | ||
| 32 | '50.2.0.0/15', | ||
| 33 | '75.75.224.0/19', | ||
| 34 | '104.140.0.0/16', | ||
| 35 | '104.206.0.0/16', | ||
| 36 | '107.158.0.0/16', | ||
| 37 | '170.130.0.0/16', | ||
| 38 | '173.44.128.0/17', | ||
| 39 | '173.213.64.0/18', | ||
| 40 | '173.232.0.0/16', | ||
| 41 | '206.214.64.0/19', | ||
| 42 | '208.89.216.0/21', | ||
| 43 | '2607:ff28::/32', | ||
| 44 | ); | ||
| 45 | return $self; | ||
| 46 | } | ||
| 47 | |||
| 48 | sub name { | ||
| 49 | return 'Eonix'; | ||
| 50 | } | ||
| 51 | |||
| 52 | 1; | ||
| 53 | |||
| 54 | __END__ |