aboutsummaryrefslogtreecommitdiff
path: root/src/or/policies.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-18 08:25:34 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-18 08:25:34 +0000
commite66b6f0d50c15dd455701d5e0df8b86f2aace10a (patch)
tree7e8908990e74e6fdb354a12d7fa87896b007847b /src/or/policies.c
parentad5ce3c7edc6e43bd269660506c84e20b7da5e9e (diff)
downloadtor-e66b6f0d50c15dd455701d5e0df8b86f2aace10a.tar
tor-e66b6f0d50c15dd455701d5e0df8b86f2aace10a.tar.gz
Reject *:563 (NTTPS) in the default exit policy. We already reject
NNTP by default, so this seems like a sensible addition. (suggested by bug 331) svn:r9149
Diffstat (limited to 'src/or/policies.c')
-rw-r--r--src/or/policies.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c
index d318b5c9b..29e3dd002 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -589,7 +589,8 @@ exit_policy_remove_redundancies(addr_policy_t **dest)
#define DEFAULT_EXIT_POLICY \
"reject *:25,reject *:119,reject *:135-139,reject *:445," \
- "reject *:465,reject *:587,reject *:1214,reject *:4661-4666," \
+ "reject *:465,reject *:563,reject *:587," \
+ "reject *:1214,reject *:4661-4666," \
"reject *:6346-6429,reject *:6699,reject *:6881-6999,accept *:*"
/** Parse the exit policy <b>cfg</b> into the linked list *<b>dest</b>. If