| 1 | #=============================================================================== | ||
| 2 | # PODNAME: Net::IP::Identifier::Plugin::VPLS | ||
| 3 | # ABSTRACT: identify VPLS/Krypt (AS45652, AS4213, AS35908) 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::VPLS; | ||
| 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 VPLS/Krypt (AS45652, AS4213, AS35908) IP blocks as of May 2015 | ||
| 28 | $self->ips( | ||
| 29 | # 24 Network Blocks | ||
| 30 | '23.91.192.0/19', | ||
| 31 | '23.251.0.0/19', | ||
| 32 | '43.252.120.0/22', | ||
| 33 | '66.186.32.0/19', | ||
| 34 | '67.198.128.0/17', | ||
| 35 | '67.229.0.0/16', | ||
| 36 | '74.222.128.0/18', | ||
| 37 | '96.62.0.0/16', | ||
| 38 | '98.126.0.0/16', | ||
| 39 | '100.43.128.0/18', | ||
| 40 | '103.233.80.0/22', | ||
| 41 | '104.200.192.0/19', | ||
| 42 | '107.6.192.0/18', | ||
| 43 | '110.34.139.0/24', | ||
| 44 | '110.34.220.0/22', | ||
| 45 | '173.214.0.0/17', | ||
| 46 | '174.139.0.0/16', | ||
| 47 | '184.75.176.0/20', | ||
| 48 | '184.83.0.0/16', | ||
| 49 | '184.164.192.0/19', | ||
| 50 | '192.174.96.0/19', | ||
| 51 | '198.61.96.0/19', | ||
| 52 | '209.11.240.0/20', | ||
| 53 | '2607:f180::/31', | ||
| 54 | ); | ||
| 55 | return $self; | ||
| 56 | } | ||
| 57 | |||
| 58 | sub name { | ||
| 59 | return 'VPLS'; | ||
| 60 | } | ||
| 61 | |||
| 62 | 1; | ||
| 63 | |||
| 64 | __END__ |