[tor-bugs] #33519 [Circumvention/Snowflake]: Support multiple simultaneous SOCKS connections

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 25 04:19:18 UTC 2020


#33519: Support multiple simultaneous SOCKS connections
-------------------------------------+------------------------
 Reporter:  dcf                      |          Owner:  (none)
     Type:  defect                   |         Status:  closed
 Priority:  Medium                   |      Milestone:
Component:  Circumvention/Snowflake  |        Version:
 Severity:  Normal                   |     Resolution:  fixed
 Keywords:  turbotunnel              |  Actual Points:
Parent ID:  #19001                   |         Points:
 Reviewer:                           |        Sponsor:
-------------------------------------+------------------------
Changes (by dcf):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:7 arma]:
 > If these log lines could tell me which outgoing connection (aka which
 incoming socks connection) these messages were for (even just saying a
 SocksId number or something), then when I'm watching to see how it
 recovers, it will be easier to tell when snowflake is handling messages
 for the *old* connection, vs when it is using the new connection.

 Thanks for testing. This suggestion isn't so easy currently, because the
 bandwidth logger is per snowflake, not per SOCKS connection (per KCP/QUIC
 stream). But for now I can add stream numbers to the log and log when each
 stream begins and ends. KCP uses odd integers for stream numbers and QUIC
 uses even.
 {{{
 ---- Handler: begin stream 3 ---
 ---- Handler: begin stream 5 ---
 ---- Handler: closed stream 5 ---
 ---- Handler: closed stream 3 ---
 }}}
 {{{
 ---- Handler: begin stream 0 ---
 ---- Handler: begin stream 4 ---
 ---- Handler: closed stream 4 ---
 ---- Handler: closed stream 0 ---
 }}}
 https://gitweb.torproject.org/user/dcf/snowflake.git/commit/?h
 =turbotunnel-kcp&id=7e665838032bbd185046997dcb04d3441f6ac3fa
 https://gitweb.torproject.org/user/dcf/snowflake.git/commit/?h
 =turbotunnel-quic&id=4ed4cfcc10110dae79e63e202788a3777553f9d7

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


More information about the tor-bugs mailing list