[tor-bugs] #25434 [Obfuscation/Snowflake]: Use `ListenAndServeTLS`, not separate `listenTLS` and `Serve` in snowflake-server

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 6 05:27:50 UTC 2018


#25434: Use `ListenAndServeTLS`, not separate `listenTLS` and `Serve` in snowflake-
server
---------------------------------------+----------------------
     Reporter:  dcf                    |      Owner:  dcf
         Type:  enhancement            |     Status:  assigned
     Priority:  Medium                 |  Milestone:
    Component:  Obfuscation/Snowflake  |    Version:
     Severity:  Normal                 |   Keywords:
Actual Points:                         |  Parent ID:
       Points:                         |   Reviewer:
      Sponsor:                         |
---------------------------------------+----------------------
 Port these two patches from meek-server to snowflake-server:
  * [https://gitweb.torproject.org/pluggable-
 transports/meek.git/commit/?id=cea86c937dc278ba6b2100c238b1d5206bbae2f0
 Use ListenAndServe{TLS} rather than separate Listen and Serve.]
  * [https://gitweb.torproject.org/pluggable-
 transports/meek.git/commit/?id=e3f3054f8b74caa639a6d9be09702693af9a70e7
 Wait briefly after calling ListenAndServe{TLS} to see if it errors.]
 This way, we automatically get support for HTTP/2 and whatever TLS
 settings Go configures by default, rather than copy-pasted settings from
 some previous version. The only thing we lose is the ability to run a
 server on port 0; i.e. a random ephemeral port.

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


More information about the tor-bugs mailing list