Adding Support for AF_UNIX Socket Family for Windows

209 views
Skip to first unread message

Roy Shvadron

unread,
May 22, 2023, 10:32:56 AM5/22/23
to grpc.io
Hi, 
Up until now, gRPC for windows doesn't allow two processes to communicate (IPC) over AF_UNIX sockets , even though AF_UNIX is being supported in Windows for few years. When I searched your git issues I noticed issue #22285 on which I found the following comment:

" There are a number of reasons, and I am most familiar with the challenge that AF_UNIX would need to be treated differently with respect to security concerns on Windows vs Posix. Unix sockets are currently considered "trusted" within gRPC 
  " 
When inspecting the I/O manager and TCP server/listener I couldn't find any indication why Posix AF_UNIX are considered trusted while Windows AF_UNIX are not. 
Any relevant information would be very useful.
  
I would be happy to contribute to the project and  adding Windows AF_UNIX support.

Thank you
Reply all
Reply to author
Forward
0 new messages