# HG changeset patch # User Yaroslav Zhuravlev # Date 1536079301 -10800 # Node ID 20a189bdb15ff02b0913e644eb0d67b6b4798da3 # Parent 8f988cbe12961d1a5274d145f9e777f81fd94e6b Updated SSL early data documentation. diff -r 8f988cbe1296 -r 20a189bdb15f xml/en/docs/http/ngx_http_ssl_module.xml --- a/xml/en/docs/http/ngx_http_ssl_module.xml Thu Sep 06 14:08:47 2018 +0300 +++ b/xml/en/docs/http/ngx_http_ssl_module.xml Tue Sep 04 19:41:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="41">
@@ -300,7 +300,20 @@ early data. Requests sent within early data are subject to -replay attacks. +replay attacks. +To protect against such attacks at the application layer, +the $ssl_early_data variable +should be used. + + + +proxy_set_header Early-Data $ssl_early_data; + + + +The directive is supported only when using the +BoringSSL +library. @@ -901,14 +914,13 @@ $ssl_early_data returns “1” if -TLS 1.3 early data is used +TLS 1.3 early data is used and the handshake is not complete, otherwise “” (1.15.3). -The variable is used to protect against -replay attacks -at the application layer: - -proxy_set_header Early-Data $ssl_early_data; - + +The variable is supported only when using the +BoringSSL +library. + $ssl_protocol diff -r 8f988cbe1296 -r 20a189bdb15f xml/ru/docs/http/ngx_http_ssl_module.xml --- a/xml/ru/docs/http/ngx_http_ssl_module.xml Thu Sep 06 14:08:47 2018 +0300 +++ b/xml/ru/docs/http/ngx_http_ssl_module.xml Tue Sep 04 19:41:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="41">
@@ -302,7 +302,19 @@ early data. Запросы, отправленные внутри early data, могут быть подвержены -атакам повторного воспроизведения (replay). +атакам повторного воспроизведения (replay). +Для защиты от подобных атак на уровне приложения +необходимо использовать +переменную $ssl_early_data. + + + +proxy_set_header Early-Data $ssl_early_data; + + + +Директива поддерживается только при использовании библиотеки +BoringSSL. @@ -905,14 +917,12 @@ $ssl_early_data возвращает “1”, если -используется TLS 1.3 early data +используется TLS 1.3 early data и операция handshake не завершена, иначе “” (1.15.3). -Переменная используется для защиты от -атак -повторного воспроизведения (replay) на уровне приложения: - -proxy_set_header Early-Data $ssl_early_data; - + +Переменная поддерживается только при использовании библиотеки +BoringSSL. + $ssl_protocol