Skip to content

Commit c9892d2

Browse files
Add AIC (AI Crawler) detection.
1 parent 1e03667 commit c9892d2

8 files changed

Lines changed: 1651 additions & 1650 deletions

File tree

COPYING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 - 2025 IP2Location.com
3+
Copyright (c) 2020 - 2026 IP2Location.com
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 99 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,99 @@
1-
# IP2Proxy C Library
2-
3-
To detect proxy servers with country, region, city, ISP and proxy type information using IP2Proxy binary database.
4-
5-
IP2Proxy database contains a list of daily-updated IP addresses which are being used as VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots, data center ranges, residential proxies, consumer privacy networks, and enterprise private networks. The database includes records for IPv4 addresses.
6-
7-
You can access to the commercial databases from https://www.ip2location.com/proxy-database or use the free IP2Proxy LITE database from http://lite.ip2location.com
8-
9-
For more details, please visit:
10-
[https://www.ip2location.com/documentation/ip2proxy-libraries/c](https://www.ip2location.com/documentation/ip2proxy-libraries/c)
11-
12-
13-
14-
## Developer Documentation
15-
16-
To learn more about installation, usage, and code examples, please visit the developer documentation at [https://ip2proxy-c.readthedocs.io/en/latest/index.html.](https://ip2proxy-c.readthedocs.io/en/latest/index.html)
17-
18-
19-
20-
## Testing
21-
22-
cd test
23-
./test-IP2Proxy
24-
25-
26-
27-
## Sample BIN Databases
28-
29-
* Download free IP2Proxy LITE databases at [https://lite.ip2location.com](https://lite.ip2location.com)
30-
* Download IP2Proxy sample databases at [https://www.ip2location.com/ip2proxy/developers](https://www.ip2location.com/ip2proxy/developers)
31-
32-
33-
34-
## IP2Proxy CLI
35-
36-
Query an IP address and display the result
37-
38-
```
39-
ip2proxy -d [IP2PROXY BIN DATA PATH] --ip [IP ADDRESS]
40-
```
41-
42-
Query all IP addresses from an input file and display the result
43-
44-
```
45-
ip2proxy -d [IP2PROXY BIN DATA PATH] -i [INPUT FILE PATH]
46-
```
47-
48-
Query all IP addresses from an input file and display the result in XML format
49-
50-
```
51-
ip2proxy -d [IP2PROXY BIN DATA PATH] -i [INPUT FILE PATH] --format XML
52-
```
53-
54-
55-
## Proxy Type
56-
57-
|Proxy Type|Description|
58-
|---|---|
59-
|VPN|Anonymizing VPN services|
60-
|TOR|Tor Exit Nodes|
61-
|PUB|Public Proxies|
62-
|WEB|Web Proxies|
63-
|DCH|Hosting Providers/Data Center|
64-
|SES|Search Engine Robots|
65-
|RES|Residential Proxies [PX10+]|
66-
|CPN|Consumer Privacy Networks. [PX11+]|
67-
|EPN|Enterprise Private Networks. [PX11+]|
68-
69-
## Usage Type
70-
71-
|Usage Type|Description|
72-
|---|---|
73-
|COM|Commercial|
74-
|ORG|Organization|
75-
|GOV|Government|
76-
|MIL|Military|
77-
|EDU|University/College/School|
78-
|LIB|Library|
79-
|CDN|Content Delivery Network|
80-
|ISP|Fixed Line ISP|
81-
|MOB|Mobile ISP|
82-
|DCH|Data Center/Web Hosting/Transit|
83-
|SES|Search Engine Spider|
84-
|RSV|Reserved|
85-
86-
## Threat Type
87-
88-
|Threat Type|Description|
89-
|---|---|
90-
|SPAM|Email and forum spammers|
91-
|SCANNER|Security Scanner or Attack|
92-
|BOTNET|Spyware or Malware|
93-
|BOGON|Unassigned or illegitimate IP addresses announced via BGP|
94-
95-
## Support
96-
97-
Email: support@ip2location.com.
98-
URL: [https://www.ip2location.com](https://www.ip2location.com)
1+
# IP2Proxy C Library
2+
3+
To detect proxy servers with country, region, city, ISP and proxy type information using IP2Proxy binary database.
4+
5+
IP2Proxy database contains a list of daily-updated IP addresses which are being used as VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots, data center ranges, residential proxies, consumer privacy networks, and enterprise private networks. The database includes records for IPv4 addresses.
6+
7+
You can access to the commercial databases from https://www.ip2location.com/proxy-database or use the free IP2Proxy LITE database from http://lite.ip2location.com
8+
9+
For more details, please visit:
10+
[https://www.ip2location.com/documentation/ip2proxy-libraries/c](https://www.ip2location.com/documentation/ip2proxy-libraries/c)
11+
12+
13+
14+
## Developer Documentation
15+
16+
To learn more about installation, usage, and code examples, please visit the developer documentation at [https://ip2proxy-c.readthedocs.io/en/latest/index.html.](https://ip2proxy-c.readthedocs.io/en/latest/index.html)
17+
18+
19+
20+
## Testing
21+
22+
cd test
23+
./test-IP2Proxy
24+
25+
26+
27+
## Sample BIN Databases
28+
29+
* Download free IP2Proxy LITE databases at [https://lite.ip2location.com](https://lite.ip2location.com)
30+
* Download IP2Proxy sample databases at [https://www.ip2location.com/ip2proxy/developers](https://www.ip2location.com/ip2proxy/developers)
31+
32+
33+
34+
## IP2Proxy CLI
35+
36+
Query an IP address and display the result
37+
38+
```
39+
ip2proxy -d [IP2PROXY BIN DATA PATH] --ip [IP ADDRESS]
40+
```
41+
42+
Query all IP addresses from an input file and display the result
43+
44+
```
45+
ip2proxy -d [IP2PROXY BIN DATA PATH] -i [INPUT FILE PATH]
46+
```
47+
48+
Query all IP addresses from an input file and display the result in XML format
49+
50+
```
51+
ip2proxy -d [IP2PROXY BIN DATA PATH] -i [INPUT FILE PATH] --format XML
52+
```
53+
54+
55+
## Proxy Type
56+
57+
|Proxy Type|Description|
58+
|---|---|
59+
|VPN|Anonymizing VPN services|
60+
|TOR|Tor Exit Nodes|
61+
|PUB|Public Proxies|
62+
|WEB|Web Proxies|
63+
|DCH|Hosting Providers/Data Center|
64+
|SES|Search Engine Robots|
65+
|RES|Residential Proxies [PX10+]|
66+
|CPN|Consumer Privacy Networks. [PX11+]|
67+
|EPN|Enterprise Private Networks. [PX11+]|
68+
69+
## Usage Type
70+
71+
|Usage Type|Description|
72+
|---|---|
73+
|COM|Commercial|
74+
|ORG|Organization|
75+
|GOV|Government|
76+
|MIL|Military|
77+
|EDU|University/College/School|
78+
|LIB|Library|
79+
|CDN|Content Delivery Network|
80+
|ISP|Fixed Line ISP|
81+
|MOB|Mobile ISP|
82+
|DCH|Data Center/Web Hosting/Transit|
83+
|SES|Search Engine Spider|
84+
|RSV|Reserved|
85+
|AIC|AI Crawler|
86+
87+
## Threat Type
88+
89+
|Threat Type|Description|
90+
|---|---|
91+
|SPAM|Email and forum spammers|
92+
|SCANNER|Security Scanner or Attack|
93+
|BOTNET|Spyware or Malware|
94+
|BOGON|Unassigned or illegitimate IP addresses announced via BGP|
95+
96+
## Support
97+
98+
Email: support@ip2location.com.
99+
URL: [https://www.ip2location.com](https://www.ip2location.com)

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AC_PREREQ(2.59)
22

3-
AC_INIT([IP2Proxy], [4.2.1])
3+
AC_INIT([IP2Proxy], [4.3.0])
44
AC_CONFIG_SRCDIR([libIP2Proxy/IP2Proxy.c])
55
AM_INIT_AUTOMAKE
66

data/SAMPLE.BIN

-15.8 KB
Binary file not shown.

debian/changelog

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
libip2proxy (4.2.1) jammy; urgency=medium
1+
libip2proxy (4.3.0) jammy; urgency=medium
22

3-
* Initial Release.
3+
* Add AIC (AI Crawler) detection.
44

5-
-- IP2Location <support@ip2location.com> Mon, 4 Feb 2025 13:58:32 +0800
5+
-- IP2Location <support@ip2location.com> Sun, 27 Apr 2026 23:51:28 +0800

debian/copyright

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Upstream-Contact: IP2Location <support@ip2location.com>
44
Source: https://github.com/ip2location/ip2proxy-c.git
55

66
Files: *
7-
Copyright: 2025 IP2Location <support@ip2location.com>
7+
Copyright: 2026 IP2Location <support@ip2location.com>
88
License: MIT
99

1010
Files: debian/*
11-
Copyright: 2025 IP2Location <support@ip2location.com>
11+
Copyright: 2026 IP2Location <support@ip2location.com>
1212
License: MIT
1313

1414
License: MIT
@@ -26,8 +26,8 @@ License: MIT
2626
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2727
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
2828
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
29-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
30-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
29+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
30+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
3131
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3232

3333
# Please also look if there are files or directories which have a

0 commit comments

Comments
 (0)