[tor-bugs] #16183 [Torsocks]: torsocks upgrade broke OpenSSH connection sharing

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 25 14:40:07 UTC 2015


#16183: torsocks upgrade broke OpenSSH connection sharing
--------------------------+---------------------
     Reporter:  zeuner    |      Owner:  dgoulet
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:
    Component:  Torsocks  |    Version:
   Resolution:            |   Keywords:  ssh
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+---------------------
Changes (by dgoulet):

 * keywords:  ssh recvmsg => ssh


Comment:

 Interesting!

 This is a very difficult one to fix, iirc the kernel will dup() the fd
 passed on the socket only when the `recvmsg()` is called. So, even if we
 track the `sendmsg()` in the master process, we can't correlate it with
 the `recvmsg()` since the fd value will be different.

 I'm unsure how to fix this, maybe there is a way to inject a cookie in the
 ancillary data? Feedback welcome.

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


More information about the tor-bugs mailing list