<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/core/ngx_proxy_protocol.c, branch release-1.30.0</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Fixed PROXY protocol to use ngx_memcpy()/ngx_memcmp().</title>
<updated>2022-11-08T09:48:21+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2022-11-08T09:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=67e2a6916170f126a078bf7499a9a02c994e2f6d'/>
<id>67e2a6916170f126a078bf7499a9a02c994e2f6d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added logging to PROXY protocol write buffer check.</title>
<updated>2022-11-08T09:48:19+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2022-11-08T09:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=fbe42d46312a87ee24f9038f26876a95c7abab34'/>
<id>fbe42d46312a87ee24f9038f26876a95c7abab34</id>
<content type='text'>
The check is not expected to fail unless there is a bug in the calling
code.  But given the check is here, it should log an alert if it fails
instead of silently closing the connection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The check is not expected to fail unless there is a bug in the calling
code.  But given the check is here, it should log an alert if it fails
instead of silently closing the connection.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increased maximum read PROXY protocol header size.</title>
<updated>2022-11-02T09:46:16+00:00</updated>
<author>
<name>Roman Arutyunyan</name>
<email>arut@nginx.com</email>
</author>
<published>2022-11-02T09:46:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=7600ca028644d3ecc7e62499d71bbe21fe3bda0d'/>
<id>7600ca028644d3ecc7e62499d71bbe21fe3bda0d</id>
<content type='text'>
Maximum size for reading the PROXY protocol header is increased to 4096 to
accommodate a bigger number of TLVs, which are supported since cca4c8a715de.

Maximum size for writing the PROXY protocol header is not changed since only
version 1 is currently supported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Maximum size for reading the PROXY protocol header is increased to 4096 to
accommodate a bigger number of TLVs, which are supported since cca4c8a715de.

Maximum size for writing the PROXY protocol header is not changed since only
version 1 is currently supported.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added type cast to ngx_proxy_protocol_parse_uint16().</title>
<updated>2022-09-27T07:31:16+00:00</updated>
<author>
<name>Roman Arutyunyan</name>
<email>arut@nginx.com</email>
</author>
<published>2022-09-27T07:31:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=f27af85016f357048cd097a8779a22517fd62741'/>
<id>f27af85016f357048cd097a8779a22517fd62741</id>
<content type='text'>
The cast is added to make ngx_proxy_protocol_parse_uint16() similar to
ngx_proxy_protocol_parse_uint32().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The cast is added to make ngx_proxy_protocol_parse_uint16() similar to
ngx_proxy_protocol_parse_uint32().
</pre>
</div>
</content>
</entry>
<entry>
<title>PROXY protocol v2 TLV variables.</title>
<updated>2022-10-12T12:58:16+00:00</updated>
<author>
<name>Roman Arutyunyan</name>
<email>arut@nginx.com</email>
</author>
<published>2022-10-12T12:58:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=50e3ff8a006100feaa0666cf5e4f9fd5fdcfb721'/>
<id>50e3ff8a006100feaa0666cf5e4f9fd5fdcfb721</id>
<content type='text'>
The variables have prefix $proxy_protocol_tlv_ and are accessible by name
and by type.  Examples are: $proxy_protocol_tlv_0x01, $proxy_protocol_tlv_alpn.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The variables have prefix $proxy_protocol_tlv_ and are accessible by name
and by type.  Examples are: $proxy_protocol_tlv_0x01, $proxy_protocol_tlv_alpn.
</pre>
</div>
</content>
</entry>
<entry>
<title>Log only the first line of user input on PROXY protocol v1 error.</title>
<updated>2022-10-10T09:57:31+00:00</updated>
<author>
<name>Roman Arutyunyan</name>
<email>arut@nginx.com</email>
</author>
<published>2022-10-10T09:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=68119b43620c4da4ce0269a2f860a3df7c4dc0b5'/>
<id>68119b43620c4da4ce0269a2f860a3df7c4dc0b5</id>
<content type='text'>
Previously, all received user input was logged.  If a multi-line text was
received from client and logged, it could reduce log readability and also make
it harder to parse nginx log by scripts.  The change brings to PROXY protocol
the same behavior that exists for HTTP request line in
ngx_http_log_error_handler().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, all received user input was logged.  If a multi-line text was
received from client and logged, it could reduce log readability and also make
it harder to parse nginx log by scripts.  The change brings to PROXY protocol
the same behavior that exists for HTTP request line in
ngx_http_log_error_handler().
</pre>
</div>
</content>
</entry>
<entry>
<title>Parsing server PROXY protocol address and port (ticket #1206).</title>
<updated>2019-10-21T17:22:30+00:00</updated>
<author>
<name>Roman Arutyunyan</name>
<email>arut@nginx.com</email>
</author>
<published>2019-10-21T17:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=203898505ca4fde338d718960e485891ecd891f6'/>
<id>203898505ca4fde338d718960e485891ecd891f6</id>
<content type='text'>
New variables $proxy_protocol_server_addr and $proxy_protocol_server_port are
added both to HTTP and Stream.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New variables $proxy_protocol_server_addr and $proxy_protocol_server_port are
added both to HTTP and Stream.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: moved PROXY protocol fields out of ngx_connection_t.</title>
<updated>2019-10-21T15:06:19+00:00</updated>
<author>
<name>Roman Arutyunyan</name>
<email>arut@nginx.com</email>
</author>
<published>2019-10-21T15:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=be932e81a1531a3ba032febad968fc2006c4fa48'/>
<id>be932e81a1531a3ba032febad968fc2006c4fa48</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: fixed build, broken by 63e91f263a49.</title>
<updated>2018-04-02T17:38:43+00:00</updated>
<author>
<name>Vladimir Homutov</name>
<email>vl@nginx.com</email>
</author>
<published>2018-04-02T17:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=cadc8ca306e42a97c6a7b89468745d154314aa84'/>
<id>cadc8ca306e42a97c6a7b89468745d154314aa84</id>
<content type='text'>
Both Solaris and Windows define "s_addr" as a macro.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both Solaris and Windows define "s_addr" as a macro.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: revised the PROXY protocol v2 code.</title>
<updated>2018-04-02T15:40:04+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2018-04-02T15:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=55f08fc9f70b3d5aabfb4b609bcad53572991b20'/>
<id>55f08fc9f70b3d5aabfb4b609bcad53572991b20</id>
<content type='text'>
- 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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
</pre>
</div>
</content>
</entry>
</feed>
