line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#=============================================================================== |
2
|
|
|
|
|
|
|
# PODNAME: Net::IP::Identifier::Plugin::Centarra |
3
|
|
|
|
|
|
|
# ABSTRACT: identify Centarra (AS36137 AS40440) owned IP addresses |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# AUTHOR: Reid Augustin (REID) |
6
|
|
|
|
|
|
|
# EMAIL: reid@hellosix.com |
7
|
|
|
|
|
|
|
# CREATED: Sat Nov 8 15:59:36 PST 2014 |
8
|
|
|
|
|
|
|
#=============================================================================== |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
35
|
use 5.008; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
55
|
|
11
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
54
|
|
12
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
59
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# _ENTITY_REGEX_ centarra|avante |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
package Net::IP::Identifier::Plugin::Centarra; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
8
|
use Role::Tiny::With; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
224
|
|
19
|
|
|
|
|
|
|
with qw( Net::IP::Identifier_Role ); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our $VERSION = '0.111'; # VERSION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub new { |
24
|
1
|
|
|
1
|
1
|
3
|
my ($class, %opts) = @_; |
25
|
|
|
|
|
|
|
|
26
|
1
|
|
|
|
|
2
|
my $self = {}; |
27
|
1
|
|
33
|
|
|
6
|
bless $self, (ref $class || $class); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
# List of known Centarra (AS36137 AS40440) IP blocks as of May 2015 |
30
|
1
|
|
|
|
|
4
|
$self->ips( |
31
|
|
|
|
|
|
|
# 7 Network Blocks |
32
|
|
|
|
|
|
|
'66.248.192.0/19', |
33
|
|
|
|
|
|
|
'192.119.144.0/20', |
34
|
|
|
|
|
|
|
'192.161.192.0/18', |
35
|
|
|
|
|
|
|
'192.241.8.0/21', |
36
|
|
|
|
|
|
|
'198.52.128.0/17', |
37
|
|
|
|
|
|
|
'199.195.156.0/22', |
38
|
|
|
|
|
|
|
'2607:bd00::/32', |
39
|
|
|
|
|
|
|
); |
40
|
1
|
|
|
|
|
6
|
return $self; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub name { |
44
|
3
|
|
|
3
|
0
|
9
|
return 'Centarra'; |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__END__ |