[tor-bugs] #9815 [Obfsproxy]: Pluggable transports should learn Tor's data directory

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 24 19:07:57 UTC 2013


#9815: Pluggable transports should learn Tor's data directory
-------------------------------------------------+-------------------------
 Reporter:  phw                                  |          Owner:  asn
     Type:  enhancement                          |         Status:  new
 Priority:  normal                               |      Milestone:
Component:  Obfsproxy                            |        Version:
 Keywords:  pluggable transport, state           |  Actual Points:
  location, persistent information               |         Points:
Parent ID:                                       |
-------------------------------------------------+-------------------------
 At least ScrambleSuit needs to store persistent information and Tor's data
 directory would be the best place to do that. Right now, however,
 pluggable transports have no way of learning the data directory.

 A possible fix for that is in the branch `pass_datadir` in:
 https://github.com/NullHypothesis/obfsproxy

 The patches pass the state location (Tor's data directory in managed mode)
 to the pluggable transport's constructor. For external mode, the patch
 adds another command line argument to `pyobfsproxy.py` which allows the
 user to do that manually.

 On the plus side, it's an easy fix. On the minus side, it requires
 changing existing transports (even though it's just the constructor's
 method head). An alternative would be yet another method, transports would
 have to implement?

 Please let me know if the patches make sense and if I missed anything. I
 could restructure it if you don't like the constructor way. Either way, it
 worked in my tests.

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


More information about the tor-bugs mailing list