Tor  0.4.7.0-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 extended_socks5_codes: 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 18 of file entry_port_cfg_st.h.

Field Documentation

◆ cache_ipv4_answers

unsigned int cache_ipv4_answers

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

Definition at line 42 of file entry_port_cfg_st.h.

Referenced by client_dns_set_addressmap().

◆ extended_socks5_codes

unsigned int extended_socks5_codes

For socks listeners: can we send back the extended SOCKS5 error code?

Definition at line 57 of file entry_port_cfg_st.h.

◆ isolation_flags

uint8_t isolation_flags

◆ prefer_ipv6_virtaddr

unsigned int prefer_ipv6_virtaddr

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

Definition at line 54 of file entry_port_cfg_st.h.

◆ session_group

int session_group

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

Definition at line 21 of file entry_port_cfg_st.h.

Referenced by entry_connection_describe_status_for_controller().

◆ socks_iso_keep_alive

unsigned int socks_iso_keep_alive

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

Definition at line 29 of file entry_port_cfg_st.h.

Referenced by connection_ap_handshake_attach_chosen_circuit().

◆ socks_prefer_no_auth

unsigned int socks_prefer_no_auth

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

Definition at line 27 of file entry_port_cfg_st.h.

◆ use_cached_ipv4_answers

unsigned int 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 49 of file entry_port_cfg_st.h.


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