line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#=============================================================================== |
2
|
|
|
|
|
|
|
# PODNAME: Net::IP::Identifier::Plugin::Toqen |
3
|
|
|
|
|
|
|
# ABSTRACT: identify Toqen LLC (AS30186) 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
|
1
|
|
|
1
|
|
18
|
use 5.008; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
33
|
|
11
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
12
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# _ENTITY_REGEX_ toqen|ross |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
package Net::IP::Identifier::Plugin::Toqen; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
5
|
use Role::Tiny::With; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
151
|
|
19
|
|
|
|
|
|
|
with qw( Net::IP::Identifier_Role ); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our $VERSION = '0.111'; # VERSION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub new { |
24
|
1
|
|
|
1
|
1
|
2
|
my ($class, %opts) = @_; |
25
|
|
|
|
|
|
|
|
26
|
1
|
|
|
|
|
3
|
my $self = {}; |
27
|
1
|
|
33
|
|
|
7
|
bless $self, (ref $class || $class); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
# List of known Toqen LLC (AS30186) IP blocks as of May 2015 |
30
|
1
|
|
|
|
|
4
|
$self->ips( |
31
|
|
|
|
|
|
|
# 6 Network Blocks |
32
|
|
|
|
|
|
|
'108.175.48.0/20', |
33
|
|
|
|
|
|
|
'198.41.96.0/19', |
34
|
|
|
|
|
|
|
'198.54.112.0/20', |
35
|
|
|
|
|
|
|
'199.36.120.0/22', |
36
|
|
|
|
|
|
|
'199.38.240.0/21', |
37
|
|
|
|
|
|
|
'2604:9080::/32', |
38
|
|
|
|
|
|
|
); |
39
|
1
|
|
|
|
|
5
|
return $self; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub name { |
43
|
3
|
|
|
3
|
0
|
8
|
return 'Toqen'; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |