I recently found this resource:
http://www.countryipblocks.net/
on the day they say they are closing due to lack of donations. :(
I thought other hap users might be interested in this use case and will
hopefully think about donating, too.
For one site targeting users in several countries au, nz, etc. to be able to do per-country stats, I am add a header based on the ip:
acl ipcc_au src -f /etc/haproxy/au_ips.txt acl ipcc_nz src -f /etc/haproxy/nz_ips.txt reqadd X-Country:\ au if ipcc_au reqadd X-Country:\ nz if ipcc_nz
With haproxy and these lists, it is fast and easy to add the country info to requests.
Is anyone else doing something similar?
Or other sources for this or other similar types of info?
Received on 2011/06/06 10:18
This archive was generated by hypermail 2.2.0 : 2011/06/06 10:30 CEST