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

Disable TCP on systemd socket activation #2914

Closed
totaam opened this issue Oct 23, 2020 · 2 comments
Closed

Disable TCP on systemd socket activation #2914

totaam opened this issue Oct 23, 2020 · 2 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Oct 23, 2020

From the mailing list: Disable TCP on systemd socket activation: I would like to disable support for plain TCP, but I do not see a combination of config options that works with socket activation. Am I right or wrong?

Should be trivial to add, at least using an environment variable.

@totaam
Copy link
Collaborator Author

totaam commented Oct 23, 2020

Done in r27743.

The socket type can be specified using an environment variable, either for each socket using their zero-based index:

xpra proxy --env=XPRA_SD0_SOCKET_TYPE=ws --env=XPRA_SD1_SOCKET_TYPE=ssl

Or globally for all sd sockets:

xpra proxy --env=XPRA_SD_SOCKET_TYPE=wss

@totaam totaam closed this as completed Oct 23, 2020
@totaam
Copy link
Collaborator Author

totaam commented Nov 24, 2020

As per my reply to this thread: re: Disable TCP on systemd socket activation, the default xpra proxy service uses tcp-auth=sys, this must be changed to wss-auth=sys when using XPRA_SD0_SOCKET_TYPE=wss. (or whatever socket type is used instead)

@totaam totaam added the v3.0.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant