On my flight home yesterday a free, but limited, wifi option was available that allowed only for messaging (WhatsApp, Messenger, and I think the Google and Apple ones were specifically mentioned), but not web browsing. I checked and, sure enough, I couldn’t get web browsing to work, but WhatsApp and Messenger worked fine. I decided to try my XMPP client and I was pleasantly surprised to that that worked fine as well.

I know it’s a limited use case, where XMPP is one of the few unblocked protocols, but are there things I can do with it besides chatting? Could I use it to receive status updates from my server? Is there a way to use it for SSH somehow? I guess some sort of bot running on my server would be required. Seems like there are lots of possibilities, like bots that fetch websites or interact with ActivityPub. Has anyone found or tried anything like that?

cross-posted from: https://pixelfed.crimedad.work/p/crimedad/598286716239948208

Dog on a plane

My wonderful neighbor, Juicy, on our flight home.

#italiangreyhound #dog #gooddog

@aww@lemmy.ml

  • Smk@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    It is possible. As long as the protocol allows sending bytes of data controlled by the user which XMPP allows.

    You would basically wrap http with XMPP. You need a server that would understand XMPP, read the payload, create the http request, do the request for you, wrap the response with XMPP and send it back to you.

    You can do that with DNS as well which would bypass probably everything. However, your bandwidth wouldn’t be great.