aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_proxy_protocol.c
Commit message (Collapse)AuthorAge
* Parsing server PROXY protocol address and port (ticket #1206).Roman Arutyunyan2019-10-21
| | | | | New variables $proxy_protocol_server_addr and $proxy_protocol_server_port are added both to HTTP and Stream.
* Core: moved PROXY protocol fields out of ngx_connection_t.Roman Arutyunyan2019-10-21
| | | | | | Now a new structure ngx_proxy_protocol_t holds these fields. This allows to add more PROXY protocol fields in the future without modifying the connection structure.
* Core: fixed build, broken by 63e91f263a49.Vladimir Homutov2018-04-02
| | | | Both Solaris and Windows define "s_addr" as a macro.
* Core: revised the PROXY protocol v2 code.Ruslan Ermilov2018-04-02
| | | | | | | | - use normal prefixes for types and macros - removed some macros and types - revised debug messages - removed useless check of ngx_sock_ntop() returning 0 - removed special processing of AF_UNSPEC
* Core: style.Vladimir Homutov2018-03-27
|
* Core: added processing of version 2 of the PROXY protocol.Vladimir Homutov2018-03-22
| | | | | | | | The protocol used on inbound connection is auto-detected and corresponding parser is used to extract passed addresses. TLV parameters are ignored. The maximum supported size of PROXY protocol header is 107 bytes (similar to version 1).
* Introduced ngx_inet_get_port() and ngx_inet_set_port() functions.Roman Arutyunyan2016-06-20
|
* Added the $proxy_protocol_port variable.Dmitry Volyntsev2016-05-23
|
* Core: renamed ngx_proxy_protocol_parse to ngx_proxy_protocol_read.Roman Arutyunyan2015-06-16
| | | | The new name is consistent with the ngx_proxy_protocol_write function.
* Stream: client-side PROXY protocol.Roman Arutyunyan2015-06-16
| | | | | The new directive "proxy_protocol" toggles sending out PROXY protocol header to upstream once connection is established.
* Added server-side support for PROXY protocol v1 (ticket #355).Roman Arutyunyan2014-03-17
Client address specified in the PROXY protocol header is now saved in the $proxy_protocol_addr variable and can be used in the realip module. This is currently not implemented for mail.