Skip to content

Commit c792300

Browse files
committed
Add AIC (AI Crawler) detection.
1 parent 9ef5143 commit c792300

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ To learn more about installation, usage, and code examples, please visit the dev
2525
| RES | Residential proxies. These services offer users proxy connections through residential ISP with or without consents of peers to share their idle resources. Only available with PX10 - PX12 | Medium |
2626
| CPN | Consumer Privacy Network: These services ensure encrypted traffic from the user's browser by routing internet requests through relays, concealing the IP address, location, and browsing activity. Only available with PX11 & PX12 | Low |
2727
| EPN | Enterprise Private Network: Services like SASE or SD-WAN combine network security functions with wide-area networking (WAN) capabilities to meet the secure remote access needs of organizations. Only available with PX11 & PX12 | Low |
28+
| AIC | AI Crawler. Specifically identifies IP addresses used by artificial intelligence companies to crawl the web for LLM training data or real-time retrieval (RAG). Only available with PX12 | Low |
2829

2930

3031

@@ -42,6 +43,7 @@ To learn more about installation, usage, and code examples, please visit the dev
4243
- (DCH) Data Center/Web Hosting/Transit
4344
- (SES) Search Engine Spider
4445
- (RSV) Reserved
46+
- (AIC) AI Crawler
4547

4648

4749

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require-dev": {
15-
"phpunit/phpunit": ">=12.5.22"
15+
"phpunit/phpunit": ">=11"
1616
},
1717
"require": {
1818
"php": ">=7.2",

src/Database.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class Database
205205
*
206206
* @var string
207207
*/
208-
private const VERSION = '4.2.1';
208+
private const VERSION = '4.3.0';
209209

210210
/**
211211
* Include the IP address of the looked up IP address.
@@ -885,7 +885,7 @@ public function lookup($ip, $fields = null, $asNamed = true)
885885
} else {
886886
$proxyType = $this->readProxyType($pointer);
887887

888-
$results[self::IS_PROXY] = ($proxyType == '-') ? 0 : (($proxyType == 'DCH' || $proxyType == 'SES') ? 2 : 1);
888+
$results[self::IS_PROXY] = ($proxyType == '-') ? 0 : (($proxyType == 'DCH' || $proxyType == 'SES' || $proxyType == 'AIC') ? 2 : 1);
889889

890890
if (\strlen($proxyType) > 3) {
891891
$results[self::IS_PROXY] = -1;

0 commit comments

Comments
 (0)