{{Header}} __FORCETOC__ {{Title|title= tor-ctrl-observer - Tor Connection Destination Viewer }} {{#seo: |description=Ever wanted to know which information is sent by an application? tor-ctrl-observer shows connection information of applications using Tor. |image=TorControl12312.png }} {{tor_mininav}} [[File:TorControl12312.png|thumb]] {{intro| Ever wanted to know which information is sent by an application? tor-ctrl-observer shows connection information of applications using Tor. }} = What tor-ctrl-observer is = Ever wanted to know which information is sent by an application? tor-ctrl-observer shows connection information of applications using Tor. Sample printout:
250-stream-status=1094 SENTCONNECT 20 firefox.settings.services.mozilla.com:443
250-stream-status=1094 SUCCEEDED 20 18.64.79.82:443
tor-ctrl-observer is especially useful in combination with {{project_name_long}} because:
{{TorifiedGateway}} It operates in a secure manner by using Tor's control protocol, making visible the information that Tor internally processes and is already prepared to share with users upon request. = tor-ctrl-observer Advantages = * Application-level leak testing: tor-ctrl-observer can be used to observe an application's network connections. ** For example, [https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/40788 Tor Browser 11.0.4-11.0.6 phoning home] (a regression of [https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/31575 Firefox phoning home during startup in Tor Browser based on ESR 68]) was identified and reported to The Tor Project by tor-ctrl-observer developer [https://github.com/nyxnor nyxnor]. = Usage = In {{project_name_gateway_long}}. '''1.''' Open a terminal. '''2.''' Run tor-ctrl-observer. {{CodeSelect|code= tor-ctrl-observer }} '''3.''' Terminate tor-ctrl-observer with signal SIGINT. Press keyboard keys Ctrl + C. = What tor-ctrl-observer is not = tor-ctrl-observer does not attempt to be, is not, and cannot be a: * Network-level [[Dev/Leak Tests|leak test]] replacement: tor-ctrl-observer only requests connection information from Tor itself. While Tor generally provides this information, if there were bugs in the Tor control protocol, tor-ctrl-observer would not detect them. Similarly, if connections bypass Tor, Tor is unaware of them, and therefore tor-ctrl-observer cannot observe such connections. * Tor auditor: For the same reason as above, tor-ctrl-observer cannot be expected to identify bugs in Tor. * [[Tor Controller]]: Unlike tools such as [[Nyx]], nyx provides details on Tor circuits ([[Bridges]], [[Tor Entry Guards]], and middle or exit relays), but does not show final connection destinations. Conversely, tor-ctrl-observer displays information about final connection destinations. = Forum Discussion = [https://forums.whonix.org/t/tor-ctrl-tor-control-port-command-line-tool/8074/41 Tor-ctrl-observer discussion on Whonix forums] = See Also = * [[Tor Controller]] = Footnotes = {{reflist|close=1}} {{Footer}} [[Category:Documentation]]