Simple blocklist IP checker service
1.4K
This service is just a little helper to load a huge text file containing IP addresses. For example from blocklist.de.
If nothing is specified, the service expects a blocklist.txt file under /tmp and the service runs on all interfaces port 8080.
| Name | Description |
|---|---|
| BLOCKLIST_PATH | Full path to the blocklist.txt file |
| SERVER_ADDRESS | A Go-like address, i.e. :7080 |
docker run -name blocklist -p 127.0.0.1:8080:8080 -e BLOCKLIST_PATH=/app/config/blocklist.txt -v /path/to/blocklist.txt:/app/config/blocklist.txt
A service can send a JSON request to:
with the payload:
{"ip":"ip.address.to.check"}
The respone will be one of three:
{"found":true}
{"found":false}
{"error":"her is some error message"}
The service checks for a newer blocklist.txt version every 60 seconds and does automatically reload it.
It is currently used in the Nauthilus project as a service for the "lua-feature-blocklist"
Content type
Image
Digest
sha256:bacaf9dd2…
Size
9.8 MB
Last updated
about 2 years ago
docker pull chrroessner/blocklist