From da2c6b5b9c40e015ce0383ea717cbb79f43b60d1 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 11 Aug 2019 15:44:56 -0500 Subject: [PATCH] handle and setup onion service streams better --- onionr/netcontroller/netcontrol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/onionr/netcontroller/netcontrol.py b/onionr/netcontroller/netcontrol.py index cf3fa41b..b37c20bc 100644 --- a/onionr/netcontroller/netcontrol.py +++ b/onionr/netcontroller/netcontrol.py @@ -84,6 +84,9 @@ HashedControlPassword ''' + str(password) + ''' if config.get('general.security_level', 1) == 0: torrcData += '''\nHiddenServiceDir ''' + self.dataDir + '''hs/ \n''' + hsVer + '''\n +HiddenServiceNumIntroductionPoints 6 +HiddenServiceMaxStreams 100 +HiddenServiceMaxStreamsCloseCircuit 1 HiddenServicePort 80 ''' + self.apiServerIP + ''':''' + str(self.hsPort) torrc = open(self.torConfigLocation, 'w')