added unsafe socks denial to torrc generator
This commit is contained in:
parent
63f7209bdd
commit
84987cfc21
@ -72,6 +72,8 @@ def generate_torrc(net_controller: 'NetController',
|
|||||||
DataDirectory """ + home_dir + """tordata/
|
DataDirectory """ + home_dir + """tordata/
|
||||||
CookieAuthentication 1
|
CookieAuthentication 1
|
||||||
KeepalivePeriod 40
|
KeepalivePeriod 40
|
||||||
|
SafeSocks 1
|
||||||
|
TestSocks 1
|
||||||
CircuitsAvailableTimeout 86400
|
CircuitsAvailableTimeout 86400
|
||||||
ControlPort """ + str(control_port) + """
|
ControlPort """ + str(control_port) + """
|
||||||
HashedControlPassword """ + str(password) + """
|
HashedControlPassword """ + str(password) + """
|
||||||
|
Loading…
Reference in New Issue
Block a user