GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Verified Commit 17e6eca6 authored by Georg Koppen's avatar Georg Koppen
Browse files

fix: doc: Update values in config_tor.rst + clean-up

Closes #40035.
parent 713d4004
Pipeline #2068 passed with stage
in 58 minutes and 23 seconds
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Internal Tor configuration for the scanner Internal Tor configuration for the scanner
------------------------------------------ ------------------------------------------
The scanner needs an specific Tor configuration. The scanner needs a specific Tor configuration.
The following options are either set when launching Tor or required when The following options are either set when launching Tor or required when
connection to an existing Tor daemon. connection to an existing Tor daemon.
...@@ -16,6 +16,9 @@ Default configuration: ...@@ -16,6 +16,9 @@ Default configuration:
- ``SafeLogging 0``: Useful for logging, since there's no need for anonymity. - ``SafeLogging 0``: Useful for logging, since there's no need for anonymity.
- ``LogTimeGranularity 1`` - ``LogTimeGranularity 1``
- ``ProtocolWarnings 1`` - ``ProtocolWarnings 1``
- ``FetchDirInfoEarly 1``
- ``FetchDirInfoExtraEarly 1``: Respond to `MaxAdvertisedBandwidth` as soon as possible.
- ``FetchUselessDescriptors 1``: Keep fetching descriptors, even when idle.
- ``LearnCircuitBuildTimeout 0``: To keep circuit build timeouts static. - ``LearnCircuitBuildTimeout 0``: To keep circuit build timeouts static.
Configuration that depends on the user configuration file: Configuration that depends on the user configuration file:
...@@ -29,9 +32,13 @@ Configuration that depends on the user configuration file: ...@@ -29,9 +32,13 @@ Configuration that depends on the user configuration file:
Configuration that needs to be set on runtime: Configuration that needs to be set on runtime:
- ``__DisablePredictedCircuits 1``: To build custom circuits. - ``__DisablePredictedCircuits 1``: To build custom circuits.
- ``__LeaveStreamsUnattached 1`` - ``__LeaveStreamsUnattached 1``: The scanner is attaching the streams itself.
Configuration that can be set on runtime and fail:
- ``ConnectionPadding 0``: Useful for avoiding extra traffic, since scanner anonymity is not a goal.
Currently most of the code that sets this configuration is in :func:`sbws.util.stem.launch_tor` Currently most of the code that sets this configuration is in :func:`sbws.util.stem.launch_tor`
and the default configuration is ``sbws/globals.py``. and the default configuration is ``sbws/globals.py``.
.. note:: the location of these code is being refactored. .. note:: the location of this code is being refactored.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment