Welcome! Log In Create A New Profile

Advanced

Re: [nginx] Proxy: added the "proxy_ssl_protocols" directive.

Piotr Sikora
September 23, 2013 01:48AM
Hi Andrei,

> +#if (NGX_HTTP_SSL)
> +
> +static ngx_conf_bitmask_t ngx_http_proxy_ssl_protocols[] = {
> + { ngx_string("SSLv2"), NGX_SSL_SSLv2 },
> + { ngx_string("SSLv3"), NGX_SSL_SSLv3 },
> + { ngx_string("TLSv1"), NGX_SSL_TLSv1 },
> + { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 },
> + { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 },
> + { ngx_null_string, 0 }
> +};
> +
> +#endif

I'm a bit biased, because I was cleaning up patchset with
"proxy_ssl_protocols" and "proxy_ssl_ciphers" directives to send to
the mailing list when you committed this, but wouldn't it make more
sense to either expose & reuse ngx_http_ssl_protocols or ideally push
this and other definitions back to ngx_event_openssl module instead of
having exactly the same bitmask & NGX_DEFAULT_CIPHERS defined in 3
different places (ngx_http_ssl_module, ngx_http_proxy_ssl_module &
ngx_mail_ssl_module)?

Best regards,
Piotr Sikora

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Proxy: added the "proxy_ssl_protocols" directive.

Andrei Belov 1381 September 19, 2013 10:40AM

Re: [nginx] Proxy: added the "proxy_ssl_protocols" directive.

Piotr Sikora 414 September 23, 2013 01:48AM

Re: [nginx] Proxy: added the "proxy_ssl_protocols" directive.

Maxim Dounin 509 September 23, 2013 09:08AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready