tor  0.4.2.1-alpha-dev
Data Fields
entry_port_cfg_t Struct Reference

Data Fields

uint8_t isolation_flags
 
int session_group
 
unsigned int socks_prefer_no_auth: 1
 
unsigned int socks_iso_keep_alive: 1
 
unsigned int ipv4_traffic: 1
 
unsigned int ipv6_traffic: 1
 
unsigned int prefer_ipv6: 1
 
unsigned int dns_request: 1
 
unsigned int onion_traffic: 1
 
unsigned int prefer_ipv6_virtaddr: 1
 
unsigned int cache_ipv4_answers: 1
 
unsigned int cache_ipv6_answers: 1
 
unsigned int use_cached_ipv4_answers: 1
 
unsigned int use_cached_ipv6_answers: 1
 

Detailed Description

Definition at line 13 of file entry_port_cfg_st.h.

Field Documentation

◆ cache_ipv4_answers

unsigned int entry_port_cfg_t::cache_ipv4_answers

For a socks listener: should we cache IPv4/IPv6 DNS information that exit nodes tell us?

Definition at line 37 of file entry_port_cfg_st.h.

Referenced by client_dns_set_addressmap().

◆ isolation_flags

uint8_t entry_port_cfg_t::isolation_flags

◆ prefer_ipv6_virtaddr

unsigned int entry_port_cfg_t::prefer_ipv6_virtaddr

For socks listeners: When we can automap an address to IPv4 or IPv6, do we prefer IPv6?

Definition at line 49 of file entry_port_cfg_st.h.

◆ session_group

int entry_port_cfg_t::session_group

A session group, or -1 if this port is not in a session group.

Definition at line 16 of file entry_port_cfg_st.h.

Referenced by parse_port_config().

◆ socks_iso_keep_alive

unsigned int entry_port_cfg_t::socks_iso_keep_alive

When ISO_SOCKSAUTH is in use, Keep-Alive circuits indefinitely.

Definition at line 24 of file entry_port_cfg_st.h.

Referenced by connection_ap_handshake_attach_chosen_circuit().

◆ socks_prefer_no_auth

unsigned int entry_port_cfg_t::socks_prefer_no_auth

When both no-auth and user/pass are advertised by a SOCKS client, select no-auth.

Definition at line 22 of file entry_port_cfg_st.h.

◆ use_cached_ipv4_answers

unsigned int entry_port_cfg_t::use_cached_ipv4_answers

For a socks listeners: if we find an answer in our client-side DNS cache, should we use it?

Definition at line 44 of file entry_port_cfg_st.h.


The documentation for this struct was generated from the following file: