Skip to content

Commit 0a9c0ca

Browse files
Merge pull request #124 from maxmind/adam/anonymizer-desc
Update descriptions for vpn/hosting provider props
2 parents ca2ee9d + 7afda8a commit 0a9c0ca

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CHANGELOG
22
=========
33

4+
2.9.1
5+
------------------
6+
7+
* Updated documentation of anonymizer properties - `isAnonymousVpn`
8+
and `isHostingProvider` - to be more descriptive.
9+
410
2.9.0 (2018-04-10)
511
------------------
612

src/Model/AnonymousIp.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
*
88
* @property-read bool $isAnonymous This is true if the IP address belongs to
99
* any sort of anonymous network.
10-
* @property-read bool $isAnonymousVpn This is true if the IP address belongs to
11-
* an anonymous VPN system.
10+
* @property-read bool $isAnonymousVpn This is true if the IP address is
11+
* registered to an anonymous VPN provider. If a VPN provider does not
12+
* register subnets under names associated with them, we will likely only
13+
* flag their IP ranges using the isHostingProvider property.
1214
* @property-read bool $isHostingProvider This is true if the IP address belongs
13-
* to a hosting provider.
15+
* to a hosting or VPN provider (see description of isAnonymousVpn property).
1416
* @property-read bool $isPublicProxy This is true if the IP address belongs to
1517
* a public proxy.
1618
* @property-read bool $isTorExitNode This is true if the IP address is a Tor

src/Record/Traits.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@
3939
* {@link * https://www.maxmind.com/en/geoip2-anonymous-ip-database GeoIP2
4040
* Anonymous IP database} to determine whether the IP address is used by an
4141
* anonymizing service.
42-
* @property-read bool $isAnonymousVpn This is true if the IP address belongs to
43-
* an anonymous VPN system. This property is only available from GeoIP2
44-
* Precision Insights.
42+
* @property-read bool $isAnonymousVpn This is true if the IP address is
43+
* registered to an anonymous VPN provider. If a VPN provider does not register
44+
* subnets under names associated with them, we will likely only flag their IP
45+
* ranges using the isHostingProvider property. This property is only available
46+
* from GeoIP2 Precision Insights.
4547
* @property-read bool $isHostingProvider This is true if the IP address belongs
46-
* to a hosting provider. This property is only available from GeoIP2
47-
* Precision Insights.
48+
* to a hosting or VPN provider (see description of isAnonymousVpn property).
49+
* This property is only available from GeoIP2 Precision Insights.
4850
* @property-read bool $isLegitimateProxy This attribute is true if MaxMind
4951
* believes this IP address to be a legitimate proxy, such as an internal
5052
* VPN used by a corporation. This attribute is only available in the GeoIP2

0 commit comments

Comments
 (0)