[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:45:34 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 rransom):

 Replying to [comment:1 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.

 Put it in the environment!  We're cramming everything else a managed proxy
 needs to know into that blivet; another few bytes can't hurt.

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


More information about the tor-bugs mailing list