[tor-bugs] #16106 [Tor]: Sandbox causes crash when creating a hidden service through the control port

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 29 15:00:46 UTC 2015


#16106: Sandbox causes crash when creating a hidden service through the control
port
--------------------------+--------------------------------
     Reporter:  micahlee  |      Owner:
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor       |    Version:  Tor: 0.2.5.12
   Resolution:            |   Keywords:  TorCore201508
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------------

Comment (by yawning):

 Replying to [comment:2 nickm]:
 > Hm. Probably the right fix here is that we can't allow ADDONION in this
 case, since we can't grant ourselves permission to open these files.

 `ADD_ONION` doesn't create a directory (it doesn't touch the file system
 at all as a matter of fact), so it should work just fine.

 That said, we should warn instead of crashing if someone tries to use
 `SETCONF` to add a new HS to a running sandboxed tor instance.

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


More information about the tor-bugs mailing list