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

Support relay listening on AF_LOCAL (AF_UNIX) sockets #733

Closed
nomis opened this issue May 12, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@nomis
Copy link
Contributor

commented May 12, 2016

Local sockets exist as files with normal permissions, so it would be possible to listen on a socket that only the user has access to. There'd be no need for multiple users to agree on listening ports or for a relay password.

SSH now has support for Unix socket forwarding, so it would be possible to have a client connect to weechat via SSH with no additional passwords.

ryan-farley added a commit to ryan-farley/weechat that referenced this issue Apr 11, 2019

UNIX socket support in relay
This adds support for relay servers listening on UNIX domain sockets.
They can be created using the /relay addpath command and specifying the
un protocol option. 'path' is now used instead of 'port' in messages,
which contains either a string representation of the port or the path to
a socket; port is negative when a UNIX socket is used. Path based relays
are stored in their own config section, with existing callbacks reused
as much as possible. Documentation has been updated as well.

Closes weechat#733

ryan-farley added a commit to ryan-farley/weechat that referenced this issue Apr 11, 2019

relay: UNIX socket support (implement weechat#733)
This adds support for relay servers listening on UNIX domain sockets.
They can be created using the /relay addpath command and specifying the
un protocol option. 'path' is now used instead of 'port' in messages,
which contains either a string representation of the port or the path to
a socket; port is negative when a UNIX socket is used. Path based relays
are stored in their own config section, with existing callbacks reused
as much as possible. Documentation has been updated as well.

@flashcode flashcode self-assigned this May 13, 2019

@flashcode flashcode added this to the 2.5 milestone May 13, 2019

@flashcode flashcode closed this in ffefd1b May 13, 2019

flashcode added a commit that referenced this issue May 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.