Tor
0.4.7.0-alpha-dev
|
#include <hs_service.h>
Data Fields | |
hs_intropoint_t | base |
curve25519_public_key_t | onion_key |
ed25519_keypair_t | auth_key_kp |
curve25519_keypair_t | enc_key_kp |
crypto_pk_t * | legacy_key |
uint8_t | legacy_key_digest [DIGEST_LEN] |
uint64_t | introduce2_count |
uint64_t | introduce2_max |
time_t | time_to_expire |
uint32_t | circuit_retries |
replaycache_t * | replay_cache |
unsigned int | support_intro2_dos_defense: 1 |
Service side introduction point.
Definition at line 45 of file hs_service.h.
ed25519_keypair_t auth_key_kp |
Authentication keypair used to create the authentication certificate which is published in the descriptor.
Definition at line 55 of file hs_service.h.
Referenced by create_intro_circuit_identifier(), hs_cell_build_establish_intro(), hs_circ_handle_introduce2(), hs_circ_service_get_established_intro_circ(), hs_circ_service_get_intro_circ(), register_intro_circ(), service_desc_find_by_intro(), service_intro_point_add(), service_intro_point_free_(), and service_intro_point_remove().
hs_intropoint_t base |
Top level intropoint "shared" data between client/service.
Definition at line 47 of file hs_service.h.
Referenced by describe_intro_point().
uint32_t circuit_retries |
The amount of circuit creation we've made to this intro point. This is incremented every time we do a circuit relaunch on this intro point which is triggered when the circuit dies but the node is still in the consensus. After MAX_INTRO_POINT_CIRCUIT_RETRIES, we give up on it.
Definition at line 80 of file hs_service.h.
Referenced by should_remove_intro_point().
curve25519_keypair_t enc_key_kp |
Encryption keypair for the "ntor" type.
Definition at line 58 of file hs_service.h.
Referenced by hs_circ_handle_introduce2(), and service_intro_point_free_().
uint64_t introduce2_count |
Amount of INTRODUCE2 cell accepted from this intro point.
Definition at line 68 of file hs_service.h.
Referenced by intro_point_should_expire().
uint64_t introduce2_max |
Maximum number of INTRODUCE2 cell this intro point should accept.
Definition at line 71 of file hs_service.h.
Referenced by intro_point_should_expire().
crypto_pk_t* legacy_key |
Legacy key if that intro point doesn't support v3. This should be used if the base object legacy flag is set.
Definition at line 62 of file hs_service.h.
uint8_t legacy_key_digest[DIGEST_LEN] |
Legacy key SHA1 public key digest. This should be used only if the base object legacy flag is set.
Definition at line 65 of file hs_service.h.
curve25519_public_key_t onion_key |
Onion key of the introduction point used to extend to it for the ntor handshake.
Definition at line 51 of file hs_service.h.
Referenced by setup_desc_intro_point().
replaycache_t* replay_cache |
Replay cache recording the encrypted part of an INTRODUCE2 cell that the circuit associated with this intro point has received. This is used to prevent replay attacks.
Definition at line 85 of file hs_service.h.
Referenced by hs_circ_handle_introduce2().
unsigned int support_intro2_dos_defense |
Support the INTRO2 DoS defense. If set, the DoS extension described by proposal 305 is sent.
Definition at line 89 of file hs_service.h.
Referenced by build_establish_intro_extensions().
time_t time_to_expire |
The time at which this intro point should expire and stop being used.
Definition at line 74 of file hs_service.h.
Referenced by intro_point_should_expire().