-
erebion
Do we have data on the current state of IPv6 adoption in the public XMPP network?
-
pep.
I guess sjn can help there a bit, for stats
-
jjj333_p (any pronouns)
do we know if prosody/ej tend to prefer ipv6 if both are available?
-
pep.
happy eyeballs tend to prefer ip6 no?
-
Zash
Prosody follows https://datatracker.ietf.org/doc/html/rfc8305 which gives IPv6 a 250ms head start
👍 1 -
jjj333_p (any pronouns)
makes the amount of ipv4 i see in my s2s connections a little surprising
-
Zash
s/surprising/depressing/
-
MSavoritias (fae,ve)
well joinjabber had a couple days of downtimes because of IPv6 some time ago
-
MSavoritias (fae,ve)
so at least that is why it is disabled there. until we find out the cause that is
-
Zash
I've got 100% IPv4 c2s here, despite all _my_ clients and my server having IPv6 and being on the same network 😭️
-
pep.
Yeah but that's because we failed to configure it properly
-
jjj333_p (any pronouns)
my local network doesnt support ipv4 so that sucks, but my prosody is on my vps
-
Zash
slightly more ipv6 than ipv4 s2s tho, especially outgoing
-
Zash
https://cerdale.zash.se/s/06806487-b590-7304-a07d-e92cf8048093/b0d6fe0e-229f-46c4-8c8b-c75cb8b0c592.png
-
erebion
> makes the amount of ipv4 i see in my s2s connections a little surprising Huh, need to see how much I got. Then I can decide whether I can finally turn off the old legacy IP stuff.
-
erebion
> slightly more ipv6 than ipv4 s2s tho, especially outgoing How do you get those metrics? Is that documented? I'm currently looking into setting up a dashboard exactly like that, just not sure what I need.
-
Zash
https://prosody.im/doc/statistics
-
Zash
I use https://prosody.im/doc/modules/mod_http_openmetrics → Prometheus → Grafana
-
Link Mauve
https://stats.jabberfr.org is also depressing about clients.
-
Link Mauve
I think it was less bad some years ago.
-
Zash
https://hg.prosody.im/prosody-modules/file/tip/misc/grafana/prosody-dashboard.json is the dashboard I use fwiw
-
Link Mauve
But even for servers it’s bad.
-
cal0pteryx
> https://stats.jabberfr.org is also depressing about clients. 13% blabber.im, a client which has been discontinued for years
-
Link Mauve
Zash, I’ve just imported your dashboard, but it has quite a few weird things: https://stats.jabberfr.org/d/y1Onovt7z/prosody
-
Link Mauve
Such as the 3000% of CPU. :D
-
Zash
what the "A-Series"
-
Link Mauve
Or the many A-Series thingies.
-
Link Mauve
It isn’t present in your JSON.
-
Zash
Grafana shenanigans?✎ -
Zash
Grafana version shenanigans? ✏
-
Link Mauve
Ah maybe.
-
Zash
Probably have to tweak it a bit or update the datasource
-
Zash
I deleted a bunch of occurrances of "zash.se" from the sources, plus datasource and stuff that would be specific to my instance.
-
alexkurisu
I was reading about SIP and CUSAX (RFC 7081) and now wondering: why are SIP+XMPP combo-clients are practically nonexistant?
-
Link Mauve
alexkurisu, probably because XMPP can do the same as SIP, thanks to the Jingle extension.
-
Link Mauve
So no need to implement two different protocols which do pretty much the same thing, except differently.
-
Link Mauve
Same reason there are few bi-protocol XMPP and Matrix clients.
-
alexkurisu
> alexkurisu, probably because XMPP can do the same as SIP, thanks to the Jingle extension. But it does not - proper conferencing is still unimplented
-
Link Mauve
And those which exist are quite bad at both.
-
Link Mauve
alexkurisu, Jitsi and Zoom might disagree with you.
-
alexkurisu
> alexkurisu, Jitsi and Zoom might disagree with you. Their clients don't send a stream for each participant, do they?
-
Kris
> https://stats.jabberfr.org is also depressing about clients. I find it most depressing how many people are still using Blabber.im and Pidgin 😱 ↺
-
alexkurisu
Matrix for sure uses a mixer for conferencing
-
Zash
Used to be Jitsi Meet in an <iframe> (powered by Prosody) back when I last looked
-
Kris
They changed that
-
Kris
Basically it depends on Livekit now
-
Kris
With some homegrown stuff
-
Kris
https://sspaeth.de/2024/11/sfu/
-
Kris
>> alexkurisu, probably because XMPP can do the same as SIP, thanks to the Jingle extension. > But it does not - proper conferencing is still unimplented Actually Libervia has a working but experimental Galene SFU setup. ↺
-
Kris
And Movim has NLnet funding to implement something like this as well. It appears there is some deal with Ejabberd which might involve a built in sfu (speculating here).
-
erebion
> https://stats.jabberfr.org is also depressing about clients. Almost half legacy, half IPv6
-
erebion
That's pretty much just like the rest of the internet
-
erebion
> https://hg.prosody.im/prosody-modules/file/tip/misc/grafana/prosody-dashboard.json is the dashboard I use fwiw Perfect, thanks for sharing. I know what my evening entertainment will be.
-
Zash
erebion, assume it'll only work for me without tweaking ;)
-
erebion
> Same reason there are few bi-protocol XMPP and Matrix clients. "few"? Please list them, intrigued.
-
erebion
> erebion, assume it'll only work for me without tweaking ;) I don't know how to build dashboards, but'll try anyway.
-
Kris
erebion: pidgin might also have an outdated matrix plugin?
-
erebion
I've only ever found Thunderbird, and it is neither nice for Matrix, nor XMPP.
-
Kris
True, that also
-
Kris
And indeed, libpurple-matrix exists and is severly outdated an unmaintained...✎ -
Kris
And indeed, libpurple-matrix exists and is severly outdated and unmaintained... ✏
-
erebion
But weirdly enough it is the only Matrix client that does OTR for bizarre and unknown reasons.
-
Kris
Well, for many people matrix used to be a fancy IRC bouncer only.
-
erebion
what
-
erebion
For many people it was a fancy federated chat
-
erebion
Until they noticed XMPP is still out there
-
erebion
lol
-
Kris
Like I know many people that only got into Matrix because of using Freenode/Liberachat through it has running your own bouncer is a hassle.✎ -
Kris
Like I know many people that only got into Matrix because of using Freenode/Liberachat through it as running your own bouncer is a hassle. ✏
-
erebion
(That's how it went for me, after too many buggy annoyances. I get what they're trying to do, but I had mostly issues with it all the time I've used it...)
-
Kris
And OTR use on IRC is still somewhat common.
-
erebion
Really? I didn't know people encrypt on IRC.
-
Link Mauve
erebion, Thunderbird and Chatty are the only two that come to mind.
-
erebion
Why don't they use a protocol with at least some security?
-
Kris
Right, chatty the mobile pidgin...
-
Kris
erebion: irc users are old fashioned
-
erebion
Oh, yes. Though I've never got XMPP to work with it.
-
erebion
Or Matrix
-
erebion
Completely forgot about that
-
erebion
> erebion: irc users are old fashioned Many say that about XMPP users
-
erebion
I'm sure it's mostly not that
-
erebion
At least not just
-
Kris
And it is not entirely wrong, but at least xmpp servers people actually use are mostly up to date, and not a decade behind like Libera.chat, or two decades like OFTC.
-
erebion
I what ways are those two behind and one more than the other? I rarely use those.
-
Kris
Basically IRCv3 happend, but these servers are very behind implementing it.
-
Kris
Libera.chat is at least trying with some basic features and a slow moving complete rewrite.
-
erebion
> https://hg.prosody.im/prosody-modules/file/tip/misc/grafana/prosody-dashboard.json is the dashboard I use fwiw Yeah, does not work well, but gave me some ideas and now I'm building my own. (And finally learning how to actually use Grafana after having it running for... a couple years.) ↺
-
erebion
https://share.erebion.eu:5281/file_share/AhPHw_sqy2LFcHPLIpOoFzfe/68d787f7-1f34-49d6-b967-4514a03efe05.png
-
erebion
This is only data for about an hour for my server, as I've only just started collecting the metrics, but I have already discovered a DNS issue.
-
erebion
(It's always DNS)
-
erebion
I mean, why else would I have the reverse?
-
erebion
Alright, it's not mixed up data, I've just checked
-
erebion
weird
-
Zash
Why's the colors reversed for the same labels?!
-
erebion
IPv6 is always green, colours aren't reversed
-
erebion
However, Prosody seems to connect to hosts via IPv4 when it could use IPv6
-
Zash
Oh, labels are just in different order
-
Link Mauve
erebion, since you have few remote servers, you can check in the debug logs why it ends up with IPv4 instead of IPv6.
-
Link Mauve
Some just forget to publish AAAA records, some do but forget to make their server listen on INET6.
-
Link Mauve
Some forget to configure their firewall to allow IPv6 traffic to those ports.
-
Link Mauve
Then you can report them the issues you find and hope they’ll fix their setup.
-
erebion
It's still a lot of stuff, what should I grep for that could tell me why it's using IPv4?