13 #ifndef TOR_OR_OPTIONS_ST_H
14 #define TOR_OR_OPTIONS_ST_H
59 KEY_EXPIRATION_FORMAT_ISO8601 = 0,
60 KEY_EXPIRATION_FORMAT_TIMESTAMP
200 uint64_t MaxMemInQueues_raw;
219 unsigned int ORPort_set : 1;
220 unsigned int SocksPort_set : 1;
221 unsigned int TransPort_set : 1;
222 unsigned int NATDPort_set : 1;
223 unsigned int ControlPort_set : 1;
224 unsigned int DirPort_set : 1;
225 unsigned int DNSPort_set : 1;
226 unsigned int ExtORPort_set : 1;
227 unsigned int HTTPTunnelPort_set : 1;
228 unsigned int MetricsPort_set : 1;
342 int HiddenServiceNonAnonymousMode;
411 int MaxOnionQueueDelay;
522 enum { ACCT_MAX, ACCT_SUM, ACCT_IN, ACCT_OUT } AccountingRule;
557 SAFELOG_SCRUB_ALL, SAFELOG_SCRUB_RELAY, SAFELOG_SCRUB_NONE
869 #define MAX_MAX_CLIENT_CIRCUITS_PENDING 1024
904 double PathBiasNoticeRate;
905 double PathBiasWarnRate;
906 double PathBiasExtremeRate;
907 int PathBiasDropGuards;
908 int PathBiasScaleThreshold;
930 double PathBiasNoticeUseRate;
931 double PathBiasExtremeUseRate;
932 int PathBiasScaleUseThreshold;
975 FORCE_PASSPHRASE_AUTO=0,
978 } keygen_force_passphrase;
979 int use_keygen_passphrase_fd;
980 int keygen_passphrase_fd;
981 int change_key_passphrase;
982 char *master_key_fname;
Master header file for Tor-specific functionality.
@ TCP_PROXY_PROTOCOL_HAPROXY
int TestingV3AuthInitialDistDelay
char * ExtORPortCookieAuthFile
struct smartlist_t * PublishServerDescriptor
struct config_line_t * ControlPort_lines
tor_addr_t Socks4ProxyAddr
int TestingClientDownloadInitialDelay
int ClientBootstrapConsensusFallbackDownloadInitialDelay
int ReducedConnectionPadding
dirinfo_type_t PublishServerDescriptor_
struct config_line_t * MyFamily
struct config_line_t * NATDPort_lines
int DirReqStatistics_option
struct config_line_t * AuthDirInvalid
char * ClientOnionAuthDir
uint64_t RelayBandwidthBurst
int ClientPreferIPv6DirPort
struct config_line_t * AlternateBridgeAuthority
tor_addr_t HTTPSProxyAddr
int ConnLimit_high_thresh
int ClientBootstrapConsensusAuthorityOnlyDownloadInitialDelay
struct routerset_t * ExcludeExitNodes
int TestingBridgeBootstrapDownloadInitialDelay
int TestingEnableConnBwEvent
struct config_line_t * OutboundBindAddressExit
struct config_line_t * AuthDirReject
struct config_line_t * DNSPort_lines
int FetchServerDescriptors
char * BridgePassword_AuthDigest_
struct config_line_t * ServerTransportOptions
int ExtORPortCookieAuthFileGroupReadable
uint64_t MaxMemInQueues_low_threshold
struct smartlist_t * RejectPlaintextPorts
int DisableSignalHandlers
char * ServerDNSResolvConfFile
int V3AuthNIntervalsValid
struct config_line_t * Logs
int ExitPolicyRejectPrivate
struct config_line_t * ORPort_lines
struct routerset_t * ExcludeExitNodesUnion_
int TestingDirConnectionMaxStall
struct config_line_t * ServerTransportListenAddr
int ClientBootstrapConsensusMaxInProgressTries
char * BridgeDistribution
struct smartlist_t * ServerDNSTestAddresses
struct smartlist_t * WarnPlaintextPorts
struct smartlist_t * TrackHostExits
int MaxConsensusAgeForDiffs
struct smartlist_t * FirewallPorts
int TestingClientMaxIntervalWithoutRequest
struct smartlist_t * Schedulers
tcp_proxy_protocol_t TCPProxyProtocol
int FetchDirInfoExtraEarly
uint64_t MaxUnparseableDescSizeToLog
struct config_line_t * ExtORPort_lines
struct config_line_t * ClientTransportPlugin
struct config_line_t * OutboundBindAddressPT
int AllowNonRFC953Hostnames
struct smartlist_t * SchedulerTypes_
struct config_line_t * DirAuthorities
int FetchHidServDescriptors
struct config_line_t * Bridges
int DormantOnFirstStartup
int ServerDNSSearchDomains
int ControlSocketsGroupWritable
int LeaveStreamsUnattached
int TestingAuthKeyLifetime
uint64_t OwningControllerFD
double KISTSockBufSizeFactor
struct config_line_t * MetricsPort_lines
struct config_line_t * ControlSocket
int ServerDNSAllowBrokenConfig
int ClientBootstrapConsensusAuthorityDownloadInitialDelay
int TestingClientConsensusDownloadInitialDelay
struct config_line_t * OutboundBindAddress
int UpdateBridgesFromAuthority
int ClientRejectInternalAddresses
int DormantTimeoutEnabled
int UseDefaultFallbackDirs
struct config_suite_t * subconfigs_
struct config_line_t * AlternateDirAuthority
int DataDirectoryGroupReadable
int CacheDirectoryGroupReadable
struct config_line_t * MyFamily_lines
int KeyDirectoryGroupReadable
char * KeyDirectory_option
struct smartlist_t * NodeFamilySets
uint64_t ConstrainedSockSize
struct config_line_t * AddressMap
int EnforceDistinctSubnets
struct smartlist_t * FilesOpenedByIncludes
int HiddenServiceStatistics_option
char * HTTPProxyAuthenticator
int DormantTimeoutDisabledByIdleStreams
struct config_line_t * HashedControlPassword
int TokenBucketRefillInterval
int TestingServerConsensusDownloadInitialDelay
int LearnCircuitBuildTimeout
struct config_line_t * FallbackDir
struct routerset_t * EntryNodes
int HiddenServiceStatistics
int TestingServerDownloadInitialDelay
struct config_line_t * ServerTransportPlugin
int TestingLinkCertLifetime
int UsingTestNetworkDefaults_
int UnixSocksGroupWritable
int ServerDNSRandomizeCase
struct config_line_t * NodeFamilies
int ServerDNSDetectHijacking
char * ControlPortWriteToFile
int FetchUselessDescriptors
struct config_line_t * MetricsPortPolicy
int ClientPreferIPv6ORPort
char * VirtualAddrNetworkIPv6
int TestingV3AuthInitialVotingInterval
struct routerset_t * ExcludeNodes
struct config_line_t * SocksPolicy
char * OwningControllerProcess
struct config_line_t * ReachableORAddresses
char * Socks5ProxyUsername
double CircuitPriorityHalflife
struct config_line_t * HashedControlSessionPassword
char * Socks5ProxyPassword
int CookieAuthFileGroupReadable
int ServerDNSAllowNonRFC953Hostnames
int CountPrivateBandwidth
int TestingEnableCellStatsEvent
struct routerset_t * ExitNodes
int TestingBridgeDownloadInitialDelay
tor_addr_t Socks5ProxyAddr
struct config_line_t * ReachableDirAddresses
uint64_t RelayBandwidthRate
int MaxClientCircuitsPending
tor_addr_t OutboundBindAddresses[OUTBOUND_ADDR_MAX][2]
int PublishHidServDescriptors
struct routerset_t * HSLayer2Nodes
int ExitPolicyRejectLocalInterfaces
int BridgeRecordUsageByCountry
int ControlPortFileGroupReadable
int DisablePredictedCircuits
struct config_line_t * DirPolicy
char * CacheDirectory_option
int DirAllowPrivateAddresses
struct config_line_t * ExitPolicy
struct config_line_t * OutboundBindAddressOR
int TestingV3AuthInitialVoteDelay
int CircuitsAvailableTimeout
struct config_line_t * Address
int TestingSigningKeySlop
uint64_t MaxAdvertisedBandwidth
int ReducedCircuitPadding
enum or_options_t::@2 TransProxyType_parsed
struct smartlist_t * AutomapHostsSuffixes
int ConnDirectionStatistics
char * VirtualAddrNetworkIPv4
int AutomapHostsOnResolve
char * HTTPSProxyAuthenticator
tor_cmdline_mode_t command
int DisableDebuggerAttachment
char * AccountingRule_option
struct config_line_t * TransPort_lines
struct smartlist_t * LongLivedPorts
struct config_line_t * RendConfigLines
struct config_line_t * ReachableAddresses
int HiddenServiceSingleHopMode
int BridgeAuthoritativeDir
int DormantCanceledByStartup
double PathsNeededToBuildCircuits
int UseEntryGuards_option
int ExtendAllowPrivateAddresses
struct config_line_t * HTTPTunnelPort_lines
int PathBiasCircThreshold
char * DataDirectory_option
struct config_line_t * DirPort_lines
int ClientDNSRejectInternalAddresses
struct routerset_t * MiddleNodes
struct config_line_t * SocksPort_lines
double DirAuthorityFallbackRate
int TestingV3AuthVotingStartOffset
struct routerset_t * HSLayer3Nodes
struct config_line_t * AuthDirBadExit
Declare the tor_cmdline_mode_t enumeration.
Integer definitions used throughout Tor.