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

Re: [tor-bugs] #10131 [Pluggable transport]: Clarify whether "*" takes the place of an entire managed transport list



#10131: Clarify whether "*" takes the place of an entire managed transport list
-------------------------------------+--------------------------
     Reporter:  dcf                  |      Owner:  asn
         Type:  defect               |     Status:  needs_review
     Priority:  minor                |  Milestone:
    Component:  Pluggable transport  |    Version:
   Resolution:                       |   Keywords:
Actual Points:                       |  Parent ID:  #3725
       Points:                       |
-------------------------------------+--------------------------

Comment (by dcf):

 pyptlib allows "*" to appear as an element in a list of other transports.
 It sets the `allTransportsEnabled` which is read later.
  * https://gitweb.torproject.org/pluggable-
 transports/pyptlib.git/blob/0030aa880a94199627abe0891607416333b2e0eb:/pyptlib/config.py#l39
  * https://gitweb.torproject.org/pluggable-
 transports/pyptlib.git/blob/0030aa880a94199627abe0891607416333b2e0eb:/pyptlib/core.py#l81

 goptlib uses the interpretation that only the exact string "*" has a
 special meaning. It causes the library to immediately return user's entire
 transport list.
  * https://gitweb.torproject.org/pluggable-
 transports/goptlib.git/blob/78e518c824d9541056ba2ca870df2bb01b810b05:/pt.go#l200
  * https://gitweb.torproject.org/pluggable-
 transports/goptlib.git/blob/78e518c824d9541056ba2ca870df2bb01b810b05:/pt.go#l333

 Another interesting use case for "*": flashproxy-client wants to support
 the two transport names "flashproxy" and "websocket" as aliases. You can
 ask for either one in `TOR_PT_CLIENT_TRANSPORTS` and flashproxy-client
 will open up a listener for you. But when we get "*", we only want to use
 one of them (flashproxy), not both.
  *
 https://gitweb.torproject.org/flashproxy.git/blob/0b1f47a4bbed04d91000949e7cd5c1100f0f0490
 :/flashproxy-client#l1012
  *
 https://gitweb.torproject.org/flashproxy.git/blob/0b1f47a4bbed04d91000949e7cd5c1100f0f0490
 :/flashproxy-client#l1044

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10131#comment:2>
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