9 #ifndef TOR_HS_CONFIG_H
10 #define TOR_HS_CONFIG_H
15 #define HS_CONFIG_MAX_STREAMS_PER_RDV_CIRCUIT 65535
17 #define HS_CONFIG_V3_MAX_INTRO_POINTS 20
20 #define HS_CONFIG_V3_DOS_DEFENSE_DEFAULT 0
21 #define HS_CONFIG_V3_DOS_DEFENSE_RATE_PER_SEC_DEFAULT 25
22 #define HS_CONFIG_V3_DOS_DEFENSE_RATE_PER_SEC_MIN 0
23 #define HS_CONFIG_V3_DOS_DEFENSE_RATE_PER_SEC_MAX INT32_MAX
24 #define HS_CONFIG_V3_DOS_DEFENSE_BURST_PER_SEC_DEFAULT 200
25 #define HS_CONFIG_V3_DOS_DEFENSE_BURST_PER_SEC_MIN 0
26 #define HS_CONFIG_V3_DOS_DEFENSE_BURST_PER_SEC_MAX INT32_MAX
int hs_config_client_auth_all(const or_options_t *options, int validate_only)
void hs_config_free_all(void)
int hs_config_service_all(const or_options_t *options, int validate_only)
Master header file for Tor-specific functionality.