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

Allow non-localhost C2S connections for Matterbridge #377

Closed
poVoq opened this issue May 1, 2024 · 2 comments · Fixed by #393
Closed

Allow non-localhost C2S connections for Matterbridge #377

poVoq opened this issue May 1, 2024 · 2 comments · Fixed by #393
Labels
enhancement New feature or request
Milestone

Comments

@poVoq
Copy link
Contributor

poVoq commented May 1, 2024

Given that configuring a Matterbridge can not be easily automated, it is usually left to the streamers themselves to set up bridging, however many Peertube admins are not so XMPP affine and thus do not set up full S2S federation as outlined here.

There is an easier way to connect directly via C2S and SASL anonymous as explained in this tutorial, but it requires direct access to the server that Peertube runs on as currently the built in Prosody server is limited to localhost C2S connections.

It would probably be good to allow non-localhost C2S connections, as this would significantly simplify bridging via Matterbridge and allow streamers themselves to quickly setup a bridge during their streams with no direct involvement of the main Peertube admin, nor the need of involving an external XMPP server as in the case of a full S2S connection.

Furthermore it would be significantly simpler to set up for non xmpp affine Peertube admins as it should be as simple as opening port 5222 with no strict need to have proper SSL certificates (which most XMPP server require for S2S these days) and probably also no XMPP DNS entries.

Caveats would be that this would expose the internal Prosody to bruteforce auth attempts on the C2S interface though, which might require some additional precautions.

Ideally this option should be documented here to make it easy to explain to non xmpp affine Peertube admins.

Thanks a lot!

@JohnXLivingston
Copy link
Owner

Done in #393

If you want to add some documentation, be my guest :)

@JohnXLivingston
Copy link
Owner

PS: i don't know when the next plugin version will be released. We have some refactoring to finish before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
2 participants