summaryrefslogtreecommitdiffhomepage
path: root/src/mail/ngx_mail_ssl_module.h
diff options
context:
space:
mode:
authorDirkjan Bussink <d.bussink@gmail.com>2014-01-10 16:12:40 +0100
committerDirkjan Bussink <d.bussink@gmail.com>2014-01-10 16:12:40 +0100
commit58a240d7735652138da46c64b5eb9e661e5533f5 (patch)
tree25adc7dab79259f7609804a14ba651d6dae5f992 /src/mail/ngx_mail_ssl_module.h
parent8f702a573a28622a855ad83d28f49270232b7ad3 (diff)
downloadnginx-58a240d7735652138da46c64b5eb9e661e5533f5.tar.gz
nginx-58a240d7735652138da46c64b5eb9e661e5533f5.tar.bz2
SSL: ssl_session_tickets directive.
This adds support so it's possible to explicitly disable SSL Session Tickets. In order to have good Forward Secrecy support either the session ticket key has to be reloaded by using nginx' binary upgrade process or using an external key file and reloading the configuration. This directive adds another possibility to have good support by disabling session tickets altogether. If session tickets are enabled and the process lives for a long a time, an attacker can grab the session ticket from the process and use that to decrypt any traffic that occured during the entire lifetime of the process.
Diffstat (limited to 'src/mail/ngx_mail_ssl_module.h')
-rw-r--r--src/mail/ngx_mail_ssl_module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mail/ngx_mail_ssl_module.h b/src/mail/ngx_mail_ssl_module.h
index 54e057721..bef0e515a 100644
--- a/src/mail/ngx_mail_ssl_module.h
+++ b/src/mail/ngx_mail_ssl_module.h
@@ -41,6 +41,7 @@ typedef struct {
ngx_shm_zone_t *shm_zone;
+ ngx_flag_t session_tickets;
ngx_array_t *session_ticket_keys;
u_char *file;