|
OpenVPN
|
#include "error.h"

Go to the source code of this file.
Macros | |
| #define | DEBUG_LEVEL_USEC_TIME 4 |
| #define | P2P_ERROR_DELAY_MS 0 |
| #define | LOG_RW |
| #define | M_VERB0 LOGLEV(0, 0, 0) /* Messages displayed even at --verb 0 (fatal errors only) */ |
| #define | M_INFO LOGLEV(1, 0, 0) /* default informational messages */ |
| #define | D_LINK_ERRORS LOGLEV(1, 1, M_NONFATAL) /* show link errors from main event loop */ |
| #define | D_CRYPT_ERRORS LOGLEV(1, 2, M_NONFATAL) /* show errors from encrypt/decrypt */ |
| #define | D_TLS_ERRORS LOGLEV(1, 3, M_NONFATAL) /* show TLS control channel errors */ |
| #define | D_RESOLVE_ERRORS LOGLEV(1, 4, M_NONFATAL) /* show hostname resolve errors */ |
| #define | D_COMP_ERRORS LOGLEV(1, 5, M_NONFATAL) /* show compression errors */ |
| #define | D_REPLAY_ERRORS LOGLEV(1, 6, M_NONFATAL) /* show packet replay errors */ |
| #define | D_STREAM_ERRORS LOGLEV(1, 7, M_NONFATAL) /* TCP stream error requiring restart */ |
| #define | D_IMPORT_ERRORS LOGLEV(1, 8, M_NONFATAL) /* show server import option errors */ |
| #define | D_MULTI_ERRORS LOGLEV(1, 9, M_NONFATAL) /* show multi-client server errors */ |
| #define | D_EVENT_ERRORS LOGLEV(1, 10, M_NONFATAL) /* show event.[ch] errors */ |
| #define | D_PUSH_ERRORS LOGLEV(1, 11, M_NONFATAL) /* show push/pull errors */ |
| #define | D_PID_PERSIST LOGLEV(1, 12, M_NONFATAL) /* show packet_id persist errors */ |
| #define | D_FRAG_ERRORS LOGLEV(1, 13, M_NONFATAL) /* show fragmentation errors */ |
| #define | D_ALIGN_ERRORS LOGLEV(1, 14, M_NONFATAL) /* show bad struct alignments */ |
| #define | D_HANDSHAKE LOGLEV(2, 20, 0) /* show data & control channel handshakes */ |
| #define | D_CLOSE LOGLEV(2, 22, 0) /* show socket and TUN/TAP close */ |
| #define | D_PROXY LOGLEV(2, 24, 0) /* show http proxy control packets */ |
| #define | D_ARGV LOGLEV(2, 25, 0) /* show struct argv errors */ |
| #define | D_TLS_DEBUG_LOW LOGLEV(3, 20, 0) /* low frequency info from tls_session routines */ |
| #define | D_GREMLIN LOGLEV(3, 30, 0) /* show simulated outage info from gremlin module */ |
| #define | D_GENKEY LOGLEV(3, 31, 0) /* print message after key generation */ |
| #define | D_ROUTE LOGLEV(3, 0, 0) /* show routes added and deleted (don't mute) */ |
| #define | D_TUNTAP_INFO LOGLEV(3, 32, 0) /* show debugging info from TUN/TAP driver */ |
| #define | D_RESTART LOGLEV(3, 33, 0) /* show certain restart messages */ |
| #define | D_PUSH LOGLEV(3, 34, 0) /* show push/pull info */ |
| #define | D_IFCONFIG_POOL LOGLEV(3, 35, 0) /* show ifconfig pool info */ |
| #define | D_AUTH LOGLEV(3, 37, 0) /* show user/pass auth info */ |
| #define | D_MULTI_LOW LOGLEV(3, 38, 0) /* show point-to-multipoint low-freq debug info */ |
| #define | D_PLUGIN LOGLEV(3, 39, 0) /* show plugin calls */ |
| #define | D_MANAGEMENT LOGLEV(3, 40, 0) /* show --management info */ |
| #define | D_SCHED_EXIT LOGLEV(3, 41, 0) /* show arming of scheduled exit */ |
| #define | D_ROUTE_QUOTA LOGLEV(3, 42, 0) /* show route quota exceeded messages */ |
| #define | D_OSBUF LOGLEV(3, 43, 0) /* show socket/tun/tap buffer sizes */ |
| #define | D_PS_PROXY LOGLEV(3, 44, 0) /* messages related to --port-share option */ |
| #define | D_IFCONFIG LOGLEV(3, 0, 0) /* show ifconfig info (don't mute) */ |
| #define | D_DCO LOGLEV(3, 0, 0) /* show DCO related messages */ |
| #define | D_SHOW_PARMS LOGLEV(4, 50, 0) /* show all parameters on program initiation */ |
| #define | D_LOW LOGLEV(4, 52, 0) /* miscellaneous low-frequency debug info */ |
| #define | D_DHCP_OPT LOGLEV(4, 53, 0) /* show DHCP options binary string */ |
| #define | D_MBUF LOGLEV(4, 54, 0) /* mbuf.[ch] routines */ |
| #define | D_PACKET_TRUNC_ERR LOGLEV(4, 55, 0) /* PACKET_TRUNCATION_CHECK */ |
| #define | D_MULTI_DROPPED LOGLEV(4, 57, 0) /* show point-to-multipoint packet drops */ |
| #define | D_MULTI_MEDIUM LOGLEV(4, 58, 0) /* show medium frequency multi messages */ |
| #define | D_X509_ATTR LOGLEV(4, 59, 0) /* show x509-track attributes on connection */ |
| #define | D_INIT_MEDIUM LOGLEV(4, 60, 0) /* show medium frequency init messages */ |
| #define | D_MTU_INFO LOGLEV(4, 61, 0) /* show terse MTU info */ |
| #define | D_PID_DEBUG_LOW LOGLEV(4, 63, 0) /* show low-freq packet-id debugging info */ |
| #define | D_PID_DEBUG_MEDIUM LOGLEV(4, 64, 0) /* show medium-freq packet-id debugging info */ |
| #define | D_CIPHER_INIT LOGLEV(4, 65, 0) /* show messages about cipher init */ |
| #define | D_LOG_RW LOGLEV(5, 0, 0) /* Print 'R' or 'W' to stdout for read/write */ |
| #define | D_RTNL LOGLEV(6, 68, M_DEBUG) /* show RTNL low level operations */ |
| #define | D_LINK_RW LOGLEV(6, 69, M_DEBUG) /* show TCP/UDP reads/writes (terse) */ |
| #define | D_TUN_RW LOGLEV(6, 69, M_DEBUG) /* show TUN/TAP reads/writes */ |
| #define | D_TAP_WIN_DEBUG LOGLEV(6, 69, M_DEBUG) /* show TAP-Windows driver debug info */ |
| #define | D_CLIENT_NAT LOGLEV(6, 69, M_DEBUG) /* show client NAT debug info */ |
| #define | D_XKEY LOGLEV(6, 69, M_DEBUG) /* show xkey-provider debug info */ |
| #define | D_DCO_DEBUG LOGLEV(6, 69, M_DEBUG) /* show DCO related lowlevel debug messages */ |
| #define | D_SIGNAL_DEBUG LOGLEV(6, 69, M_DEBUG) /* show signal related debug messages */ |
| #define | D_SHOW_KEYS LOGLEV(7, 70, M_DEBUG) /* show data channel encryption keys */ |
| #define | D_SHOW_KEY_SOURCE LOGLEV(7, 70, M_DEBUG) /* show data channel key source entropy */ |
| #define | D_REL_LOW LOGLEV(7, 70, M_DEBUG) /* show low frequency info from reliable layer */ |
| #define | D_FRAG_DEBUG LOGLEV(7, 70, M_DEBUG) /* show fragment debugging info */ |
| #define | D_WIN32_IO_LOW LOGLEV(7, 70, M_DEBUG) /* low freq win32 I/O debugging info */ |
| #define | D_MTU_DEBUG LOGLEV(7, 70, M_DEBUG) /* show MTU debugging info */ |
| #define | D_MULTI_DEBUG LOGLEV(7, 70, M_DEBUG) /* show medium-freq multi debugging info */ |
| #define | D_MSS LOGLEV(7, 70, M_DEBUG) /* show MSS adjustments */ |
| #define | D_COMP_LOW LOGLEV(7, 70, M_DEBUG) /* show adaptive compression state changes */ |
| #define | D_CONNECTION_LIST LOGLEV(7, 70, M_DEBUG) /* show <connection> list info */ |
| #define | D_SCRIPT LOGLEV(7, 70, M_DEBUG) /* show parms & env vars passed to scripts */ |
| #define | D_SHOW_NET LOGLEV(7, 70, M_DEBUG) /* show routing table and adapter list */ |
| #define | D_ROUTE_DEBUG LOGLEV(7, 70, M_DEBUG) /* show verbose route.[ch] output */ |
| #define | D_TLS_STATE_ERRORS LOGLEV(7, 70, M_DEBUG) /* no TLS state for client */ |
| #define | D_SEMAPHORE_LOW LOGLEV(7, 70, M_DEBUG) /* show Win32 semaphore waits (low freq) */ |
| #define | D_SEMAPHORE LOGLEV(7, 70, M_DEBUG) /* show Win32 semaphore waits */ |
| #define | D_TEST_FILE LOGLEV(7, 70, M_DEBUG) /* show test_file() calls */ |
| #define | D_MANAGEMENT_DEBUG LOGLEV(3, 70, M_DEBUG) /* show --management debug info */ |
| #define | D_PLUGIN_DEBUG LOGLEV(7, 70, M_DEBUG) /* show verbose plugin calls */ |
| #define | D_SOCKET_DEBUG LOGLEV(7, 70, M_DEBUG) /* show socket.[ch] debugging info */ |
| #define | D_SHOW_PKCS11 LOGLEV(7, 70, M_DEBUG) /* show PKCS#11 actions */ |
| #define | D_ALIGN_DEBUG LOGLEV(7, 70, M_DEBUG) /* show verbose struct alignment info */ |
| #define | D_PACKET_TRUNC_DEBUG LOGLEV(7, 70, M_DEBUG) /* PACKET_TRUNCATION_CHECK verbose */ |
| #define | D_PING LOGLEV(7, 70, M_DEBUG) /* PING send/receive messages */ |
| #define | D_PS_PROXY_DEBUG LOGLEV(7, 70, M_DEBUG) /* port share proxy debug */ |
| #define | D_TLS_KEYSELECT LOGLEV(7, 70, M_DEBUG) /* show key selection for data channel */ |
| #define | D_ARGV_PARSE_CMD LOGLEV(7, 70, M_DEBUG) /* show parse_line() errors in argv_parse_cmd */ |
| #define | D_CRYPTO_DEBUG LOGLEV(7, 70, M_DEBUG) /* show detailed info from crypto.c routines */ |
| #define | D_PID_DEBUG LOGLEV(7, 70, M_DEBUG) /* show packet-id debugging info */ |
| #define | D_PUSH_DEBUG LOGLEV(7, 73, M_DEBUG) /* show push/pull debugging info */ |
| #define | D_SHOW_OCC LOGLEV(7, 74, M_DEBUG) /* show options compatibility string */ |
| #define | D_VLAN_DEBUG LOGLEV(7, 74, M_DEBUG) /* show VLAN tagging/untagging debug info */ |
| #define | D_HANDSHAKE_VERBOSE LOGLEV(8, 70, M_DEBUG) /* show detailed description of handshake */ |
| #define | D_TLS_DEBUG_MED LOGLEV(8, 70, M_DEBUG) /* limited info from tls_session routines */ |
| #define | D_INTERVAL LOGLEV(8, 70, M_DEBUG) /* show interval.h debugging info */ |
| #define | D_SCHEDULER LOGLEV(8, 70, M_DEBUG) /* show scheduler debugging info */ |
| #define | D_GREMLIN_VERBOSE LOGLEV(8, 70, M_DEBUG) /* show verbose info from gremlin module */ |
| #define | D_REL_DEBUG LOGLEV(8, 70, M_DEBUG) /* show detailed info from reliable routines */ |
| #define | D_EVENT_WAIT LOGLEV(8, 70, M_DEBUG) /* show detailed info from event waits */ |
| #define | D_MULTI_TCP LOGLEV(8, 70, M_DEBUG) /* show debug info from mtcp.c */ |
| #define | D_TLS_DEBUG LOGLEV(9, 70, M_DEBUG) /* show detailed info from TLS routines */ |
| #define | D_COMP LOGLEV(9, 70, M_DEBUG) /* show compression info */ |
| #define | D_READ_WRITE LOGLEV(9, 70, M_DEBUG) /* show all tun/tcp/udp reads/writes/opens */ |
| #define | D_PACKET_CONTENT LOGLEV(9, 70, M_DEBUG) /* show before/after encryption packet content */ |
| #define | D_TLS_NO_SEND_KEY LOGLEV(9, 70, M_DEBUG) /* show when no data channel send-key exists */ |
| #define | D_PID_PERSIST_DEBUG LOGLEV(9, 70, M_DEBUG) /* show packet-id persist debugging info */ |
| #define | D_LINK_RW_VERBOSE LOGLEV(9, 70, M_DEBUG) /* increase link reads/writes verbosity */ |
| #define | D_STREAM_DEBUG LOGLEV(9, 70, M_DEBUG) /* show TCP stream debug info */ |
| #define | D_WIN32_IO LOGLEV(9, 70, M_DEBUG) /* win32 I/O debugging info */ |
| #define | D_PKCS11_DEBUG LOGLEV(9, 70, M_DEBUG) /* show PKCS#11 debugging */ |
| #define | D_SHAPER_DEBUG LOGLEV(10, 70, M_DEBUG) /* show traffic shaper info */ |
| #define | D_REGISTRY LOGLEV(11, 70, M_DEBUG) /* win32 registry debugging info */ |
| #define | D_OPENSSL_LOCK LOGLEV(11, 70, M_DEBUG) /* show OpenSSL locks */ |
Definition at line 141 of file errlevel.h.
| #define D_ALIGN_ERRORS LOGLEV(1, 14, M_NONFATAL) /* show bad struct alignments */ |
Definition at line 69 of file errlevel.h.
Definition at line 74 of file errlevel.h.
| #define D_ARGV_PARSE_CMD LOGLEV(7, 70, M_DEBUG) /* show parse_line() errors in argv_parse_cmd */ |
Definition at line 146 of file errlevel.h.
Referenced by argv_parse_cmd().
Definition at line 84 of file errlevel.h.
Definition at line 107 of file errlevel.h.
Referenced by init_key_ctx().
Definition at line 115 of file errlevel.h.
Referenced by client_nat_transform().
Definition at line 72 of file errlevel.h.
Referenced by do_close_tun_simple().
Definition at line 165 of file errlevel.h.
| #define D_COMP_ERRORS LOGLEV(1, 5, M_NONFATAL) /* show compression errors */ |
Definition at line 60 of file errlevel.h.
Definition at line 128 of file errlevel.h.
Definition at line 129 of file errlevel.h.
| #define D_CRYPT_ERRORS LOGLEV(1, 2, M_NONFATAL) /* show errors from encrypt/decrypt */ |
Definition at line 57 of file errlevel.h.
Referenced by crypto_pem_decode(), crypto_print_openssl_errors(), key_is_zero(), openvpn_encrypt_aead(), openvpn_encrypt_v1(), rand_bytes(), and tls_crypt_wrap().
Definition at line 147 of file errlevel.h.
Referenced by init_key_ctx(), tls_crypt_unwrap(), tls_crypt_v2_unwrap_client_key(), and tls_crypt_v2_wrap_client_key().
Definition at line 93 of file errlevel.h.
Referenced by dco_del_key(), do_up(), multi_client_setup_dco_initial(), options_postprocess_mutate(), and tls_session_update_crypto_params_do_work().
Definition at line 117 of file errlevel.h.
Referenced by dco_del_peer(), dco_event_set(), dco_get_version(), dco_handle_overlapped_success(), dco_mp_start_vpn(), dco_new_key(), dco_new_peer(), dco_p2p_new_peer(), dco_read_and_process(), dco_set_peer(), dco_swap_keys(), dco_wait_ready(), dco_win_add_iroute_ipv4(), dco_win_add_iroute_ipv6(), dco_win_del_iroute_ipv4(), dco_win_del_iroute_ipv6(), multi_instance_string(), and process_incoming_dco().
Definition at line 97 of file errlevel.h.
Referenced by tuntap_dhcp_mask().
| #define D_EVENT_ERRORS LOGLEV(1, 10, M_NONFATAL) /* show event.[ch] errors */ |
Definition at line 65 of file errlevel.h.
Referenced by we_ctl().
Definition at line 161 of file errlevel.h.
Referenced by io_wait(), show_wait_status(), we_ctl(), we_init(), and we_wait().
Definition at line 123 of file errlevel.h.
Referenced by fragment_incoming(), and fragment_prepend_flags().
| #define D_FRAG_ERRORS LOGLEV(1, 13, M_NONFATAL) /* show fragmentation errors */ |
Definition at line 68 of file errlevel.h.
Referenced by fragment_incoming(), fragment_outgoing(), and fragment_ttl_reap().
Definition at line 78 of file errlevel.h.
Referenced by crypto_check_replay(), do_genkey(), and tls_crypt_v2_write_client_key_file().
Definition at line 77 of file errlevel.h.
Definition at line 159 of file errlevel.h.
Definition at line 71 of file errlevel.h.
Referenced by print_details(), session_move_active(), tls_crypt_v2_extract_client_key(), tls_crypt_v2_verify_metadata(), tls_print_deferred_options_results(), verify_cert(), verify_cert_call_command(), verify_cert_call_plugin(), verify_check_crl_dir(), verify_peer_cert(), verify_user_pass(), x509_verify_cert_eku(), and x509_verify_cert_ku().
Definition at line 155 of file errlevel.h.
Referenced by bio_read(), bio_write(), and info_callback().
Definition at line 92 of file errlevel.h.
Referenced by do_address_service().
Definition at line 83 of file errlevel.h.
Referenced by ifconfig_pool_init(), and ifconfig_pool_read().
| #define D_IMPORT_ERRORS LOGLEV(1, 8, M_NONFATAL) /* show server import option errors */ |
Definition at line 63 of file errlevel.h.
Referenced by multi_client_connect_mda(), multi_client_connect_post(), multi_client_connect_post_plugin(), and open_plugins().
Definition at line 103 of file errlevel.h.
Referenced by do_init_crypto_tls_c1(), and linksock_print_addr().
Definition at line 157 of file errlevel.h.
Referenced by check_coarse_timers(), check_timeout_random_component_dowork(), event_timeout_trigger(), interval_action(), interval_future_trigger(), interval_schedule_wakeup(), and interval_test().
| #define D_LINK_ERRORS LOGLEV(1, 1, M_NONFATAL) /* show link errors from main event loop */ |
Definition at line 56 of file errlevel.h.
Referenced by establish_http_proxy_passthru(), establish_socks_proxy_passthru(), establish_socks_proxy_udpassoc(), init_verb_mute(), io_wait(), link_socket_bad_incoming_addr(), man_connect(), process_incoming_link_part1(), process_outgoing_link(), process_outgoing_tun(), proxy_recv_char(), proxy_send(), recv_line(), recv_socks_reply(), socket_connect(), socket_do_accept(), socket_listen_accept(), socks_handshake(), and socks_username_password_auth().
Definition at line 112 of file errlevel.h.
Referenced by process_incoming_link_part1(), and process_outgoing_link().
Definition at line 170 of file errlevel.h.
Definition at line 109 of file errlevel.h.
Referenced by init_verb_mute().
| #define D_LOW LOGLEV(4, 52, 0) /* miscellaneous low-frequency debug info */ |
Definition at line 96 of file errlevel.h.
Referenced by apply_pull_filter(), backend_tls_ctx_reload_crl(), cipher_valid_reason(), convert_tls_list_to_openssl(), create_socket_udp(), do_dns_domain_service(), do_dns_service(), do_ifconfig(), do_wins_service(), drop_if_recursive_routing(), get_user_pass_cr(), link_socket_close(), run_up_down_service(), test_atoi_variants(), tls_ctx_load_ecdh_params(), tunnel_server(), win_ctrl_handler(), win_wfp_block(), and win_wfp_uninit().
| #define D_MANAGEMENT LOGLEV(3, 40, 0) /* show --management info */ |
Definition at line 87 of file errlevel.h.
Referenced by log_entry_print(), man_io_error(), man_listen(), man_new_connection_post(), man_output_peer_info_env(), man_reset_client_socket(), man_settings_init(), and man_wait_for_client_connection().
| #define D_MANAGEMENT_DEBUG LOGLEV(3, 70, M_DEBUG) /* show --management debug info */ |
Definition at line 137 of file errlevel.h.
Referenced by man_process_command().
| #define D_MBUF LOGLEV(4, 54, 0) /* mbuf.[ch] routines */ |
Definition at line 98 of file errlevel.h.
Referenced by mbuf_dereference_instance().
Definition at line 127 of file errlevel.h.
Referenced by mss_fixup_dowork().
Definition at line 125 of file errlevel.h.
Referenced by frame_finalize_options().
Definition at line 104 of file errlevel.h.
Referenced by do_init_frame_tls(), do_print_data_channel_mtu_parms(), frame_adjust_path_mtu(), tls_session_update_crypto_params_do_work(), and tuntap_get_mtu().
Definition at line 126 of file errlevel.h.
Referenced by check_stale_routes(), do_pre_decrypt_check(), mroute_helper_regenerate(), multi_close_instance(), multi_create_instance_tcp(), multi_get_create_instance_udp(), multi_get_instance_by_virtual_addr(), multi_get_queue(), multi_instance_string(), multi_io_action(), multi_io_dispatch(), multi_io_post(), multi_io_wait_lite(), multi_print_status(), multi_reap_range(), and send_standalone_reply().
Definition at line 100 of file errlevel.h.
Referenced by mbuf_add_item(), multi_add_mbuf(), multi_process_incoming_link_data(), multi_process_incoming_tun(), print_key_id_not_found_reason(), and tls_pre_decrypt().
| #define D_MULTI_ERRORS LOGLEV(1, 9, M_NONFATAL) /* show multi-client server errors */ |
Definition at line 64 of file errlevel.h.
Referenced by ccs_delete_config_file(), ccs_delete_deferred_ret_file(), handle_connection_attempt(), multi_client_connect_late_setup(), multi_client_connect_real_addr(), multi_connection_established(), multi_create_instance(), multi_io_process_io(), multi_process_drop_outgoing_tun(), multi_select_virtual_addr(), multi_tcp_instance_specific_init(), override_locked_username(), and tunnel_server().
Definition at line 85 of file errlevel.h.
Referenced by management_client_auth(), mroute_learnable_address(), multi_add_iroutes(), multi_check_dest_addr_allowed(), multi_client_connect_late_setup(), multi_close_instance_on_signal(), multi_delete_dup(), multi_init(), multi_io_init(), multi_learn_addr(), multi_unlearn_addr(), override_locked_username(), and verify_user_pass().
Definition at line 101 of file errlevel.h.
Referenced by do_pre_decrypt_check(), multi_create_instance(), multi_get_instance_udp_data(), and multi_process_float().
Definition at line 162 of file errlevel.h.
Referenced by multi_tcp_process_outgoing_link(), and multi_tcp_process_outgoing_link_ready().
Definition at line 178 of file errlevel.h.
Definition at line 90 of file errlevel.h.
Referenced by socket_set_buffers(), and socket_set_tcp_nodelay().
Definition at line 167 of file errlevel.h.
Referenced by check_send_occ_msg_dowork(), openvpn_decrypt_aead(), openvpn_decrypt_v1(), openvpn_encrypt_aead(), openvpn_encrypt_v1(), process_received_occ_msg(), tls_crypt_unwrap(), and tls_crypt_wrap().
Definition at line 142 of file errlevel.h.
| #define D_PACKET_TRUNC_ERR LOGLEV(4, 55, 0) /* PACKET_TRUNCATION_CHECK */ |
Definition at line 99 of file errlevel.h.
Definition at line 148 of file errlevel.h.
Referenced by packet_id_free(), packet_id_init(), and packet_id_test().
Definition at line 105 of file errlevel.h.
Referenced by packet_id_test().
Definition at line 106 of file errlevel.h.
Referenced by packet_id_test().
| #define D_PID_PERSIST LOGLEV(1, 12, M_NONFATAL) /* show packet_id persist errors */ |
Definition at line 67 of file errlevel.h.
Referenced by packet_id_persist_close(), packet_id_persist_load(), and packet_id_persist_save().
Definition at line 169 of file errlevel.h.
Referenced by packet_id_persist_load(), and packet_id_persist_save().
Definition at line 143 of file errlevel.h.
Referenced by check_ping_send_dowork(), and process_incoming_link_part2().
Definition at line 173 of file errlevel.h.
Definition at line 86 of file errlevel.h.
Referenced by plugin_call_item(), plugin_close_item(), and plugin_open_item().
Definition at line 138 of file errlevel.h.
Referenced by plugin_call_item(), plugin_open_item(), and plugin_vlog().
Definition at line 73 of file errlevel.h.
Referenced by add_proxy_headers(), establish_http_proxy_passthru(), and get_proxy_authenticate().
| #define D_PS_PROXY LOGLEV(3, 44, 0) /* messages related to --port-share option */ |
Definition at line 91 of file errlevel.h.
Referenced by stream_buf_added().
Definition at line 144 of file errlevel.h.
Definition at line 82 of file errlevel.h.
Referenced by add_option(), apply_pull_filter(), check_push_update_option_flags(), do_deferred_options(), incoming_push_message(), key_method_2_read(), management_callback_send_cc_message(), multi_push_restart_schedule_exit(), options_server_import(), parse_auth_failed_temp(), parse_auth_pending_keywords(), process_explicit_exit_notification_init(), receive_auth_pending(), receive_cr_response(), remove_iroutes_from_push_route_list(), send_auth_failed(), send_auth_pending_messages(), send_push_options(), send_push_reply(), send_push_reply_auth_token(), send_push_request(), send_restart(), send_single_push_update(), server_pushed_info(), and set_auth_token_user().
Definition at line 149 of file errlevel.h.
Referenced by check_pull_client_ncp(), do_deferred_options(), and push_remove_option().
| #define D_PUSH_ERRORS LOGLEV(1, 11, M_NONFATAL) /* show push/pull errors */ |
Definition at line 66 of file errlevel.h.
Referenced by apply_push_options(), check_incoming_control_channel(), do_deferred_options(), do_up(), do_update(), extract_command_buffer(), incoming_push_message(), options_postprocess_pull(), parse_auth_failed_temp(), parse_incoming_control_channel_command(), and server_pushed_info().
Definition at line 166 of file errlevel.h.
Referenced by init_verb_mute(), and link_socket_bad_outgoing_addr().
Definition at line 177 of file errlevel.h.
Referenced by get_panel_reg(), and get_tap_reg().
Definition at line 160 of file errlevel.h.
Referenced by reliable_ack_acknowledge_packet_id(), reliable_ack_read_packet_id(), reliable_ack_write(), reliable_can_send(), reliable_mark_active_incoming(), reliable_mark_active_outgoing(), reliable_not_replay(), reliable_schedule_now(), reliable_send(), reliable_send_purge(), reliable_send_timeout(), and reliable_wont_break_sequentiality().
Definition at line 122 of file errlevel.h.
Referenced by reliable_ack_acknowledge_packet_id(), reliable_ack_read(), reliable_ack_read_packet_id(), reliable_can_get(), reliable_get_buf_output_sequenced(), reliable_send_purge(), and reliable_wont_break_sequentiality().
| #define D_REPLAY_ERRORS LOGLEV(1, 6, M_NONFATAL) /* show packet replay errors */ |
Definition at line 61 of file errlevel.h.
Referenced by crypto_check_replay().
| #define D_RESOLVE_ERRORS LOGLEV(1, 4, M_NONFATAL) /* show hostname resolve errors */ |
Definition at line 59 of file errlevel.h.
Referenced by openvpn_getaddrinfo().
Definition at line 81 of file errlevel.h.
Referenced by socket_restart_pause().
Definition at line 79 of file errlevel.h.
Referenced by add_route(), add_route_ipapi(), add_route_ipv6(), check_add_routes(), delete_route(), delete_route_ipv6(), dhcp_extract_router_msg(), do_open_tun(), do_route_ipv6_service(), get_best_route(), get_default_gateway_ipv6(), get_windows_routing_table(), init_route_ipv6_list(), init_route_list(), print_bypass_addresses(), redirect_default_route_to_vpn(), route_ipv6_ipapi(), and test_routes().
Definition at line 132 of file errlevel.h.
Referenced by adapter_index_of_ip(), delete_route(), delete_route_ipv6(), get_best_route(), get_default_gateway_row(), remove_iroutes_from_push_route_list(), and windows_route_find_if_index().
Definition at line 89 of file errlevel.h.
Referenced by route_quota_exceeded().
Definition at line 111 of file errlevel.h.
Definition at line 88 of file errlevel.h.
Referenced by schedule_exit().
Definition at line 158 of file errlevel.h.
Referenced by schedule_add_modify(), schedule_entry_debug_info(), and schedule_find_least().
Definition at line 130 of file errlevel.h.
Definition at line 135 of file errlevel.h.
Referenced by semaphore_close(), semaphore_lock(), semaphore_open(), and semaphore_release().
Definition at line 134 of file errlevel.h.
Referenced by semaphore_lock().
Definition at line 175 of file errlevel.h.
Referenced by shaper_delay(), shaper_soonest_event(), and shaper_wrote_bytes().
Definition at line 121 of file errlevel.h.
Referenced by generate_key_random(), key_print(), and key_source_print().
Definition at line 120 of file errlevel.h.
Referenced by check_send_auth_token(), establish_http_proxy_passthru(), generate_auth_token(), init_key_ctx(), sanitize_control_message(), and tls_get_limit_aead().
Definition at line 131 of file errlevel.h.
Referenced by do_route().
Definition at line 150 of file errlevel.h.
Referenced by check_send_occ_req_dowork(), do_compute_occ_strings(), options_cmp_equal_safe(), and options_warning_safe().
Definition at line 95 of file errlevel.h.
Referenced by show_connection_entries(), show_connection_entry(), show_dhcp_option_addrs(), show_dhcp_option_list(), show_dns_options(), show_http_proxy_options(), show_p2mp_parms(), show_pull_filter_list(), and show_settings().
Definition at line 140 of file errlevel.h.
Definition at line 118 of file errlevel.h.
Referenced by register_signal(), signal_reset(), throw_signal(), and throw_signal_soft().
Definition at line 139 of file errlevel.h.
Referenced by openvpn_getaddrinfo(), and resolve_remote().
Definition at line 171 of file errlevel.h.
Referenced by link_socket_write_tcp(), stream_buf_added(), stream_buf_get_final(), stream_buf_get_next(), stream_buf_init(), stream_buf_read_setup_dowork(), and stream_buf_reset().
| #define D_STREAM_ERRORS LOGLEV(1, 7, M_NONFATAL) /* TCP stream error requiring restart */ |
Definition at line 62 of file errlevel.h.
Referenced by check_tls_errors_co(), process_incoming_link_part1(), process_received_occ_msg(), read_incoming_link(), receive_exit_message(), send_push_request(), and server_pushed_signal().
Definition at line 114 of file errlevel.h.
Referenced by get_device_instance_id_interface(), get_tap_reg(), pre_select(), tun_show_debug(), and tun_try_open_device().
Definition at line 136 of file errlevel.h.
Referenced by platform_test_file().
Definition at line 164 of file errlevel.h.
Referenced by check_outgoing_ciphertext(), extract_x509_extension(), move_session(), read_incoming_tls_ciphertext(), read_incoming_tls_plaintext(), send_auth_failed(), session_move_pre_start(), tls_crypt_v2_verify_metadata(), tls_ctx_load_ecdh_params(), tls_multi_process(), tls_pre_decrypt(), tls_prepend_opcode_v1(), tls_prepend_opcode_v2(), tls_process(), tls_process_state(), tls_session_init(), verify_cert_call_command(), write_control_auth(), and write_outgoing_tls_ciphertext().
| #define D_TLS_DEBUG_LOW LOGLEV(3, 20, 0) /* low frequency info from tls_session routines */ |
Definition at line 76 of file errlevel.h.
Referenced by backend_x509_write_pem(), info_callback(), move_session(), p2p_mode_ncp(), reflect_filter_rate_limit_check(), tls_crypt_v2_unwrap_client_key(), tls_ctx_load_dh_params(), tls_ctx_load_ecdh_params(), tls_multi_process(), tls_poor_mans_ncp(), tls_pre_decrypt(), tls_process(), and verify_callback().
| #define D_TLS_DEBUG_MED LOGLEV(8, 70, M_DEBUG) /* limited info from tls_session routines */ |
Definition at line 156 of file errlevel.h.
Referenced by add_option(), crypto_print_openssl_errors(), export_user_keying_material(), load_pkey_from_uri(), session_move_active(), setenv_str_incr(), tls_crypt_v2_unwrap_client_key(), tls_ctx_check_cert_time(), tls_ctx_load_cert_uri(), and tls_process_state().
| #define D_TLS_ERRORS LOGLEV(1, 3, M_NONFATAL) /* show TLS control channel errors */ |
Definition at line 58 of file errlevel.h.
Referenced by backend_x509_get_username(), bio_read(), bio_write(), check_pull_client_ncp(), check_session_cipher(), do_deferred_options_part2(), do_deferred_p2p_ncp(), do_up(), extract_x509_extension(), extract_x509_field_ssl(), generate_key_expansion(), handle_data_channel_packet(), init_key_contexts(), key_method_2_read(), key_method_2_write(), multi_client_generate_tls_keys(), options_process_mutate_prf(), parse_early_negotiation_tlvs(), print_key_id_not_found_reason(), read_control_auth(), read_incoming_tls_ciphertext(), read_incoming_tls_plaintext(), set_verify_user_pass_env(), ssl_verify_username_length(), tls_authentication_status(), tls_crypt_v2_extract_client_key(), tls_ctx_set_tls_versions(), tls_lock_username(), tls_multi_process(), tls_pre_decrypt(), tls_pre_decrypt_lite(), tls_process_state(), tls_session_generate_data_channel_keys(), tls_wrap_control(), verify_callback(), verify_cert(), verify_crresponse_script(), verify_final_auth_checks(), verify_user_pass(), verify_user_pass_plugin(), verify_user_pass_script(), write_outgoing_tls_ciphertext(), and x509_verify_cert_ku().
Definition at line 145 of file errlevel.h.
Referenced by handle_data_channel_packet(), tls_pre_encrypt(), and tls_update_remote_addr().
Definition at line 168 of file errlevel.h.
Definition at line 133 of file errlevel.h.
Referenced by tls_pre_decrypt_lite().
Definition at line 113 of file errlevel.h.
Referenced by process_incoming_tun(), and process_outgoing_tun().
Definition at line 80 of file errlevel.h.
Referenced by dhcp_release_by_adapter_index(), dhcp_renew_by_adapter_index(), ipconfig_register_dns(), tun_try_open_device(), tuntap_get_version_info(), and tuntap_set_ip_addr().
Definition at line 153 of file errlevel.h.
Referenced by multi_process_incoming_link_data(), vlan_decapsulate(), and vlan_encapsulate().
Definition at line 172 of file errlevel.h.
Referenced by socket_recv_queue(), socket_send_queue(), sockethandle_finalize(), tun_read_queue(), and tun_write_queue().
Definition at line 124 of file errlevel.h.
Referenced by close_tun_handle().
Definition at line 102 of file errlevel.h.
Referenced by do_setenv_x509().
Definition at line 116 of file errlevel.h.
| #define DEBUG_LEVEL_USEC_TIME 4 |
Definition at line 32 of file errlevel.h.
Referenced by x_msg_va().
| #define LOG_RW |
Definition at line 45 of file errlevel.h.
| #define M_INFO LOGLEV(1, 0, 0) /* default informational messages */ |
Definition at line 54 of file errlevel.h.
Referenced by add_option(), add_routes(), backend_tls_ctx_reload_crl(), check_add_routes(), check_addr_clash(), check_inactivity_timeout(), check_keystate_buf_not_used(), check_send_occ_load_test_dowork(), check_server_poll_timeout(), check_session_buf_not_used(), check_session_timeout(), context_init_1(), delete_temp_addresses(), do_create_adapter_service(), do_dns_domain_service(), do_dns_service(), do_ifconfig_ipv4(), do_ifconfig_ipv6(), do_init_crypto_static(), do_open_tun(), do_route(), do_set_mtu_service(), do_test_crypto(), do_uid_gid_chroot(), do_up(), do_wins_service(), dont_mute(), env_block(), establish_http_proxy_passthru(), exec_command(), ExecCommand(), generate_ephemeral_key(), get_adapter_index(), get_adapter_info_list(), get_interface_info_list(), get_per_adapter_info(), get_special_addr(), get_user_pass_cr(), HandleDNSConfigNrptMessage(), ifconfig_pool_init(), ifconfig_pool_read(), init_static(), initialization_sequence_completed(), ip_addr_string_to_array(), IsAuthorizedUser(), key_state_check_auth_pending_file(), link_socket_connection_initiated(), link_socket_read_tcp(), linksock_print_addr(), man_process_command(), mroute_extract_addr_ip(), msg_flags_string(), multi_client_connect_script_deferred(), multi_client_set_protocol_options(), multi_init(), multi_process_signal(), multi_select_virtual_addr(), netsh_ifconfig(), netsh_ifconfig_options(), open_tun(), open_tun_backend(), openvpn_main(), options_postprocess_cipher(), options_postprocess_mutate(), options_postprocess_mutate_ce(), options_postprocess_verify_ce(), output_peer_info_env(), parse_line(), platform_chroot(), platform_group_set(), platform_mlockall(), platform_nice(), platform_user_group_set(), platform_user_set(), plugin_vlog(), process_explicit_exit_notification_init(), process_outgoing_link(), process_received_occ_msg(), process_sigusr2(), read_incoming_tun(), read_key_file(), read_single_config(), recv_line(), recv_socks_reply(), register_dns_service(), reliable_send_purge(), remap_redirect_gateway_flags(), remap_restart_signals(), resolve_remote(), run_up_down(), service_enable_dhcp(), set_lladdr(), set_lladdr_ifconfig(), setenv_str_ex(), shaper_msg(), socket_apply_options(), socket_bind(), socket_connect(), socket_do_listen(), tap_allow_nonadmin_access_handle(), tcp_connection_established(), test_crypto(), trigger_ping_timeout_signal(), tun_standby(), tuntap_dhcp_mask(), tuntap_get_version_info(), tuntap_set_connected(), tuntap_set_ip_addr(), tuntap_set_ptp(), undo_ifconfig_ipv4(), undo_ifconfig_ipv6(), usage_version(), verify_auth_token(), win32_pause(), win_wfp_block_service(), win_wfp_msg_handler(), windows_set_mtu(), and x_msg_va().
| #define M_VERB0 LOGLEV(0, 0, 0) /* Messages displayed even at --verb 0 (fatal errors only) */ |
Definition at line 52 of file errlevel.h.
Referenced by add_option(), and receive_auth_failed().
| #define P2P_ERROR_DELAY_MS 0 |
Definition at line 40 of file errlevel.h.
Referenced by init_instance().