On 21-01-2025 17:05, Mantas Mikulėnas wrote:
On 2025-01-21 17:00, Erik Slagter wrote:
I was going to say that stunnel can't connect to a unix socket, but I
just checked and apparently it (now) can. That's why I was using
socat. This may be interesting. If it works I may even be able to
expose the session bus this way, which makes it all a lot less complex.
Either stunnel or socat might work long as you don't attempt to use
programs which expect to be able to attach file descriptors to D-Bus
messages. Otherwise they'll "successfully" negotiate this capability
during the protocol handshake but then the sent FDs will disappear.
That would be logical, indeed. But for the simple things I want to do,
at least socat works just fine. I didn't try stunnel yet.
If it doesn't work for some things, I won't come to complain here ;-)