[tor-bugs] #3204 [Pluggable transport]: The cli interface of obfsproxy is terrible and makes children cry.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed May 18 00:29:42 UTC 2011


#3204: The cli interface of obfsproxy is terrible and makes children cry.
---------------------------------+------------------------------------------
 Reporter:  asn                  |          Owner:  asn
     Type:  defect               |         Status:  new
 Priority:  normal               |      Milestone:     
Component:  Pluggable transport  |        Version:     
 Keywords:                       |         Parent:     
   Points:                       |   Actualpoints:     
---------------------------------+------------------------------------------

Comment(by asn):

 Replying to [comment:3 nickm]:
 > So by convention, --arguments usually come before positional arguments.
 >

 True!

 > How would you handle listener and target addresses with this?

 True!
 I would say that listener and target addresses belong to the
 protocol_opts.

 So allow me to try again:
 {{{
 obfsproxy --shared-secret="supermario" --dest=10.1.1.1:6666 obfs2 client
 127.0.0.1:8888
 }}}
 where the protocol_opts of obfs2 should look like:
 {{{
 <role> <listen address>
 }}}
 and the protocol_args should look like:
 {{{
 --shared-secret=<secret> - set a shared secret
 --dest=<destination addport> - set the destination addport, in case of the
 'client' or 'server' role.
 }}}

 Yes. It's suddenly starting to look much uglier.

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


More information about the tor-bugs mailing list