1GeoIP2::Model::AnonymouUssIePr(3C)ontributed Perl DocumeGnetoaItPi2o:n:Model::AnonymousIP(3)
2
3
4

NAME

6       GeoIP2::Model::AnonymousIP - Model class for the GeoIP2 Anonymous IP
7       database
8

VERSION

10       version 2.006002
11

SYNOPSIS

13         use 5.008;
14
15         use GeoIP2::Model::AnonymousIP;
16
17         my $anon = GeoIP2::Model::AnonymousIP->new(
18             raw => {
19                 is_anonymous        => 1,
20                 is_hosting_provider => 1,
21                 ip_address          => '24.24.24.24'
22             }
23         );
24
25         print $anon->is_anonymous(), "\n";
26

DESCRIPTION

28       This class provides a model for the data returned by the GeoIP2
29       Anonymous IP database.
30

METHODS

32       This class provides the following methods:
33
34   $anon->is_anonymous()
35       Returns true if the IP address belongs to any sort of anonymous
36       network.
37
38   $anon->is_anonymous_vpn()
39       Returns true if the IP address is registered to an anonymous VPN
40       provider.  If a VPN provider does not register subnets under names
41       associated with them, we will likely only flag their IP ranges using
42       the "is_hosting_provider" attribute.
43
44   $anon->is_hosting_provider()
45       Returns true if the IP address belongs to a hosting or VPN provider
46       (see description of "is_anonymous_vpn" attribute).
47
48   $anon->is_public_proxy()
49       Returns true if the IP address belongs to a public proxy.
50
51   $anon->is_tor_exit_node()
52       Returns true if the IP address is a Tor exit node.
53
54   $anon->ip_address()
55       Returns the IP address used in the lookup.
56

SUPPORT

58       Bugs may be submitted through
59       <https://github.com/maxmind/GeoIP2-perl/issues>.
60

AUTHORS

62       •   Dave Rolsky <drolsky@maxmind.com>
63
64       •   Greg Oschwald <goschwald@maxmind.com>
65
66       •   Mark Fowler <mfowler@maxmind.com>
67
68       •   Olaf Alders <oalders@maxmind.com>
69
71       This software is copyright (c) 2013 - 2019 by MaxMind, Inc.
72
73       This is free software; you can redistribute it and/or modify it under
74       the same terms as the Perl 5 programming language system itself.
75
76
77
78perl v5.36.0                      2023-01-20     GeoIP2::Model::AnonymousIP(3)
Impressum