瀏覽代碼

Require authentication on all Tor control ports

Closes 21461, bugfix on 19765.
teor 7 年之前
父節點
當前提交
84ccf71356
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 0 1
      torrc_templates/client.tmpl
  2. 1 0
      torrc_templates/common.i

+ 0 - 1
torrc_templates/client.tmpl

@@ -1,6 +1,5 @@
 ${include:common.i}
 SocksPort $socksport
-CookieAuthentication 1
 
 #NOTE: Setting TestingClientConsensusDownloadSchedule doesn't
 #      help -- dl_stats.schedule is not DL_SCHED_CONSENSUS

+ 1 - 0
torrc_templates/common.i

@@ -48,3 +48,4 @@ DisableDebuggerAttachment 0
 ${authorities}
 
 ControlPort $controlport
+CookieAuthentication 1