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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 18 21:34:50 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: unspecified
Component:  Core Tor/Tor      |        Version:  Tor: 0.3.0.10
 Severity:  Normal            |     Resolution:
 Keywords:  easy tor-control  |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+-----------------------------------
Changes (by catalyst):

 * keywords:   => easy tor-control


Comment:

 It looks like `tor_cleanup()` in main.c unlinks some ephemeral files (like
 the pid file) but not others.  I'm not sure I can easily enumerate which
 additional ones need cleaning up.

 Fixing just this one instance might be easy but probably the right thing
 to do when working on the bigger issue is to refactor the cleanup code
 somewhat.

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


More information about the tor-bugs mailing list