summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-04 22:46:19 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-04 22:46:19 +0000
commitfa6e9efcd007885ca94ca1cd18001473772dd47c (patch)
tree0b6dd6267b73c7f4d73b2d2adfbaaa7cf6f20715
parent89275e7806bc0e0e0a7ab03bd34cea4f32ff9d18 (diff)
downloadtor-fa6e9efcd007885ca94ca1cd18001473772dd47c.tar.gz
tor-fa6e9efcd007885ca94ca1cd18001473772dd47c.zip
accept port 81 by default also, since people have been asking for it
svn:r1784
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 8f43e224e2..d404e6c7c2 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -376,7 +376,7 @@ static void router_add_exit_policy_from_config_helper(const char *s, routerinfo_
}
}
-#define DEFAULT_EXIT_POLICY "reject 0.0.0.0/8,reject 169.254.0.0/16,reject 127.0.0.0/8,reject 192.168.0.0/16,reject 10.0.0.0/8,reject 172.16.0.0/12,accept *:20-22,accept *:53,accept *:79-80,accept *:110,accept *:143,accept *:443,accept *:873,accept *:993,accept *:995,accept *:1024-65535,reject *:*"
+#define DEFAULT_EXIT_POLICY "reject 0.0.0.0/8,reject 169.254.0.0/16,reject 127.0.0.0/8,reject 192.168.0.0/16,reject 10.0.0.0/8,reject 172.16.0.0/12,accept *:20-22,accept *:53,accept *:79-81,accept *:110,accept *:143,accept *:443,accept *:873,accept *:993,accept *:995,accept *:1024-65535,reject *:*"
/* Set the exit policy on 'router' to match the exit policy in the current
* configuration file. If the exit policy doesn't have a catch-all rule,