forked from rvagg/archived-mod_geoip2_xff.old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
88 lines (74 loc) · 4.9 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
1.2.7-RV3 Jul 7th 2012
- Introduced GeoIPEnableHostnameLookups config option to do name lookups on the X-Forwarded-For match, result is stored in GEOIP_HOST environment variable (useful for logging amongst other things) (Rod Vagg)
1.2.7-RV2 Jul 6th 2012
- Added fallback to remote_ip where X-Forwarded-For handler fails to find a non-private match (Kevin Gaudin)
- Introduced GeoIPUseLeftPublicXForwardedForIP config option to switch to new X-Forwarded-For handler, left GeoIPUseLastXForwardedForIP and default option in place and still active (Rod Vagg)
1.2.7-RV1 Apr 22nd 2012
- Added proper X-Forwarded-For handling, see http://rod.vagg.org/2012/04/a-mod_geoip2-that-properly-handles-x-forwarded-for/ (Rod Vagg)
1.2.7 Aug 23th 2011
- Add support for GEOIP_NETSPEED_REV1 ( Boris Zentner )
- Experimental support for GEOIP_COUNTRY_EDITION_V6 ( Boris Zentner )
- Add GEOIP_DOMAIN_EDITION support ( Boris Zentner )
1.2.6 Sep 11th 2008
- GEOIP_METRO_CODE replace the depreciated GEOIP_DMA_CODE ( Boris Zentner )
1.2.5 Aug 13th 2008
! Fix GEOIP_REGION and GEOIP_COUNTRY_CODE when used with the GeoIPRegion database. Both are only set if a region or country was found. Previously a empty string was assigned to both ( Boris Zentner )
- Add GEOIP_REGION_NAME for City and Region databases ( Boris Zentner )
1.2.4 Jun 10th 2008
! mod_geoip2 has sets GEOIP_COUNTRY_CODE to -- for unknown countries when used with the country database. But for any other database ( City for example ) GEOIP_COUNTRY_CODE is unset for unknown countries. This is fixed now. Same for GEOIP_CONTINENT_CODE and GEOIP_COUNTRY_NAME. ( Boris Zentner )
- Add GEOIP_ADDR. That's the address used to compute the geoip information. Exported as env, notes or both as usual ( Jason Caldwell )
- Try to run always before mod_setenvif and mod_rewrite. ( Boris Zentner )
1.2.3 Apr 26th 2008
- Skip files that we can not open for some reason ( permission/typo ). Check and skip empty slots in geoip_header_parser ( Boris Zentner )
- Slight performance increase - don't make per_dir ap_get_module_config call where we return DECLINED because cfg->GeoIPEnabled is true (Guenter Knauf)
- NetWare/Win32 compilation fixes, since can't declare vars in middle of code (Guenter Knauf)
1.2.2 Mar 18th 2008
- Fix race condition for IO based caches like Standard. MMapCache and MemoryCache are not affected. ( Boris Zentner )
1.2.1 Dec 17th 2007
! Notice, that all directives are _only_ valid in server context. Expect GeoIPEnabled. Check you configuraion with apachectl configtest ( Boris Zentner )
- Added MMapCache option (Boris Zentner)
- Change GeoIPEnabled from a serverwide option to a server/directory/location keyword. (Boris Zentner)
- Fix a small memleak per child. Allocated in geoip_child_init free in geoip_cleanup (Boris Zentner)
- GeoIP databases get used serverwide now. Not per child. See the README. (Boris Zentner)
- Update README with more examples (Boris Zentner)
- Added support for UTF8 output for GeoIP City databases (Boris Zentner)
1.2.0 Aug 30th 2007
- Fix segfault issue if GeoIP.dat file cannot be opened (Vladimir Sedlacek)
- Added support for GEOIP_CONTINENT_CODE for GeoIP Country and City (Frank Mather)
- Added GeoIPScanProxyHeaders directive to handle X-Forwarded-For headers (Frank Mather)
- Updated documentation to specify that GeoIPFlags need to be passed
as second parameter to GeoIPDBFile, instead of using the GeoIPFlags directive
1.1.8 Apr 28th 2006
- Updated README file with GeoIPFlags docs and performance tips
- Added apr_strings.h include (Dann Frazier, Fixes Debian #357387)
- Added support for IndexCache
1.1.7 Aug 1st 2005
- Copied docs in mod_geoip1.3 in README on how to redirect and block by country
- Fixed Garbage characters appearing in GeoIP Postal Code field, this
bug was introduced in 1.1.3
1.1.6 May 17th 2005
- Fixed empty fields for GeoIP Region fields, this bug
was introduced in 1.1.3
1.1.5 Apr 19th 2005
- Removed dependence on DNS resolver for GeoIP Region and Netspeed databases
1.1.4 Dec 23rd 2004
- Fixed Garbage characters appearing in GeoIP City/Region field, this
bug was introduced in 1.1.3
1.1.3 Dec 9th 2004
- Added support for GeoIPOutput
- Changed command setup to AP_INIT_TAKE12 from AP_INIT_TAKE1 GeoIPDBFile (merv)
- Memory Leak fix when using GeoIP Region database
- Memory Leak fix when using GeoIP City database (Shane Nelson)
1.1.2 Aug 12th 2004
- Added support for GeoIP Netspeed Edition ( Frank Mather )
- Added support for GeoIP City setting GEOIP_DMA_CODE, GEOIP_AREA_CODE, GEOIP_LATITUDE,
GEOIP_LONGITUDE, and GEOIP_POSTAL_CODE ( Frank Mather )
1.1.1 Jul 12th 2004
- Added more documentation for using from PHP
- Fixed compile errors and warnings
1.1.0 Apr 19th 2004
- Added support for GeoIP Region, City, ISP and Organization ( Frank Mather )
1.0.6 Aug 30th 2002
- Added GeoIP_delete upon cleanup ( Corris Randall )
1.0.5 Aug 29th 2002
- Initial Release ( Corris Randall )