OpenVPN
|
Security parameter state of a single session within a VPN tunnel. More...
#include <ssl_common.h>
Data Fields | |
struct tls_options * | opt |
bool | burst |
struct tls_wrap_ctx | tls_wrap |
struct tls_wrap_ctx | tls_wrap_reneg |
int | initial_opcode |
struct session_id | session_id |
int | key_id |
The current active key id, used to keep track of renegotiations. More... | |
int | limit_next |
int | verify_maxlevel |
char * | common_name |
struct cert_hash_set * | cert_hash_set |
bool | verified |
struct link_socket_actual | untrusted_addr |
struct key_state | key [KS_SIZE] |
Security parameter state of a single session within a VPN tunnel.
This structure represents an OpenVPN peer-to-peer control channel session.
A tls_session
remains over soft resets, but a new instance is initialized for each hard reset.
tls_session_init()
function.tls_session_free()
function. Definition at line 471 of file ssl_common.h.
bool tls_session::burst |
Definition at line 477 of file ssl_common.h.
struct cert_hash_set* tls_session::cert_hash_set |
Definition at line 502 of file ssl_common.h.
Referenced by tls_lock_cert_hash_set().
char* tls_session::common_name |
Definition at line 500 of file ssl_common.h.
Referenced by tls_common_name(), and tls_lock_common_name().
int tls_session::initial_opcode |
Definition at line 486 of file ssl_common.h.
Definition at line 509 of file ssl_common.h.
Referenced by auth_token_test_env(), generate_auth_token(), get_key_scan(), get_primary_key(), management_client_pending_auth(), multi_process_post(), tls_deauthenticate(), and tls_multi_process().
int tls_session::key_id |
The current active key id, used to keep track of renegotiations.
key_id increments with each soft reset to KEY_ID_MASK then recycles back to 1. This way you know that if key_id is 0, it is the first key.
Definition at line 494 of file ssl_common.h.
Referenced by tls_pre_decrypt().
int tls_session::limit_next |
Definition at line 496 of file ssl_common.h.
struct tls_options* tls_session::opt |
Definition at line 474 of file ssl_common.h.
Referenced by auth_token_test_timeout(), setup(), and teardown().
struct session_id tls_session::session_id |
Definition at line 487 of file ssl_common.h.
struct tls_wrap_ctx tls_session::tls_wrap |
Definition at line 480 of file ssl_common.h.
struct tls_wrap_ctx tls_session::tls_wrap_reneg |
Definition at line 484 of file ssl_common.h.
struct link_socket_actual tls_session::untrusted_addr |
Definition at line 507 of file ssl_common.h.
bool tls_session::verified |
Definition at line 504 of file ssl_common.h.
int tls_session::verify_maxlevel |
Definition at line 498 of file ssl_common.h.