protect the server from multiple rehandshakes.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-01-21 17:29:45 +01:00
parent d8162d3c0b
commit 5f3a6279d9
2 changed files with 22 additions and 2 deletions
+5 -1
View File
@@ -134,7 +134,11 @@ typedef struct worker_st {
/* set after authentication */
int udp_fd;
udp_port_state_t udp_state;
/* protection from multiple rehandshakes */
time_t last_tls_rehandshake;
time_t last_dtls_rehandshake;
/* for mtu trials */
unsigned last_good_mtu;
unsigned last_bad_mtu;