Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 21, 2012
  1. Merge remote-tracking branch 'origin/master' into HEAD

    authored
    Conflicts:
    	Changes
    	README
    	mod_geoip.c
Commits on Aug 28, 2012
  1. update changelog

    authored
  2. Merge pull request #2 from KevinGaudin/master

    authored
    Bugfix: bad string allocation management caused numerous seg faults on production server when several intermediate servers were involved (proxy + CDN + load balancer)
  3. @KevinGaudin

    Bugfix: lots of seg faults with long XFF strings

    KevinGaudin authored
    XFF strings like "10.6.1.35,10.6.21.241,10.6.1.45,94.127.72.60" were
    causing segmentation faults.
    Fixed:
    - match was allocated memory with a wrong size, before the calculation
    of its length. If 3 IP followed with the second being shorter than the
    third, seg faults happened.
    - as the trailing 0 is added after strncpy, we must add 1 byte to the
    allocation
    - str was never freed
Commits on Aug 9, 2012
  1. @borisz
Commits on Jul 7, 2012
Commits on Jul 6, 2012
  1. update readme

    authored
  2. expand header info

    authored
  3. remove buggy GeoIPEnableHostnameLookups cfg opt

    authored
    too slow to be practical
  4. introduce GeoIPUseLeftPublicXForwardedForI cfg opt

    authored
    minor refactor to skip now redundant comma find & trim
  5. Merge pull request #1 from KevinGaudin/master

    authored
    use the remote_ip if no public ip is found in the proxy headers
Commits on Jul 2, 2012
  1. @KevinGaudin

    Modified the fallback rule to use the remote_ip if no public ip is fo…

    KevinGaudin authored
    …und in the proxy headers. Geolocation would not have worked anyway and we might still find some useful location in the remote_ip.
    
    This is needed for example when your server can be accessed directly in addition to behind CDNs/proxies.
Commits on Apr 22, 2012
  1. add README for GH

    authored
  2. Merge branch 'maxmind'

    authored
    Conflicts:
    	mod_geoip.c
  3. mod_geoip2_1.2.7 from MaxMind

    authored
  4. fetch first public IP patches

    authored
Commits on Mar 30, 2012
  1. @borisz

    Support Aapche 2.4

    borisz authored
  2. @borisz
  3. @borisz
  4. @borisz
Commits on Jun 6, 2011
  1. @borisz
Commits on Jan 25, 2010
  1. @borisz
Commits on Jan 4, 2010
  1. @borisz
Commits on Mar 24, 2009
  1. @borisz
Commits on Sep 16, 2008
  1. @borisz
Commits on Sep 11, 2008
  1. @borisz

    Release 1.2.6

    borisz authored
Commits on Sep 8, 2008
  1. @borisz
Commits on Aug 14, 2008
  1. @borisz
Commits on Aug 6, 2008
  1. @borisz

    Fix GEOIP_REGION and GEOIP_COUNTRY_CODE when used with the GeoIPRegio…

    borisz authored
    …n database. Both are only set if a region or country was found. Previously a empty string was assigned to both ( Boris Zentner )
  2. @borisz
Commits on Jun 11, 2008
  1. @borisz

    Provide GEOIP_COUNTRY_CODE, GEOIP_CONTINENT_CODE and GEOIP_COUNTRY_NA…

    borisz authored
    …ME only if the country is known. ( Boris Zentner )
Commits on Jun 4, 2008
  1. @borisz

    Add GEOIP_ADDR thats the address used to compute the geoip informatio…

    borisz authored
    …n. Exported as env, notes or both as usual ( Jason Caldwell )
Commits on May 28, 2008
  1. @borisz
Something went wrong with that request. Please try again.