| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2018-12-14 | Geo: fixed handling of AF_UNIX client addresses (ticket #1684). | Maxim Dounin | 1 | -0/+13 | |
| Previously, AF_UNIX client addresses were handled as AF_INET, leading to unexpected results. | |||||
| 2018-02-21 | Geo: optimized configuration parser. | Ruslan Ermilov | 1 | -1/+5 | |
| If the geo block parser has failed, doing more things is pointless. | |||||
| 2018-02-21 | Geo: fixed memory allocation error handling (closes #1482). | Ruslan Ermilov | 1 | -11/+16 | |
| If during configuration parsing of the geo directive the memory allocation has failed, pool used to parse configuration inside the block, and sometimes the temporary pool were not destroyed. | |||||
| 2017-08-09 | Fixed calls to ngx_open_file() in certain places. | Sergey Kandaurov | 1 | -1/+1 | |
| Pass NGX_FILE_OPEN to ngx_open_file() to fix "The parameter is incorrect" error on win32 when using the ssl_session_ticket_key directive or loading a binary geo base. On UNIX, this change is a no-op. | |||||
| 2017-08-09 | Style. | Sergey Kandaurov | 1 | -0/+1 | |
| 2016-08-25 | Geo: fixed indentation. | Sergey Kandaurov | 1 | -5/+5 | |
| 2016-08-23 | Geo: fixed warnings when removing nonexistent ranges. | Ruslan Ermilov | 1 | -7/+3 | |
| geo $geo { ranges; 10.0.0.0-10.0.0.255 test; delete 10.0.1.0-10.0.1.255; # should warn delete 10.0.0.0-10.0.0.255; delete 10.0.0.0-10.0.0.255; # should warn } | |||||
| 2016-08-23 | Geo: fixed insertion of ranges specified in descending order. | Ruslan Ermilov | 1 | -3/+8 | |
| 2016-08-23 | Geo: fixed removing a range in certain cases. | Ruslan Ermilov | 1 | -1/+1 | |
| If the range includes two or more /16 networks and does not start at the /16 boundary, the last subrange was not removed (see 91cff7f97a50 for details). | |||||
| 2016-08-23 | Geo: fixed overflow when iterating over ranges. | Ruslan Ermilov | 1 | -2/+10 | |
| 2016-08-18 | Geo: fixed access to already freed memory. | Valentin Bartenev | 1 | -1/+6 | |
| Previously, in "ranges" mode when all added ranges were deleted, the ctx.high.low[i] was left pointing to a temporary array. | |||||
| 2014-07-08 | Style: add whitespace between control statement and parentheses. | Piotr Sikora | 1 | -1/+1 | |
| Signed-off-by: Piotr Sikora <piotr@cloudflare.com> | |||||
| 2013-08-20 | Backed out f1a91825730a and 7094bd12c1ff. | Maxim Dounin | 1 | -1/+1 | |
| While ngx_get_full_name() might have a bit more descriptive arguments, the ngx_conf_full_name() is generally easier to use when parsing configuration and limits exposure of cycle->prefix / cycle->conf_prefix details. | |||||
| 2013-08-06 | Replaced ngx_conf_full_name() with ngx_get_full_name(). | Valentin Bartenev | 1 | -1/+1 | |
| The ngx_get_full_name() function takes more readable arguments list. | |||||
| 2013-03-21 | Use NGX_DEFAULT_POOL_SIZE macro where appropriate. | Ruslan Ermilov | 1 | -2/+2 | |
| 2013-02-27 | Correctly handle multiple X-Forwarded-For headers (ticket #106). | Ruslan Ermilov | 1 | -6/+5 | |
| 2012-12-27 | Geo: improved code readability. | Ruslan Ermilov | 1 | -54/+61 | |
| 2012-12-26 | Geo: made "default" affect both IPv4 and IPv6 when using prefixes. | Ruslan Ermilov | 1 | -48/+77 | |
| Previously, "default" was equivalent to specifying 0.0.0.0/0, now it's equivalent to specifying both 0.0.0.0/0 and ::/0 (if support for IPv6 is enabled) with the same value. | |||||
| 2012-12-25 | Geo: properly initialize ngx_cidr_t when dealing with "default". | Ruslan Ermilov | 1 | -1/+1 | |
| 2012-12-25 | Geo: IPv6 support. | Ruslan Ermilov | 1 | -79/+236 | |
| The "ranges" mode is still limited to IPv4 only. | |||||
| 2012-12-24 | Trailing whitespace fix. | Ruslan Ermilov | 1 | -2/+2 | |
| 2012-12-21 | Geo: ensure that default entry is always present. | Ruslan Ermilov | 1 | -4/+2 | |
| If 0.0.0.0/32 entry was present and there was no explicit "default", we failed to add an empty string as a default value. | |||||
| 2012-12-21 | There's no need to normalize address returned by ngx_ptocidr(). | Ruslan Ermilov | 1 | -1/+1 | |
| 2012-12-17 | Added checks that disallow adding a variable with an empty name. | Ruslan Ermilov | 1 | -1/+8 | |
| Added variable name syntax checks to "geo" and "map" directives. | |||||
| 2012-12-14 | Geo: fixed the "ranges" without ranges case. | Ruslan Ermilov | 1 | -15/+18 | |
| The following configuration returned an empty value for $geo: geo $geo { ranges; default default; } | |||||
| 2012-12-14 | Geo: improved ngx_http_geo_block() code readability. | Ruslan Ermilov | 1 | -3/+2 | |
| 2012-12-13 | Fixed variable syntax checking in "set", "geo", "limit_conn_zone", | Ruslan Ermilov | 1 | -0/+7 | |
| and "perl_set" directives. | |||||
| 2012-08-30 | Fixed strict aliasing bugs when dealing with IPv4-mapped IPv6 addresses | Ruslan Ermilov | 1 | -1/+10 | |
| (closes #201). | |||||
| 2012-08-16 | Geo: fixed handling of ranges without default set. | Maxim Dounin | 1 | -4/+4 | |
| The bug had appeared in 0.8.43 (r3653). Patch by Weibin Yao. | |||||
| 2012-06-08 | Fixed spelling of "endianness", and called it "byte ordering" in the | Ruslan Ermilov | 1 | -1/+1 | |
| user visible part. | |||||
| 2012-05-14 | geo: chains of trusted proxies and partial IPv6 support. | Ruslan Ermilov | 1 | -74/+62 | |
| The module now supports recursive search of client address through the chain of trusted proxies, controlled by the "proxy_recursive" directive in the "geo" block. It also gets partial IPv6 support: now proxies may be specified with IPv6 addresses. Example: geo $test { ... proxy 127.0.0.1; proxy ::1; proxy_recursive; } There's also a slight change in behavior. When original client address (as specified by the "geo" directive) is one of the trusted proxies, and the value of the X-Forwarded-For request header cannot not be parsed as a valid address, an original client address will be used for lookup. Previously, 255.255.255.255 was used in this case. | |||||
| 2012-04-12 | Fixed grammar in error messages. | Ruslan Ermilov | 1 | -3/+3 | |
| 2012-01-18 | Copyright updated. | Maxim Konovalov | 1 | -0/+1 | |
| 2011-05-16 | support IPv4 mapped to IPv6 in geo module | Igor Sysoev | 1 | -4/+28 | |
| 2011-04-12 | use memmove() in appropriate places | Igor Sysoev | 1 | -5/+5 | |
| 2010-06-30 | style fix: remove tabs | Igor Sysoev | 1 | -10/+10 | |
| 2010-06-30 | test binary geo range base size | Igor Sysoev | 1 | -1/+1 | |
| 2010-06-30 | test the second binary geo range base existence | Igor Sysoev | 1 | -0/+8 | |
| 2010-06-30 | test binary geo ranges base only for ranges | Igor Sysoev | 1 | -9/+11 | |
| 2010-06-30 | test binary gep range base mtime | Igor Sysoev | 1 | -1/+20 | |
| 2010-06-29 | binary geo ranges base cache | Igor Sysoev | 1 | -52/+407 | |
| 2010-06-29 | change duplicate default geo range processing | Igor Sysoev | 1 | -12/+9 | |
| 2010-06-24 | eliminate a number of ranges: about 18,000 /16 networks are empty, | Igor Sysoev | 1 | -27/+22 | |
| this change saves about 70K/140K on 32/64-bit platforms | |||||
| 2010-06-24 | break cycle early | Igor Sysoev | 1 | -2/+2 | |
| 2010-06-23 | style fix | Igor Sysoev | 1 | -2/+2 | |
| 2010-06-23 | change ngx_http_variable_value_node_t to more generic ngx_str_node_t | Igor Sysoev | 1 | -14/+22 | |
| 2010-02-25 | fix a geo range if the range includes two or more /16 networks | Igor Sysoev | 1 | -1/+1 | |
| and does not begin at /16 network boundary | |||||
| 2009-09-11 | style fix | Igor Sysoev | 1 | -1/+1 | |
| 2009-07-22 | geo module supports trusted proxies | Igor Sysoev | 1 | -27/+130 | |
| 2009-02-24 | prepare ngx_ptocidr() for IPv6 | Igor Sysoev | 1 | -12/+19 | |
