Open lesion opened 5 years ago
Hi,
It should be doable with some code changes. Basically, in BSocksClient.c
, where the call BConnector_Init
is made, you need to do BConnector_InitUnix
instead. There would be some work adapting tun2socks.c
and BConnection.h/c
to support that kind of address (currently they assume BAddr
which can only hold IP addresses).
Windows compatibility sockaddr_un see: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/
Hi. Is it possible to use a unix socket as SOCKS destination? We want to use this to forward traffic to Tor (SocksPort options support listening over a unix socket)
Thanks