tor
master
|
#include <or.h>
Data Fields | |
signed_descriptor_t | cache_info |
char * | nickname |
uint32_t | addr |
uint16_t | or_port |
uint16_t | dir_port |
tor_addr_t | ipv6_addr |
uint16_t | ipv6_orport |
crypto_pk_t * | onion_pkey |
crypto_pk_t * | identity_pkey |
curve25519_public_key_t * | onion_curve25519_pkey |
time_t | cert_expiration_time |
char * | platform |
char * | protocol_list |
uint32_t | bandwidthrate |
uint32_t | bandwidthburst |
uint32_t | bandwidthcapacity |
smartlist_t * | exit_policy |
struct short_policy_t * | ipv6_exit_policy |
long | uptime |
smartlist_t * | declared_family |
char * | contact_info |
unsigned int | is_hibernating:1 |
unsigned int | caches_extra_info:1 |
unsigned int | allow_single_hop_exits:1 |
unsigned int | wants_to_be_hs_dir:1 |
unsigned int | policy_is_reject_star:1 |
unsigned int | needs_retest_if_added:1 |
unsigned int | supports_tunnelled_dir_requests:1 |
unsigned int | omit_from_vote:1 |
protover_summary_flags_t | pv |
uint8_t | purpose |
Information about another onion router in the network.
uint32_t addr |
IPv4 address of OR, in host order.
unsigned int allow_single_hop_exits |
Whether the router says it allows single hop exits.
uint32_t bandwidthburst |
How large is this OR's token bucket?
uint32_t bandwidthcapacity |
How many bytes/s is this router known to handle?
uint32_t bandwidthrate |
How many bytes does this OR add to its token bucket per second?
unsigned int caches_extra_info |
Whether the router says it caches and serves extrainfo documents.
time_t cert_expiration_time |
What's the earliest expiration time on all the certs in this routerinfo?
char* contact_info |
Declared contact info for this router.
smartlist_t* declared_family |
Nicknames of router which this router claims are its family.
uint16_t dir_port |
Port for HTTP directory connections.
smartlist_t* exit_policy |
What streams will this OR permit to exit on IPv4? NULL for 'reject *:*'.
crypto_pk_t* identity_pkey |
Public RSA key for signing.
tor_addr_t ipv6_addr |
A router's IPv6 address, if it has one.
struct short_policy_t* ipv6_exit_policy |
What streams will this OR permit to exit on IPv6? NULL for 'reject *:*'
unsigned int is_hibernating |
Whether the router claims to be hibernating
unsigned int needs_retest_if_added |
True if, after we have added this router, we should re-launch tests for it.
char* nickname |
Human-readable OR name.
unsigned int omit_from_vote |
Used during voting to indicate that we should not include an entry for this routerinfo. Used only during voting.
curve25519_public_key_t* onion_curve25519_pkey |
Public curve25519 key for onions
crypto_pk_t* onion_pkey |
Public RSA key for onions.
uint16_t or_port |
Port for TLS connections.
char* platform |
What software/operating system is this OR using?
unsigned int policy_is_reject_star |
True iff the exit policy for this router rejects everything.
char* protocol_list |
Encoded list of subprotocol versions supported by this OR
uint8_t purpose |
In what way did we find out about this router? One of ROUTER_PURPOSE_*. Routers of different purposes are kept segregated and used for different things; see notes on ROUTER_PURPOSE_* macros above.
Flags to summarize the protocol versions for this routerinfo_t.
unsigned int supports_tunnelled_dir_requests |
True iff this router included "tunnelled-dir-server" in its descriptor, implying it accepts tunnelled directory requests, or it advertised dir_port > 0.
long uptime |
How many seconds the router claims to have been up
unsigned int wants_to_be_hs_dir |
True iff this router claims to be a hidden service directory.