[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs