A library to fetch (and cache) public information about IPv4 ranges and use that information to classify requests to your platform.
Use cases:
- (Online) You want to extend a warm welcome to clients accessing your web site from a cloud service such as EC2, GCE or Azure.
- (Offline) You process log files containing IPs (e.g. web access logs) and want to use information about the client's organization in your processing.
Supported range information providers:
- AWS
- Azure
- GCE
- Apnic
Usage:
- (Online) Check example HelloIpServlet.
- (Offline) Check example ApacheLogIpStats.
(Note: As long as this project did not have its first release you need to directly use the source)
Include
<dependency>
<groupId>io.mkr.helloip</groupId>
<artifactId>helloip-java</artifactId>
<version>0.1</version>
</dependency>