Loading onionperf/measurement.py +1 −1 Original line number Diff line number Diff line Loading @@ -427,7 +427,7 @@ WarnUnsafeSocks 0\nSafeLogging 0\nMaxCircuitDirtiness 60 seconds\nDataDirectory if not 'UseEntryGuards' in tor_config and not 'UseBridges' in tor_config and self.drop_guards_interval_hours == 0: tor_config += "UseEntryGuards 0\n" if name == "server" and self.expose_metrics_port: tor_config += "MetricsPort 127.0.0.1:9143\nMetricsPortPolicy accept 127.0.0.1" tor_config += "MetricsPort 127.0.0.1:{}\nMetricsPortPolicy accept 127.0.0.1".format(expose_metrics_port) if name == "server" and self.single_onion: tor_config += "HiddenServiceSingleHopMode 1\nHiddenServiceNonAnonymousMode 1\n" return tor_config Loading Loading
onionperf/measurement.py +1 −1 Original line number Diff line number Diff line Loading @@ -427,7 +427,7 @@ WarnUnsafeSocks 0\nSafeLogging 0\nMaxCircuitDirtiness 60 seconds\nDataDirectory if not 'UseEntryGuards' in tor_config and not 'UseBridges' in tor_config and self.drop_guards_interval_hours == 0: tor_config += "UseEntryGuards 0\n" if name == "server" and self.expose_metrics_port: tor_config += "MetricsPort 127.0.0.1:9143\nMetricsPortPolicy accept 127.0.0.1" tor_config += "MetricsPort 127.0.0.1:{}\nMetricsPortPolicy accept 127.0.0.1".format(expose_metrics_port) if name == "server" and self.single_onion: tor_config += "HiddenServiceSingleHopMode 1\nHiddenServiceNonAnonymousMode 1\n" return tor_config Loading