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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs