nginx/src/http
Sergey Kandaurov 13935cf9fd SNI: added restriction for TLSv1.3 cross-SNI session resumption.
In OpenSSL, session resumption always happens in the default SSL context,
prior to invoking the SNI callback.  Further, unlike in TLSv1.2 and older
protocols, SSL_get_servername() returns values received in the resumption
handshake, which may be different from the value in the initial handshake.
Notably, this makes the restriction added in b720f650b insufficient for
sessions resumed with different SNI server name.

Considering the example from b720f650b, previously, a client was able to
request example.org by presenting a certificate for example.org, then to
resume and request example.com.

The fix is to reject handshakes resumed with a different server name, if
verification of client certificates is enabled in a corresponding server
configuration.
2025-02-05 20:40:47 +04:00
..
modules Gzip: compatibility with recent zlib-ng 2.2.x versions. 2025-02-05 20:40:47 +04:00
v2 HTTP/2: fixed buffer management with HTTP/2 auto-detection. 2023-10-21 18:48:24 +04:00
v3 HTTP/3: fixed handling of zero-length literal field line. 2024-05-28 17:20:45 +04:00
ngx_http.c Common tree insert function for QUIC and UDP connections. 2023-05-14 12:30:11 +04:00
ngx_http.h Merged with the default branch. 2022-06-22 18:34:58 +04:00
ngx_http_cache.h
ngx_http_config.h
ngx_http_copy_filter_module.c Fixed request termination with AIO and subrequests (ticket #2555). 2024-01-30 03:20:05 +03:00
ngx_http_core_module.c HTTP/3: added more compatibility checks for "listen ... quic". 2024-01-30 19:19:26 +04:00
ngx_http_core_module.h HTTP/3: removed "http3" parameter of "listen" directive. 2023-05-11 13:22:10 +04:00
ngx_http_file_cache.c Fixed request termination with AIO and subrequests (ticket #2555). 2024-01-30 03:20:05 +03:00
ngx_http_header_filter_module.c Avoid sending "Connection: keep-alive" when shutting down. 2022-01-11 02:23:49 +03:00
ngx_http_huff_decode.c Adjusted Huffman coding debug logging, missed in 7977:336084ff943b. 2023-11-14 14:50:03 +04:00
ngx_http_huff_encode.c Moved Huffman coding out of HTTP/2. 2021-12-21 07:54:16 +03:00
ngx_http_parse.c HTTP: removed unused r->port_start and r->port_end. 2023-11-28 12:57:14 +03:00
ngx_http_postpone_filter_module.c
ngx_http_request.c SNI: added restriction for TLSv1.3 cross-SNI session resumption. 2025-02-05 20:40:47 +04:00
ngx_http_request.h Fixed request termination with AIO and subrequests (ticket #2555). 2024-01-30 03:20:05 +03:00
ngx_http_request_body.c QUIC: modified HTTP version test. 2022-01-12 11:54:39 +03:00
ngx_http_script.c All known output headers can be linked lists now. 2022-05-30 21:25:45 +03:00
ngx_http_script.h Upstream: variables support in certificates. 2021-05-06 02:22:09 +03:00
ngx_http_special_response.c All known output headers can be linked lists now. 2022-05-30 21:25:45 +03:00
ngx_http_upstream.c Upstream: fixed usage of closed sockets with filter finalization. 2024-01-30 03:20:10 +03:00
ngx_http_upstream.h Upstream: fixed X-Accel-Expires/Cache-Control/Expires handling. 2022-06-07 00:07:12 +03:00
ngx_http_upstream_round_robin.c
ngx_http_upstream_round_robin.h
ngx_http_variables.c Variables: avoid possible buffer overrun with some "$sent_http_*". 2023-05-01 19:16:05 +04:00
ngx_http_variables.h Combining unknown headers during variables lookup (ticket #1316). 2022-05-30 21:25:32 +03:00
ngx_http_write_filter_module.c Merged with the default branch. 2022-02-14 10:14:07 +03:00