[tor-bugs] #12083 [Obfsproxy]: obfsproxy: Don't run all setup() functions in external mode

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 21 12:19:44 UTC 2014


#12083: obfsproxy: Don't run all setup() functions in external mode
-----------------------+---------------------
 Reporter:  asn        |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:
Component:  Obfsproxy  |        Version:
 Keywords:  easy       |  Actual Points:
Parent ID:             |         Points:
-----------------------+---------------------
 This function is called when obfsproxy is in external mode, and runs all
 the `setup()` methods of all the obfsproxy transports.
 {{{
 def run_transport_setup(pt_config):
     """Run the setup() method for our transports."""
     for transport, transport_class in transports.transports.items():
         transport_class['base'].setup(pt_config)
 }}}

 I would argue that we should only call `setup()` for the transport that we
 plan to use when in external mode.

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


More information about the tor-bugs mailing list