Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: handle Unix Domain Socket (UDS) #255

Open
TcOhamtyw6lt opened this issue Aug 11, 2024 · 1 comment
Open

Feature request: handle Unix Domain Socket (UDS) #255

TcOhamtyw6lt opened this issue Aug 11, 2024 · 1 comment

Comments

@TcOhamtyw6lt
Copy link

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

@vi
Copy link
Owner

vi commented Aug 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants