#include <proto.hpp>
Definition at line 335 of file proto.hpp.
◆ Ptr
◆ LoadCommonType
| Enumerator |
|---|
| LOAD_COMMON_SERVER | |
| LOAD_COMMON_CLIENT | |
| LOAD_COMMON_CLIENT_PUSHED | |
Definition at line 1208 of file proto.hpp.
◆ TLSCrypt
| Enumerator |
|---|
| None | |
| V1 | |
| V2 | |
| Dynamic | |
Definition at line 389 of file proto.hpp.
◆ build_connect_time_peer_info_string()
| void openvpn::ProtoContext::ProtoConfig::build_connect_time_peer_info_string |
( |
TransportClient::Ptr |
transport | ) |
|
|
inline |
This method adds the parts of the peer info string that depend on the state of the connection, especially the remote that we are connecting to.
Definition at line 1093 of file proto.hpp.
◆ dynamic_tls_crypt_enabled()
| bool openvpn::ProtoContext::ProtoConfig::dynamic_tls_crypt_enabled |
( |
| ) |
const |
|
inline |
◆ enable_dynamic_tls_crypt()
| void openvpn::ProtoContext::ProtoConfig::enable_dynamic_tls_crypt |
( |
| ) |
|
|
inline |
Fire up the infrastructure needed in order to be able to process dynamic TLS-crypt renegotiation.
Definition at line 690 of file proto.hpp.
◆ get_data_channel_options()
| void openvpn::ProtoContext::ProtoConfig::get_data_channel_options |
( |
std::ostringstream & |
os | ) |
const |
|
inline |
◆ link_mtu_adjust()
| unsigned int openvpn::ProtoContext::ProtoConfig::link_mtu_adjust |
( |
| ) |
|
|
inline |
◆ load()
◆ load_common()
◆ options_string()
| std::string openvpn::ProtoContext::ProtoConfig::options_string |
( |
| ) |
|
|
inline |
◆ parse_custom_app_control()
| void openvpn::ProtoContext::ProtoConfig::parse_custom_app_control |
( |
const OptionList & |
opt | ) |
|
|
inline |
◆ parse_pushed_compression()
◆ parse_pushed_data_channel_options()
| void openvpn::ProtoContext::ProtoConfig::parse_pushed_data_channel_options |
( |
const OptionList & |
opt | ) |
|
|
inline |
◆ parse_pushed_peer_id()
| void openvpn::ProtoContext::ProtoConfig::parse_pushed_peer_id |
( |
const OptionList & |
opt | ) |
|
|
inline |
◆ parse_pushed_protocol_flags()
| void openvpn::ProtoContext::ProtoConfig::parse_pushed_protocol_flags |
( |
const OptionList & |
opt | ) |
|
|
inline |
◆ peer_info_string()
| std::string openvpn::ProtoContext::ProtoConfig::peer_info_string |
( |
bool |
proto_v3_support | ) |
const |
|
inline |
◆ process_push()
◆ relay_prefix()
| std::string openvpn::ProtoContext::ProtoConfig::relay_prefix |
( |
const char * |
optname | ) |
const |
|
inlineprivate |
◆ set_protocol()
| void openvpn::ProtoContext::ProtoConfig::set_protocol |
( |
const Protocol & |
p | ) |
|
|
inline |
◆ set_tls_auth_digest()
| void openvpn::ProtoContext::ProtoConfig::set_tls_auth_digest |
( |
const CryptoAlgs::Type |
digest | ) |
|
|
inline |
◆ set_tls_crypt_algs()
| void openvpn::ProtoContext::ProtoConfig::set_tls_crypt_algs |
( |
| ) |
|
|
inline |
◆ set_xmit_creds()
| void openvpn::ProtoContext::ProtoConfig::set_xmit_creds |
( |
const bool |
xmit_creds_arg | ) |
|
|
inline |
◆ show_cc_enc_option()
| void openvpn::ProtoContext::ProtoConfig::show_cc_enc_option |
( |
std::ostringstream & |
os | ) |
const |
|
inline |
◆ show_options()
| std::string openvpn::ProtoContext::ProtoConfig::show_options |
( |
| ) |
const |
|
inline |
◆ tls_auth_enabled()
| bool openvpn::ProtoContext::ProtoConfig::tls_auth_enabled |
( |
| ) |
const |
|
inline |
◆ tls_crypt_enabled()
| bool openvpn::ProtoContext::ProtoConfig::tls_crypt_enabled |
( |
| ) |
const |
|
inline |
◆ tls_crypt_v2_enabled()
| bool openvpn::ProtoContext::ProtoConfig::tls_crypt_v2_enabled |
( |
| ) |
const |
|
inline |
◆ app_control_config
◆ app_control_recv
◆ auth_nocache
| bool openvpn::ProtoContext::ProtoConfig::auth_nocache = false |
◆ become_primary
| Time::Duration openvpn::ProtoContext::ProtoConfig::become_primary |
◆ cc_exit_notify
| bool openvpn::ProtoContext::ProtoConfig::cc_exit_notify = false |
◆ comp_ctx
◆ dc
◆ dc_deferred
| bool openvpn::ProtoContext::ProtoConfig::dc_deferred = false |
◆ enable_op32
| bool openvpn::ProtoContext::ProtoConfig::enable_op32 = false |
◆ expire
| Time::Duration openvpn::ProtoContext::ProtoConfig::expire |
◆ extra_peer_info
extra peer info key/value pairs generated by client app
Definition at line 437 of file proto.hpp.
◆ extra_peer_info_push_peerinfo
| bool openvpn::ProtoContext::ProtoConfig::extra_peer_info_push_peerinfo = false |
When the extra_peer_info_transport is being built, we need to remember if it should include the more sensitive information that push-peer-info includes
Definition at line 448 of file proto.hpp.
◆ extra_peer_info_transport
extra peer information that depends on the state of the underlying transport and needs to be initialised after the transport is initialised but before the IV variables are sent
Definition at line 444 of file proto.hpp.
◆ frame
| Frame::Ptr openvpn::ProtoContext::ProtoConfig::frame |
◆ handshake_window
| Time::Duration openvpn::ProtoContext::ProtoConfig::handshake_window |
◆ initial_options
| std::string openvpn::ProtoContext::ProtoConfig::initial_options |
◆ keepalive_ping
| Time::Duration openvpn::ProtoContext::ProtoConfig::keepalive_ping |
◆ keepalive_timeout
| Time::Duration openvpn::ProtoContext::ProtoConfig::keepalive_timeout |
◆ keepalive_timeout_early
| Time::Duration openvpn::ProtoContext::ProtoConfig::keepalive_timeout_early |
◆ key_direction
| int openvpn::ProtoContext::ProtoConfig::key_direction = -1 |
◆ layer
| Layer openvpn::ProtoContext::ProtoConfig::layer |
◆ local_peer_id
| int openvpn::ProtoContext::ProtoConfig::local_peer_id = -1 |
◆ mss_fix
| unsigned int openvpn::ProtoContext::ProtoConfig::mss_fix = 0 |
◆ mss_parms
| MSSParms openvpn::ProtoContext::ProtoConfig::mss_parms |
◆ now
| TimePtr openvpn::ProtoContext::ProtoConfig::now |
◆ prng
◆ protocol
| Protocol openvpn::ProtoContext::ProtoConfig::protocol |
◆ relay_mode
| bool openvpn::ProtoContext::ProtoConfig::relay_mode = false |
◆ remote_peer_id
| int openvpn::ProtoContext::ProtoConfig::remote_peer_id = -1 |
◆ renegotiate
| Time::Duration openvpn::ProtoContext::ProtoConfig::renegotiate |
◆ rng
◆ ssl_factory
◆ tls_auth_context
◆ tls_auth_factory
◆ tls_auth_key
leave this undefined to disable tls_auth
Definition at line 398 of file proto.hpp.
◆ tls_crypt_
| unsigned openvpn::ProtoContext::ProtoConfig::tls_crypt_ = TLSCrypt::None |
needed to distinguish between tls-crypt and tls-crypt-v2 server mode
Definition at line 404 of file proto.hpp.
◆ tls_crypt_context
◆ tls_crypt_factory
◆ tls_crypt_key
leave this undefined to disable tls-crypt/tls-crypt-v2
Definition at line 401 of file proto.hpp.
◆ tls_crypt_metadata_factory
◆ tls_crypt_v2_serverkey_dir
| std::string openvpn::ProtoContext::ProtoConfig::tls_crypt_v2_serverkey_dir |
server keys location, if tls_crypt_v2_serverkey_id is true
Definition at line 410 of file proto.hpp.
◆ tls_crypt_v2_serverkey_id
| bool openvpn::ProtoContext::ProtoConfig::tls_crypt_v2_serverkey_id = false |
do we expect keys to contain a server key ID?
Definition at line 407 of file proto.hpp.
◆ tls_timeout
| Time::Duration openvpn::ProtoContext::ProtoConfig::tls_timeout |
◆ tlsprf_factory
◆ tun_mtu
◆ tun_mtu_max
| unsigned int openvpn::ProtoContext::ProtoConfig::tun_mtu_max = TUN_MTU_DEFAULT + 100 |
◆ wkc
leave this undefined to disable tls-crypt-v2 on client
Definition at line 413 of file proto.hpp.
◆ xmit_creds
| bool openvpn::ProtoContext::ProtoConfig::xmit_creds = true |
The documentation for this class was generated from the following file: