|
@@ -105,7 +105,7 @@ static config_var_t config_vars[] = {
|
|
VAR("ExitPolicy", LINELIST, ExitPolicy, NULL),
|
|
VAR("ExitPolicy", LINELIST, ExitPolicy, NULL),
|
|
VAR("ExcludeNodes", STRING, ExcludeNodes, NULL),
|
|
VAR("ExcludeNodes", STRING, ExcludeNodes, NULL),
|
|
VAR("FascistFirewall", BOOL, FascistFirewall, "0"),
|
|
VAR("FascistFirewall", BOOL, FascistFirewall, "0"),
|
|
- VAR("FirewallPorts", CSV, FirewallPorts, NULL),
|
|
|
|
|
|
+ VAR("FirewallPorts", CSV, FirewallPorts, "80,443"),
|
|
VAR("MyFamily", STRING, MyFamily, NULL),
|
|
VAR("MyFamily", STRING, MyFamily, NULL),
|
|
VAR("NodeFamily", LINELIST, NodeFamilies, NULL),
|
|
VAR("NodeFamily", LINELIST, NodeFamilies, NULL),
|
|
VAR("Group", STRING, Group, NULL),
|
|
VAR("Group", STRING, Group, NULL),
|
|
@@ -831,17 +831,6 @@ static int check_nickname_list(const char *lst, const char *name)
|
|
return r;
|
|
return r;
|
|
}
|
|
}
|
|
|
|
|
|
-smartlist_t *config_get_default_firewallports(void) {
|
|
|
|
- static smartlist_t *answer;
|
|
|
|
-
|
|
|
|
- if(!answer) {
|
|
|
|
- answer = smartlist_create();
|
|
|
|
- smartlist_add(answer, tor_strdup("80"));
|
|
|
|
- smartlist_add(answer, tor_strdup("443"));
|
|
|
|
- }
|
|
|
|
- return answer;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static int
|
|
static int
|
|
validate_options(or_options_t *options)
|
|
validate_options(or_options_t *options)
|
|
{
|
|
{
|