Open TcOhamtyw6lt opened 3 months ago
Isn't it websocat ... ws-c:unix:/path/to/software.socket
?
URI can be set using --ws-c-uri
option.
TCP-to-UNIX forwarding can itself be done using Websocat: websocat -b tcp-l:0.0.0.0:8080 unix:/path/to/software.socket
or usual socat: socat tcp-l:8080,fork,reuseaddr unix:/path/to/software.socket
.
Hey Vitaly,
This project is awesome and incredibly helpful to me. Only thing I'm missing currently is the ability of connecting to a unix domain socket.
Currently I'm working around this issue with
ncat -vlk 8080 -c 'ncat -U /path/to/software.socket'
where ncat is coming from the nmap software package.While I'm aware I'm currently working on Frankenstein's monster where I'm making an UDS behave like a websocket connection and this might be a niche thing to do, feel free to ignore this request as this is not a major inconvenience to me. Also the workaround is rather simple and now can be found via the issue search here. In the case this feature is existing and it is documented please tell me to see an optometrist ASAP. ))
Regards, Mike