Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] SSL: respect session timeout in configs without session cache.

Piotr Sikora
October 10, 2013 07:50PM
Hey Maxim,

> Huh?
>
> The SSL_CTX_set_timeout is a function which is documented to
> "manipulate timeout values for session caching" [1], and it looks
> quite reasonable for me to be set in a block responsible for
> session cache logic.
>
> I would rather think about TLS Session Tickets as a specific way
> to cache sessions.

Session cache (server-side) and Session Tickets (client-side) are two
different approaches to do the session resumption. Session timeout (at
least in OpenSSL) applies to both of them, but existing nginx code
(and your patch) calls SSL_CTX_set_timeout() within session cache
(server-side) code block, even though session timeout is used in
setups without session cache (server-side).

But if you disagree with my logic, then feel free to commit your
patch, you're the gatekeeper so I'm fine with that.

> [1] http://www.openssl.org/docs/ssl/SSL_CTX_set_timeout.html

OpenSSL documentation is terrible and a lot of time outdated, I
wouldn't be surprised if this was written before Session Tickets
support was added.

Best regards,
Piotr Sikora

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

[PATCH] SSL: respect session timeout in configs without session cache.

Piotr Sikora 896 October 09, 2013 05:22PM

Re: [PATCH] SSL: respect session timeout in configs without session cache.

Maxim Dounin 336 October 10, 2013 08:50AM

Re: [PATCH] SSL: respect session timeout in configs without session cache.

Piotr Sikora 388 October 10, 2013 04:18PM

Re: [PATCH] SSL: respect session timeout in configs without session cache.

Maxim Dounin 314 October 10, 2013 06:52PM

Re: [PATCH] SSL: respect session timeout in configs without session cache.

Piotr Sikora 412 October 10, 2013 07:50PM



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

Online Users

Guests: 163
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