[tor-bugs] #30901 [Core Tor/Tor]: Add control port trace logging to tor

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 17 03:04:40 UTC 2019


#30901: Add control port trace logging to tor
-------------------------------+-----------------------------------
     Reporter:  teor           |      Owner:  (none)
         Type:  enhancement    |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.4.2.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:  tor-ci-fail-sometimes
Actual Points:                 |  Parent ID:  #29437
       Points:  1              |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+-----------------------------------
 To diagnose #30235, we need to be able to see what tor is sending and
 receiving on the control port.

 I don't think that tor has any logging code for control port messages: I
 had a quick look, and there wasn't anything obvious.

 Showing each message at info level could be good, but it might also be
 risky?
 Maybe we should safe_string_client() the actual message text.

 nickm and catalyst are refactoring the controller code right now, so they
 might know where I should add the logging statements.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30901>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list