|
Tor 0.4.9.8
|
#include <extend_info_st.h>
Data Fields | |
| char | nickname [MAX_HEX_NICKNAME_LEN+1] |
| char | identity_digest [DIGEST_LEN] |
| ed25519_public_key_t | ed_identity |
| tor_addr_port_t | orports [EXTEND_INFO_MAX_ADDRS] |
| curve25519_public_key_t | curve25519_onion_key |
| bool | supports_ntor_v3 |
| bool | exit_supports_congestion_control |
| bool | enable_cgo |
Information on router used when extending a circuit. We don't need a full routerinfo_t to extend: we only need addr:port:keyid to build an OR connection, and onion_key to create the onionskin. Note that for one-hop general-purpose tunnels, the onion_key is NULL.
Definition at line 27 of file extend_info_st.h.
| curve25519_public_key_t curve25519_onion_key |
Ntor onion key for this hop.
Definition at line 38 of file extend_info_st.h.
Referenced by extend_info_is_a_configured_bridge(), extend_info_new(), and onion_skin_create().
| ed25519_public_key_t ed_identity |
Ed25519 identity for this router, if any.
Definition at line 33 of file extend_info_st.h.
Referenced by channel_connect_for_circuit(), circuit_handle_first_hop(), circuit_send_intermediate_onion_skin(), extend_info_describe(), extend_info_new(), and onion_skin_create().
| bool enable_cgo |
True if this hop supports CGO relay message enryption, and we intend to use it.
Definition at line 49 of file extend_info_st.h.
Referenced by circuit_pick_create_handshake(), client_circ_negotiation_message(), and extend_info_new().
| bool exit_supports_congestion_control |
True if this hop is to be used as an exit, and it also supports supports NtorV3 and negotiation of congestion control parameters
Definition at line 44 of file extend_info_st.h.
Referenced by circuit_pick_create_handshake(), client_circ_negotiation_message(), and extend_info_new().
| char identity_digest[DIGEST_LEN] |
Hash of this router's RSA identity key.
Definition at line 31 of file extend_info_st.h.
Referenced by build_middle_exclude_list(), build_state_get_exit_node(), build_state_get_exit_rsa_id(), build_vanguard_middle_exclude_list(), channel_connect_for_circuit(), circuit_build_failed(), circuit_discard_optional_exit_enclaves(), circuit_find_to_cannibalize(), circuit_get_all_pending_on_channel(), circuit_get_nth_node(), circuit_handle_first_hop(), circuit_is_acceptable(), circuit_list_path_impl(), circuit_send_intermediate_onion_skin(), client_rendezvous_circ_has_opened(), conflux_add_guards_to_exclude_list(), conflux_add_middles_to_exclude_list(), connection_ap_get_begincell_flags(), connection_ap_process_end_not_open(), consider_recording_trackhost(), extend_info_describe(), extend_info_is_a_configured_bridge(), extend_info_new(), hs_client_setup_intro_circ_auth_key(), link_apconn_to_circ(), onion_populate_cpath(), onion_skin_create(), pathbias_count_build_attempt(), pathbias_count_build_success(), pathbias_count_circs_in_states(), pathbias_count_collapse(), pathbias_count_successful_close(), pathbias_count_timeout(), pathbias_count_use_attempt(), pathbias_count_use_failed(), pathbias_count_use_success(), and routerset_contains_extendinfo().
| char nickname[MAX_HEX_NICKNAME_LEN+1] |
This router's nickname for display.
Definition at line 28 of file extend_info_st.h.
Referenced by build_state_get_exit_nickname(), circuit_list_path_impl(), extend_info_describe(), extend_info_new(), and routerset_contains_extendinfo().
| tor_addr_port_t orports[EXTEND_INFO_MAX_ADDRS] |
IP/Port values for this hop's ORPort(s). Any unused values are set to a null address.
Definition at line 36 of file extend_info_st.h.
Referenced by extend_info_add_orport(), extend_info_any_orport_addr_is_internal(), extend_info_get_orport(), extend_info_has_orport(), extend_info_is_a_configured_bridge(), extend_info_new(), extend_info_pick_orport(), and routerset_contains_extendinfo().
| bool supports_ntor_v3 |
True if this hop supports ntor v3.
Definition at line 40 of file extend_info_st.h.
Referenced by extend_info_new(), and extend_info_supports_ntor_v3().