| 1 | #=============================================================================== | ||
| 2 | # PODNAME: Net::IP::Identifier::Plugin::HostingSlnInt | ||
| 3 | # ABSTRACT: identify Hosting Solutions International (ASN30083) owned IP addresses | ||
| 4 | # | ||
| 5 | # AUTHOR: Reid Augustin (REID) | ||
| 6 | # EMAIL: reid@hellosix.com | ||
| 7 | # CREATED: Wed Nov 19 11:00:13 PST 2014 | ||
| 8 | #=============================================================================== | ||
| 9 | |||
| 10 | use 5.008; | ||
| 11 | use strict; | ||
| 12 | use warnings; | ||
| 13 | |||
| 14 | package Net::IP::Identifier::Plugin::HostingSlnInt; # _ENTITY_REGEX_ Hosting Solutions | ||
| 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 Hosting Solutions International (ASN30083) IP blocks as | ||
| 28 | # of May 2015 | ||
| 29 | $self->ips( | ||
| 30 | # 8 Network Blocks | ||
| 31 | '50.30.32.0/20', | ||
| 32 | '69.64.32.0/19', | ||
| 33 | '173.224.112.0/20', | ||
| 34 | '199.189.84.0/22', | ||
| 35 | '199.217.112.0/21', | ||
| 36 | '209.126.96.0/19', | ||
| 37 | '209.239.112.0/20', | ||
| 38 | '2605:de00::/32', | ||
| 39 | ); | ||
| 40 | return $self; | ||
| 41 | } | ||
| 42 | |||
| 43 | sub name { | ||
| 44 | return 'HostingSlnInt'; | ||
| 45 | } | ||
| 46 | |||
| 47 | 1; | ||
| 48 | |||
| 49 | __END__ |