GeoIP2...mousIP(3pm)
π GeoIP2::Model::AnonymousIP β a whole vibe π
okay so bestie, you found it β this is the manual page for GeoIP2...mousIP(3pm), aka the GeoIP2::Model::AnonymousIP situation. It's the model class for the GeoIP2 Anonymous IP database. Sit down, hydrate, let's go β¨
β¨ VERSION β¨
version 2.006002 β that's the one, that's the era we're in π
πΈ SYNOPSIS πΈ
Here's the whole flex, verbatim, no cap:
use 5.008;
use GeoIP2::Model::AnonymousIP;
my $anon = GeoIP2::Model::AnonymousIP->new(
raw => {
is_anonymous => 1,
is_hosting_provider => 1,
ip_address => '24.24.24.24'
}
);
print $anon->is_anonymous(), "\n";
like, it's giving "make an object, print a boolean, move on" π
π¦ DESCRIPTION π¦
This class provides a model for the data returned by the GeoIP2 Anonymous IP database. That's literally its whole job and it does it beautifully. It's the little wrapper that makes the raw data cute and accessible π«Ά
π METHODS π
This class provides the following methods β a whole roster of baddies:
$anon->is_anonymous()
Returns true if the IP address belongs to any sort of anonymous network. That's the big-picture yes/no π₯
$anon->is_anonymous_vpn()
Returns true if the IP address is registered to an anonymous VPN provider.
okay important detail, don't skip this: If a VPN provider does not register subnets under names associated with them, we will likely only flag their IP ranges using the is_hosting_provider attribute. So like, iykyk β sometimes the VPN flag just isn't the one that catches it, and the hosting provider flag is doing the heavy lifting instead π§
$anon->is_hosting_provider()
Returns true if the IP address belongs to a hosting or VPN provider β see the description of the is_anonymous_vpn attribute above for the whole tea β
$anon->is_public_proxy()
Returns true if the IP address belongs to a public proxy. π΅οΈ
$anon->is_tor_exit_node()
Returns true if the IP address is a Tor exit node. very main character energy, very anonymous π§
$anon->ip_address()
Returns the IP address used in the lookup. Just the actual address, being itself π
π SUPPORT π
Bugs may be submitted through <https://github.com/maxmind/GeoIP2-perl/issues>. if you found a bug, that's not a you problem, that's a them problem, and the link is right there bestie π
π AUTHORS π
The legends responsible, in order:
- Dave Rolsky
<drolsky@maxmind.com> - Greg Oschwald
<goschwald@maxmind.com> - Mark Fowler
<mfowler@maxmind.com> - Olaf Alders
<oalders@maxmind.com>
four icons, one module π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2013 - 2019 by MaxMind, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. free as in freedom, slay β
no cap on the license: it's genuinely free software under the same terms as Perl 5 itself β redistribute it, modify it, do your thing, just keep those terms intact π
and that's the whole page, bestie!! you read all of it, I'm so proud π₯Ή
cute little sign-off, as promised: this page was generated by perl v5.36.0, dated 2022-11-21, and it lives under the manual name GeoIP2...mousIP(3pm). periodt. πβ¨
π¦ where this page comes from
- debian bookworm: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms