Create a darkhttpd Docker to serve a downloadable IP list
Right now, it just creates a list of IPv4 US addresses. The list is pulled from RIPE.
Docker image size - 7.41MB!
- Clone repo -
git clone https://github.com/rannday/docker-iplist-server
andcd docker-iplist-server
- Build image -
docker build . -t iplists:latest
- Maybe change networking IP bindings in the compose file. Setup a proxy, even. Caddy is great.
- darkhttpd runs on port 9001
- Start compose -
docker compose up -d
Pulls from the RIPE API with curl
https://stat.ripe.net/docs/02.data-api/country-resource-list.html
CIA World Factbook Country Codes
Place in the /lists-src directory
- Make it work for all supported country codes from RIPE.