tomerfiliba-org / rpyc

RPyC (Remote Python Call) - A transparent and symmetric RPC library for python
http://rpyc.readthedocs.org
Other
1.57k stars 243 forks source link

[HELP] Is there a way to expose an RPyC Service on an AF_VSOCK socket? #535

Open JosquinIMBERT opened 1 year ago

JosquinIMBERT commented 1 year ago

Is there a way to expose an RPyC Service on an AF_VSOCK socket?

I am running a virtual machine and I want it to connect to a service exposed on the host through a socket of the VSOCK address family.

I don't see any option that would allow me:

  1. To expose the service on the host side
  2. To connect to the service from the VM side

The only option I see is to use an intermediary socket (e.g. a unix socket) on the host and to forward the connections to the VSOCK toward this intermediary socket.

comrumino commented 1 year ago

I started some work on this, but you are correct that it is not currently supported.