소스 검색

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

Roger Dingledine 17 년 전
부모
커밋
2d95accc75
3개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 0
      ChangeLog
  2. 0 2
      doc/tor.1.in
  3. 1 2
      src/or/policies.c

+ 4 - 0
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

+ 0 - 2
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"

+ 1 - 2
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 <b>cfg</b> into the linked list *<b>dest</b>. If