Live data from Hacker News

Modern messaging: Running your own XMPP server

codedge.de

61–70 of 156 posts

Re: Modern messaging: Running your own XMPP server

#61

"Since 3 years the European Commission works on a plan to automatically monitor all chat, email and messenger conversations.12 If this is going to pass, and I strongly hope it will not, the European Union is moving into a direction we know from states suppressing freedom of speech." If this come to pass, there will be two approaches: 1. People will not share anything important online, only in person 2. Every friends…

3. Normal people accept surveillance and techies are tracked down / silenced.

Given our current surveillance state with social networks, I don't see (1) or (2) as real options.

Re: Modern messaging: Running your own XMPP server

#62
post #18

Earlier quoted context omitted.

Here's a blog post on scalability from the front page (well, sort of, see last paragraph): https://www.process-one.net/blog/ejabberd-massive-scalabilit... This includes not just textual claims about scalability but a lot of hooks you can use to followup on, like a reference to the Tsung benchmarking tool you can use. If you're asking about this for serious reasons, at this scale you're obviously running your own test…

Thanks for noticing, it should be fixed now.

I'm past my edit window now so I can't remove the claim, but I will verify and agree that it is fixed now. If you (the reader, not Metalhearf) previously visited the home page you may have to manually reload to bust the cache to see the correct link(s) now.

Re: Modern messaging: Running your own XMPP server

#64
post #14

Last time I tried this I couldn’t even find an iOS client that supported reactions. Hate on the complexity of Matrix all you like, but at least when you ask your family to use it, they get a modern experience and don’t feel like they’re giving up everything vs every other messenger they are used to.

> Last time I tried this I couldn’t even find an iOS client that supported reactions. Hate on the complexity of Matrix all you like, but at least when you ask your family to use it, they get a modern experience and don’t feel like they’re giving up everything vs every other messenger they are used to.

Now if only it actually worked consistently and reliably.

I'm not being snarky, the app is flakey as hell. Reactions are nice and all but pointless if they don't have the send a message part down.

Re: Modern messaging: Running your own XMPP server

#65
post #61

"Since 3 years the European Commission works on a plan to automatically monitor all chat, email and messenger conversations.12 If this is going to pass, and I strongly hope it will not, the European Union is moving into a direction we know from states suppressing freedom of speech." If this come to pass, there will be two approaches: 1. People will not share anything important online, only in person 2. Every friends…

3. Normal people accept surveillance and techies are tracked down / silenced. Given our current surveillance state with social networks, I don't see (1) or (2) as real options.

I hope not; I hope there is a culture change; but, hope is not a strategy so it's better to build alternative tools and learn how to use them

Re: Modern messaging: Running your own XMPP server

#66

"Since 3 years the European Commission works on a plan to automatically monitor all chat, email and messenger conversations.12 If this is going to pass, and I strongly hope it will not, the European Union is moving into a direction we know from states suppressing freedom of speech." If this come to pass, there will be two approaches: 1. People will not share anything important online, only in person 2. Every friends…

On #2, even though I and most of my friends/family are in the US, likely going to offer such to friends and family... I'm about to move from a /29 to /28 subnet to run a few extra services on my hosted server.

I've got a nice mailu config and wanting to expand with Nextcloud (or alternative) and likely xmpp services... I mostly use a pretty light host VM and docker compose configuration to make up/down/backup/restore pretty smooth... I'm not currently running across multiple servers, but do want to be able to have a slightly more consistent config... I've got a combination of Caddy and Traefic on the different servers for TLS and all my apps are /apps/appName/(data|docker-compose.yml) on the server(s). Which keeps my maintenance chores relatively simple from a couple remote ssh commands and rsync.

Mostly been a bit lazy in terms of getting this all done.

Re: Modern messaging: Running your own XMPP server

#67
post #17

One potential issue with XMPP is the default port is commonly blocked on public wifi. There is an nginx-xmpp to proxy it, but it is archived. https://github.com/robn/nginx-xmpp For that reason http based protocol just seems much easier on the network or something that can be easily reverse proxied without extensions will be easier to self-host and have wilder internet connection accessibility.

You don't need any third party modules and can proxy based on ALPN (https://wiki.xmpp.org/web/Tech_pages/XEP-0368#nginx) thus running everything on port 443. Note that ALPN is not encrypted AFAIK but public wifi services don't care.

Re: Modern messaging: Running your own XMPP server

#68

I've forgotten how much hassle installing applications can be since docker.

Part of my thoughts... though if you're familiar with Ansible, the automation isn't so bad in that ecosystem. I mostly run my personal stuff single instance, so deploying /apps/app-name/docker-compose.yaml is my general approach to most things along with either Caddy or Traefik.

Re: Modern messaging: Running your own XMPP server

#69
As much as I like the idea of XMPP, I don't have good experiences from interacting with it. Neither clients nor protocol/server level.

I've written multiple parsers along the way, back in the days when there was nothing else and more recently for use in very constrained embedded contexts.

I don't know how much has changed, but it was more complicated than I would have wished, seemingly designed more to check theoretical boxes than for ease of use.

I was also part of a project where the backend was implemented as a bunch of services communicating via XMPP, custom server etc. And it was a total mess, we spent a lot of time on manual intervention just making sure messages weren't dropped.

Is this a common experience with XMPP or did I just hit all lemons?

Re: Modern messaging: Running your own XMPP server

#70
post #25

Does anyone use ejabberd inside a wireguard network? I'm hoping to set it up on the main server, and connect to it with aTalk on Android - but I'm worried ssl is going to be a pain if it's not exposed with a proper domain name. I don't know if aTalk will accept a self-signed certificate (or even better, just use non-ssl with an address and port without a domain name)?

You should be able to use a DNS provisioning through Let's Encrypt assuming you're on a supported host for your DNS based provisioning. Traefik may even have an easy button option depending on your configuration.
Post reply on HN