Blame doc/functions/gnutls_anti_replay_set_window
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {void} {gnutls_anti_replay_set_window} (gnutls_anti_replay_t @var{anti_replay}, unsigned int @var{window})
|
|
Packit Service |
4684c1 |
@var{anti_replay}: is a @code{gnutls_anti_replay_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{window}: is the time window recording ClientHello, in milliseconds
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Sets the time window used for ClientHello recording. In order to
|
|
Packit Service |
4684c1 |
protect against replay attacks, the server records ClientHello
|
|
Packit Service |
4684c1 |
messages within this time period from the last update, and
|
|
Packit Service |
4684c1 |
considers it a replay when a ClientHello outside of the period; if
|
|
Packit Service |
4684c1 |
a ClientHello arrives within this period, the server checks the
|
|
Packit Service |
4684c1 |
database and detects duplicates.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
For the details of the algorithm, see RFC 8446, section 8.2.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.6.5
|
|
Packit Service |
4684c1 |
@end deftypefun
|