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

hs.socket and hs.socket.udp listens on all interfaces #3634

Open
cfal opened this issue May 11, 2024 · 0 comments
Open

hs.socket and hs.socket.udp listens on all interfaces #3634

cfal opened this issue May 11, 2024 · 0 comments

Comments

@cfal
Copy link

cfal commented May 11, 2024

neither TCP or UDP server sockets allow binding to a specific interface or address, eg https://github.com/Hammerspoon/hammerspoon/blob/master/extensions/socket/libsocket_udp.m#L209

it would be nice to support listening on a specific interface, eg communication on a bridge interface with a VM without exposing the server to the outside world.

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

1 participant