[tor-bugs] #7822 [Pluggable transport]: Create an ezpt pluggable transports wrapper

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 10 01:36:35 UTC 2013


#7822: Create an ezpt pluggable transports wrapper
-------------------------------------+------------------
     Reporter:  dcf                  |      Owner:  asn
         Type:  project              |     Status:  new
     Priority:  normal               |  Milestone:
    Component:  Pluggable transport  |    Version:
   Resolution:                       |   Keywords:  easy
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+------------------

Comment (by infinity0):

 Initial implementation here:

 https://github.com/infinity0/obfsproxy/blob/ezpt-
 fun/obfsproxy/transports/ezpt.py

 In three separate terminals, do:

 {{{
 $ python -u bin/obfsproxy --log-min-severity debug ezpt --dest
 127.0.0.1:9001 client 127.0.0.1:9000
 }}}

 {{{
 $ nc -l -p 9001 # takes hex input
 }}}

 {{{
 $ nc localhost 9000 # takes normal input
 }}}

 and play byte-tennis between the two `nc` processes.

 Still need to handle the case where either child dies unexpectedly, but
 the basic gist of it works. Theoretically it should work with multiple
 circuits (spawns new process-pair for each circuit), but I haven't tested
 that yet.

 (I didn't bother doing the "one command = same dec/enc" yet; it's probably
 not going to be *that* common anyways.)

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


More information about the tor-bugs mailing list