|
typedef openvpn_io::windows::object_handle | AsioEvent |
|
|
bool | omi_command_in (const std::string &arg0, const Command &cmd) override |
|
void | omi_done (const bool eof) override |
|
std::vector< ClientAPI::KeyValue > | get_peer_info () const |
|
void | omi_start_connection () override |
|
void | query_username_password (const std::string &type, const bool password_only, const std::string &static_challenge, const bool static_challenge_echo) |
|
bool | is_auth_cmd (const std::string &arg0) const |
|
void | process_auth_cmd (const Option &o) |
|
void | reset_auth_cmd () |
|
void | provide_username_password (const std::string &type, const std::string &username, const std::string &password) |
|
void | query_remote (const std::string &host, const std::string &port, const std::string &proto) |
|
void | process_remote_cmd (const Option &o) |
|
void | schedule_bytecount_timer () |
|
void | report_bytecount () |
|
void | start_connection_thread () |
|
void | connection_thread () |
|
void | join_thread () |
|
bool | omi_stop () override |
|
void | retry () |
|
void | deferred_reconnect (const unsigned int seconds, const std::string &reason) |
|
void | omi_sigterm () override |
|
bool | omi_is_sighup_implemented () override |
|
void | omi_sighup () override |
|
void | log_msg (const ClientAPI::LogInfo &msg) |
|
void | event_msg (const ClientAPI::Event &ev, const ClientAPI::ConnectionInfo *ci) |
|
void | emit_up_down (const std::string &state) |
|
void | set_final_error (const std::string &err) |
|
std::string | get_final_error () |
|
void | signal (const openvpn_io::error_code &error, int signum) |
|
void | signal_rearm () |
|
Definition at line 81 of file openvpn.cpp.
◆ AsioEvent
◆ Ptr
◆ OMI()
OMI::OMI |
( |
openvpn_io::io_context & |
io_context, |
|
|
OptionList |
opt_arg |
|
) |
| |
|
inline |
◆ acc_event()
◆ connection_thread()
void OMI::connection_thread |
( |
| ) |
|
|
inlineprivate |
◆ deferred_reconnect()
void OMI::deferred_reconnect |
( |
const unsigned int |
seconds, |
|
|
const std::string & |
reason |
|
) |
| |
|
inlineprivate |
◆ emit_up_down()
void OMI::emit_up_down |
( |
const std::string & |
state | ) |
|
|
inlineprivate |
◆ epki_sign_reply()
void OMI::epki_sign_reply |
( |
const Command & |
cmd | ) |
|
|
inline |
◆ epki_sign_request()
void OMI::epki_sign_request |
( |
| ) |
|
|
inline |
◆ event() [1/2]
◆ event() [2/2]
◆ event_format()
◆ event_msg()
◆ external_pki_cert_request()
◆ external_pki_sign_request()
◆ gen_state_msg()
static std::string OMI::gen_state_msg |
( |
const bool |
prefix, |
|
|
std::string |
name, |
|
|
std::string |
info |
|
) |
| |
|
inlinestaticprivate |
◆ get_final_error()
std::string OMI::get_final_error |
( |
| ) |
|
|
inlineprivate |
◆ get_peer_info()
◆ is_auth_cmd()
bool OMI::is_auth_cmd |
( |
const std::string & |
arg0 | ) |
const |
|
inlineprivate |
◆ join_thread()
void OMI::join_thread |
( |
| ) |
|
|
inlineprivate |
◆ log()
◆ log_msg()
◆ omi_command_in()
bool OMI::omi_command_in |
( |
const std::string & |
arg0, |
|
|
const Command & |
cmd |
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ omi_command_is_multiline()
bool OMI::omi_command_is_multiline |
( |
const std::string & |
arg0, |
|
|
const Option & |
o |
|
) |
| |
|
inlineoverridevirtual |
◆ omi_done()
void OMI::omi_done |
( |
const bool |
eof | ) |
|
|
inlineoverrideprivatevirtual |
◆ omi_is_sighup_implemented()
bool OMI::omi_is_sighup_implemented |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ omi_sighup()
|
inlineoverrideprivatevirtual |
◆ omi_sigterm()
void OMI::omi_sigterm |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ omi_start_connection()
void OMI::omi_start_connection |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ omi_stop()
|
inlineoverrideprivatevirtual |
◆ process_auth_cmd()
void OMI::process_auth_cmd |
( |
const Option & |
o | ) |
|
|
inlineprivate |
◆ process_remote_cmd()
void OMI::process_remote_cmd |
( |
const Option & |
o | ) |
|
|
inlineprivate |
◆ provide_username_password()
void OMI::provide_username_password |
( |
const std::string & |
type, |
|
|
const std::string & |
username, |
|
|
const std::string & |
password |
|
) |
| |
|
inlineprivate |
◆ query_remote()
void OMI::query_remote |
( |
const std::string & |
host, |
|
|
const std::string & |
port, |
|
|
const std::string & |
proto |
|
) |
| |
|
inlineprivate |
◆ query_username_password()
void OMI::query_username_password |
( |
const std::string & |
type, |
|
|
const bool |
password_only, |
|
|
const std::string & |
static_challenge, |
|
|
const bool |
static_challenge_echo |
|
) |
| |
|
inlineprivate |
◆ report_bytecount()
void OMI::report_bytecount |
( |
| ) |
|
|
inlineprivate |
◆ reset_auth_cmd()
void OMI::reset_auth_cmd |
( |
| ) |
|
|
inlineprivate |
◆ retry()
◆ schedule_bytecount_timer()
void OMI::schedule_bytecount_timer |
( |
| ) |
|
|
inlineprivate |
◆ set_final_error()
void OMI::set_final_error |
( |
const std::string & |
err | ) |
|
|
inlineprivate |
◆ signal()
void OMI::signal |
( |
const openvpn_io::error_code & |
error, |
|
|
int |
signum |
|
) |
| |
|
inlineprivate |
◆ signal_rearm()
void OMI::signal_rearm |
( |
| ) |
|
|
inlineprivate |
◆ start()
◆ start_connection_thread()
void OMI::start_connection_thread |
( |
| ) |
|
|
inlineprivate |
◆ async_stop
◆ auth_nocache
bool OMI::auth_nocache = false |
|
private |
◆ auth_password
std::string OMI::auth_password |
|
private |
◆ auth_password_only
bool OMI::auth_password_only = false |
|
private |
◆ auth_type
std::string OMI::auth_type |
|
private |
◆ auth_username
std::string OMI::auth_username |
|
private |
◆ autologin
bool OMI::autologin = false |
|
private |
◆ bytecount_timer
◆ client
std::unique_ptr<Client> OMI::client |
|
private |
◆ config
◆ connection_timeout
int OMI::connection_timeout = 0 |
|
private |
◆ creds
◆ dc_cookie
std::string OMI::dc_cookie |
|
private |
◆ did_query_remote
bool OMI::did_query_remote = false |
|
private |
◆ epki_cv
std::condition_variable OMI::epki_cv |
|
private |
◆ epki_mutex
std::mutex OMI::epki_mutex |
|
private |
◆ epki_signreq
◆ exit_event
◆ exit_event_name
std::string OMI::exit_event_name |
|
private |
◆ final_error
std::string OMI::final_error |
|
private |
◆ http_proxy_host
std::string OMI::http_proxy_host |
|
private |
◆ http_proxy_port
std::string OMI::http_proxy_port |
|
private |
◆ log_context
◆ management_external_key
bool OMI::management_external_key = false |
|
private |
◆ management_query_passwords
bool OMI::management_query_passwords = false |
|
private |
◆ management_query_remote
bool OMI::management_query_remote = false |
|
private |
◆ management_up_down
bool OMI::management_up_down = false |
|
private |
◆ opt
◆ proto_override
std::string OMI::proto_override |
|
private |
◆ proxy_need_creds
bool OMI::proxy_need_creds = false |
|
private |
◆ reconnect_reason
std::string OMI::reconnect_reason |
|
private |
◆ reconnect_timer
◆ remote_override
std::string OMI::remote_override |
|
private |
◆ remote_pending
bool OMI::remote_pending = false |
|
private |
◆ signals
◆ thread
std::unique_ptr<std::thread> OMI::thread |
|
private |
The documentation for this class was generated from the following file: