[tor-bugs] #11959 [Obfsproxy]: obfsproxy crashes in pyptlib when TOR_PT_CLIENT_TRANSPORTS=*

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 15 04:54:50 UTC 2014


#11959: obfsproxy crashes in pyptlib when TOR_PT_CLIENT_TRANSPORTS=*
-----------------------+---------------------
 Reporter:  dcf        |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  minor      |      Milestone:
Component:  Obfsproxy  |        Version:
 Keywords:  pyptlib    |  Actual Points:
Parent ID:             |         Points:
-----------------------+---------------------
 With obfsproxy [https://gitweb.torproject.org/pluggable-
 transports/obfsproxy.git/commit/870c01d86134215bd7d0e3cf12c57bba94ab77ee
 870c01d8] (0.2.9) and pyptlib [https://gitweb.torproject.org/pluggable-
 transports/pyptlib.git/commit/c3be729bf1c1d79ca68e115923cb0bc8e8022f95
 c3be729b] (0.0.6).

 {{{
 obfsproxy/bin$ TOR_PT_CLIENT_TRANSPORTS='*' TOR_PT_STATE_LOCATION=
 TOR_PT_MANAGED_TRANSPORT_VER=1 ./obfsproxy managed
 VERSION 1
 Traceback (most recent call last):
   File "./obfsproxy", line 16, in <module>
     run()
   File "../obfsproxy/pyobfsproxy.py", line 202, in run
     pyobfsproxy()
   File "../obfsproxy/pyobfsproxy.py", line 174, in pyobfsproxy
     do_managed_mode()
   File "../obfsproxy/pyobfsproxy.py", line 78, in do_managed_mode
     managed_client.do_managed_client()
   File "../obfsproxy/managed/client.py", line 26, in do_managed_client
     ptclient.init(transports.transports.keys())
   File "../../pyptlib/pyptlib/core.py", line 48, in init
     self._declareSupports(supported_transports)
   File "../../pyptlib/pyptlib/core.py", line 85, in _declareSupports
     wanted_transports = transports.keys()
 AttributeError: 'list' object has no attribute 'keys'
 }}}

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


More information about the tor-bugs mailing list