aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_inet.h
Commit message (Collapse)AuthorAge
* Listen port ranges.Roman Arutyunyan2019-03-06
| | | | | | | | | | A range is specified with a dash. For each port in a range a separate listen socket is created. Examples: listen 8080-9000; listen example.com:80-88;
* Multiple addresses in "listen".Roman Arutyunyan2019-03-15
| | | | | | Previously only one address was used by the listen directive handler even if host name resolved to multiple addresses. Now a separate listening socket is created for each address.
* Fixed the NGX_UNIX_ADDRSTRLEN macro.Ruslan Ermilov2017-09-25
|
* Core: introduced ngx_cidr_match() function.Dmitry Volyntsev2016-09-07
|
* Introduced ngx_inet_get_port() and ngx_inet_set_port() functions.Roman Arutyunyan2016-06-20
|
* Realip: port support in X-Real-IP and X-Forwarded-For.Dmitry Volyntsev2016-05-23
| | | | | | | | | | Now, the module extracts optional port which may accompany an IP address. This custom extension is introduced, among other things, in order to facilitate logging of original client ports. Addresses with ports are expected to be in the RFC 3986 format, that is, with IPv6 addresses in square brackets. E.g., "X-Real-IP: [2001:0db8::1]:12345" sets client port ($remote_port) to 12345.
* Introduced the ngx_sockaddr_t type.Ruslan Ermilov2016-05-23
| | | | It's properly aligned and can hold any supported sockaddr.
* Removed some bitrot.Ruslan Ermilov2016-04-26
| | | | | Removed NGX_CONF_MULTI unused since 1.3.4. Removed ngx_url_t.one_addr unused since 1.3.10.
* Core: externalized ngx_cmp_sockaddr().Ruslan Ermilov2013-12-06
| | | | | It's also extended with the "cmp_port" argument to indicate whether ports should be compared as well, or only addresses.
* Core: extended ngx_sock_ntop() with socklen parameter.Vladimir Homutov2013-07-11
| | | | | | On Linux, sockaddr length is required to process unix socket addresses properly due to unnamed sockets (which don't have sun_path set at all) and abstract namespace sockets.
* Implemented IPv6 support for URLs specified using domain names.Ruslan Ermilov2012-12-17
| | | | | | | | | This includes "debug_connection", upstreams, "proxy_pass", etc. (ticket #92) To preserve compatibility, "listen" specified with a domain name selects the first IPv4 address, if available. If not available, the first IPv6 address will be used (ticket #186).
* Fixed the NGX_SOCKADDR_STRLEN macro definition.Ruslan Ermilov2012-11-30
| | | | | The ngx_sock_ntop() function, when told to print both address and port, prints IPv6 address in square brackets, followed by colon and port.
* Copyright updated.Maxim Konovalov2012-01-18
|
* make ngx_inet6_ntop() non-staticIgor Sysoev2009-11-03
|
* change ngx_parse_addr() interfaceIgor Sysoev2009-11-02
|
* ngx_parse_addr()Igor Sysoev2009-11-02
|
* rename ngx_peer_addr_t to ngx_addr_tIgor Sysoev2009-11-02
|
* ngx_inet6_addr()Igor Sysoev2009-11-02
|
* style fixIgor Sysoev2009-11-02
|
* http listen unix domain socketsIgor Sysoev2009-10-26
|
* delete unneeded fieldIgor Sysoev2009-05-18
|
* fix the previous commitIgor Sysoev2009-02-24
|
* prepare ngx_ptocidr() for IPv6Igor Sysoev2009-02-24
|
* fix NGX_SOCKADDRLEN, introduced in r2513Igor Sysoev2009-02-21
|
* a prelimiary IPv6 support, HTTP listenIgor Sysoev2009-02-21
|
* *) refactor ngx_parse_inet_url()Igor Sysoev2008-08-26
| | | | | *) refactor ngx_parse_unix_domain_url() *) delete unused ngx_url_t fields
* ngx_sock_ntop() takes family from sockaddr, remove duplicate fieldIgor Sysoev2008-08-21
|
* *) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()Igor Sysoev2008-08-21
| | | | | | *) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop() as they are called just once per connection *) NGX_INET_ADDRSTRLEN
* ngx_parse_url() saves port text, this allows to use it in proxy host headerIgor Sysoev2007-11-28
|
* ngx_inet_addr()Igor Sysoev2007-11-23
|
* use pool instead of ngx_conf_tIgor Sysoev2007-10-08
|
* rewritten upstreamIgor Sysoev2006-12-12
|
* upstream choice modulesIgor Sysoev2006-12-04
|
* axe ngx_inet_upstream_parse() and ngx_inet_parse_host_port()Igor Sysoev2006-10-24
|
* now the "listen" directives use ngx_parse_url()Igor Sysoev2006-10-24
|
* nginx-0.3.53-RELEASE importrelease-0.3.53Igor Sysoev2006-07-07
| | | | | | | | | | | | | | | | | | | | | | *) Change: the "add_header" directive adds the string to 204, 301, and 302 responses. *) Feature: the "server" directive in the "upstream" context supports the "weight" parameter. *) Feature: the "server_name" directive supports the "*" wildcard. *) Feature: nginx supports the request body size more than 2G. *) Bugfix: if a client was successfully authorized using "satisfy_any on", then anyway the message "access forbidden by rule" was written in the log. *) Bugfix: the "PUT" method may erroneously not create a file and return the 409 code. *) Bugfix: if the IMAP/POP3 backend returned an error, then nginx continued proxying anyway.
* nginx-0.3.50-RELEASE importrelease-0.3.50Igor Sysoev2006-06-28
| | | | | | | | | | | | | | | | | | | | | *) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors" directives was renamed to the "proxy_intercept_errors" and "fastcgi_intercept_errors" directives. *) Feature: the ngx_http_charset_module supports the recoding from the single byte encodings to the UTF-8 encoding and back. *) Feature: the "X-Accel-Charset" response header line is supported in proxy and FastCGI mode. *) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI command was removed only if the command also has the "$" symbol. *) Bugfix: the "<!--" string might be added on some conditions in the SSI after inclusion. *) Bugfix: if the "Content-Length: 0" header line was in response, then in nonbuffered proxying mode the client connection was not closed.
* nginx-0.3.47-RELEASE importrelease-0.3.47Igor Sysoev2006-05-23
| | | | | | | *) Feature: the "upstream" directive. *) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the SSI command is always removed.
* nginx-0.1.14-RELEASE importrelease-0.1.14Igor Sysoev2005-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *) Feature: the autoconfiguration directives: --http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and --http-fastcgi-temp-path=PATH *) Change: the directory name for the temporary files with the client request body is specified by directive client_body_temp_path, by default it is <prefix>/client_body_temp. *) Feature: the ngx_http_fastcgi_module and the directives: fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params, fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout, fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers, fastcgi_busy_buffers_size, fastcgi_temp_path, fastcgi_max_temp_file_size, fastcgi_temp_file_write_size, fastcgi_next_upstream, and fastcgi_x_powered_by. *) Bugfix: the "[alert] zero size buf" error; the bug had appeared in 0.1.3. *) Change: the URI must be specified after the host name in the proxy_pass directive. *) Change: the %3F symbol in the URI was considered as the argument string start. *) Feature: the unix domain sockets support in the ngx_http_proxy_module. *) Feature: the ssl_engine and ssl_ciphers directives. Thanks to Sergey Skvortsov for SSL-accelerator.
* nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev2004-09-29
|
* nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused filesIgor Sysoev2004-09-28
|
* nginx-0.0.3-2004-05-25-19:28:46 importIgor Sysoev2004-05-25
|
* nginx-0.0.3-2004-03-16-16:35:20 importIgor Sysoev2004-03-16
|
* nginx-0.0.2-2004-03-16-10:10:12 importIgor Sysoev2004-03-16
|
* nginx-0.0.1-2003-01-30-10:28:09 importIgor Sysoev2003-01-30
|
* nginx-0.0.1-2002-12-15-09:25:09 importIgor Sysoev2002-12-15