From 2d95accc75133248d6c3a7c93c5211488f060de6 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 13 Sep 2008 10:04:42 +0000 Subject: [PATCH] Allow ports 465 and 587 in the default exit policy again. We had rejected them in 0.1.0.15, because back in 2005 they were commonly misconfigured and ended up as spam targets. We hear they are better locked down these days. svn:r16898 --- ChangeLog | 4 ++++ doc/tor.1.in | 2 -- src/or/policies.c | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1485a4c113..41822f0d5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,10 @@ Changes in version 0.2.1.6-alpha - 2008-09-xx fails to establish a TCP connection. Cleanup on 0.2.1.x. o Minor features: + - Allow ports 465 and 587 in the default exit policy again. We had + rejected them in 0.1.0.15, because back in 2005 they were commonly + misconfigured and ended up as spam targets. We hear they are better + locked down these days. - Use a lockfile to make sure that two Tor processes are not simultaneously running with the same datadir. - Directory mirrors store and serve v2 hidden service descriptors by diff --git a/doc/tor.1.in b/doc/tor.1.in index 40570d7784..89d67d26f3 100644 --- a/doc/tor.1.in +++ b/doc/tor.1.in @@ -832,9 +832,7 @@ either a reject *:* or an accept *:*. Otherwise, you're _augmenting_ .IP "reject *:119" .IP "reject *:135-139" .IP "reject *:445" -.IP "reject *:465" .IP "reject *:563" -.IP "reject *:587" .IP "reject *:1214" .IP "reject *:4661-4666" .IP "reject *:6346-6429" diff --git a/src/or/policies.c b/src/or/policies.c index b6816a1615..64d73375c8 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -775,8 +775,7 @@ exit_policy_remove_redundancies(smartlist_t *dest) #define DEFAULT_EXIT_POLICY \ "reject *:25,reject *:119,reject *:135-139,reject *:445," \ - "reject *:465,reject *:563,reject *:587," \ - "reject *:1214,reject *:4661-4666," \ + "reject *:563,reject *:1214,reject *:4661-4666," \ "reject *:6346-6429,reject *:6699,reject *:6881-6999,accept *:*" /** Parse the exit policy cfg into the linked list *dest. If