Skip to content

User spoofing for puppeteering support for XMPP #167

@poVoq

Description

@poVoq

This was discussed internally and would be a really nice feature to have.

Previously there was a very experimental user spoofing option via slack like webhooks, but that was removed since the Prosody module it depended on was long abandoned.

The ideal solution would be to add XEP-0225 privileged component connection support to Matterbridge, so that it can connect directly to a XMPP server and create user puppets as needed.

The blocker for that is basically that the go-xmpp library that we use lacks this feature. It seems however that this could be added relatively easily based on an previous partial PR.

An alternative would be to switch to the Mellium library that supports this, but this might bring other disadvantages and would need a partial rewrite of the xmpp bridge part.

One of our contributors made a proof of concept with Mellium to explore the general feasibility of this and it seems to work in principle.

Another option would be to use an existing feature in Matterbridge to spawn multiple connections on an SASL anonymous capable c2s endpoint and manage multiple bots that way. This is more of a hack and needs server specific server side configuration that most XMPP servers lack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions