Using GeoIP Functionality in Varnish
mrbits.dcf at gmail.com
Tue Mar 16 22:08:57 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 03/16/2010 06:00 PM, Ken Brownfield wrote:
> MaxMind has several different databases; the database that is the only one supported by most GeoIP "plugins" is Country, which can only map an IP to a country. The City edition can map IPs to cities, zip codes, latitude/longitude, etc..
> The plugin you mention does require the City edition, but MaxMind has a free, less accurate GeoLite City DB. The City DB will provide country as well as the finer granularity, so for your purposes (country only) it's fine.
> I do like the custom header idea, mainly because you can potentially pass the header to a backend for possible processing, but also because the conditionals are easier in VCL.
> There are a lot of cool things you can do with the City DB beyond static mappings (see bind-geoip on Google Code) that would be cool to see in cosimo/varnish-geoip.
I know other great Geo database player called Quova (http://www.quova.com) with lots of geo databases focused not only in Country,
City, State or Province but Bandwidth, Zip, Area Code. We used it with great success at 24/7 RealMedia's Open AdStream and its
database is highly customizable and I easy to access.
Maybe could be another solution, and Varnish Software could keep contact with Quova people to think about a great module.
.0. MrBiTs - mrbits.dcf at gmail.com
..0 GnuPG - http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6EC818FC2B3CA5AB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the varnish-misc