[tor-bugs] #5085 [Obfsproxy]: managed obfsproxy does not quit if tor dies

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Feb 12 07:35:49 UTC 2012


#5085: managed obfsproxy does not quit if tor dies
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  minor      |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by Sebastian):

 So, to do that we need to pass obfsproxy the pid of Tor on startup,
 because if we don't, we can't learn it reliably in a portable way afaik.
 We can then use the procmon thing that we have in Tor, ported over. That's
 ugly and insane, but maybe our best alternative?

 To pass the pid, we could invent something like passing a --managed=<PID>
 to obfsproxy, and in the torrc specify a certain magic string to mean
 "pass whatever pid we have". I think that should work, and it would be the
 cleanest alternative I can think of.

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


More information about the tor-bugs mailing list