commit 2fcb8f3a0afbcb9a7d4a9c07a0036c89b9865e15 Author: Karsten Loesing karsten.loesing@gmx.net Date: Mon Jun 8 09:30:09 2020 +0200
Fix config issue in single onion service mode. --- onionperf/measurement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/onionperf/measurement.py b/onionperf/measurement.py index a2fca69..e947ede 100644 --- a/onionperf/measurement.py +++ b/onionperf/measurement.py @@ -378,7 +378,7 @@ WarnUnsafeSocks 0\nSafeLogging 0\nMaxCircuitDirtiness 60 seconds\nDataDirectory if name == "client" and self.additional_client_conf: tor_config += self.additional_client_conf if not 'UseEntryGuards' in tor_config and not 'UseBridges' in tor_config: - tor_config += "UseEntryGuards 0" + tor_config += "UseEntryGuards 0\n" if name == "server" and self.single_onion: tor_config += "HiddenServiceSingleHopMode 1\nHiddenServiceNonAnonymousMode 1\n" return tor_config