[tor-bugs] #23271 [Core Tor/Tor]: control_auth_cookie isn't deleted when tor stops

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 14 12:33:31 UTC 2017


#23271: control_auth_cookie isn't deleted when tor stops
------------------------------+------------------------------------
 Reporter:  yurivict271       |          Owner:  (none)
     Type:  defect            |         Status:  needs_information
 Priority:  Medium            |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor      |        Version:  Tor: 0.3.0.10
 Severity:  Normal            |     Resolution:
 Keywords:  easy tor-control  |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------------

Comment (by ffmancera):

 Here is the update:

 After searching in the docs and combine chutney with strace, I came up
 with this new list of ephimeral files:

  * !PidFile
  * !ControlPortWriteToFile
  * !CookieAuthFile
  * ExtORPortCookieAuthFile

 Also, I have splitted tor_cleanup() function into a new function that
 removes a specified file. I think that is nice to reuse code.

 I hope everything is fine, check my github
 [https://github.com/ffmancera/tor/tree/github/bug23271 branch bug23271.]

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


More information about the tor-bugs mailing list