https://github.com/mdomsch/geoip-city-wsgi
now has the decent start of a trivial lookup. It reads the IP address from the incoming
connection, and responds with the JSON-formatted result from the GeoIP City lookup, which
includes timezones. Plug this into an apache web server and you're good to go. It
doesn't do IPv6 though - the python library doesn't support GeoIP City IPv6
lookups.
--
Matt Domsch
Technology Strategist
Dell | Office of the CTO
-----Original Message-----
From: Kevin Fenzi [mailto:kevin@scrye.com]
Sent: Thursday, May 09, 2013 10:35 AM
To: Vratislav Podzimek
Cc: Domsch, Matt; mkolman(a)redhat.com; mdomsch(a)fedoraproject.org; dcantrel(a)redhat.com;
infrastructure(a)lists.fedoraproject.org
Subject: Re: MirrorManager GEO IP API
On Mon, 06 May 2013 14:03:41 +0200
Vratislav Podzimek <vpodzime(a)redhat.com> wrote:
On Thu, 2013-05-02 at 11:07 -0600, Kevin Fenzi wrote:
> On Tue, 30 Apr 2013 07:56:31 -0500
> <Matt_Domsch(a)Dell.com> wrote:
>
> > I think it would work best to use a dedicated Apache module, such
> > as
http://dev.maxmind.com/geoip/mod_geoip2 rather than add
> > another interface into MirrorManager which otherwise duplicates
> > this. Fedora Infrastructure could easily roll out such a service
> > then, independent of MirrorManager.
>
> We could look at this. Would you folks be willing to repost the
> below on the infrastructure list and we could start a discussion
> there?
>
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
Absolutely, reposting. I think this list is the right place to discuss
such things. And I just wonder -- anybody thinks this could be
deployed before the F19 is released?
It's possible.
First step it making sure the needed parts are packaged up.
kevin