-
Maranda
nice and so I managed to send the error on the wrong stream...
-
Maranda
luckily it's fixed, all the blame goes on the flow scheme in {xep 220} that always confused me to hell.
-
Bunneh
Maranda: Server Dialback (Standards Track, Draft, 2015-03-12) See: https://xmpp.org/extensions/xep-0220.html
-
SaltyBones
Saw this on hn last night and had never heard of it: https://tox.chat/
-
Ge0rG
https://news.ycombinator.com/item?id=16750265 that comment made me really sad. And it doesn't even look like sarcasm...
-
jonasw
ow
-
edhelas
> Prosody is very simple to set up, ejabberd can scale to infinity.
-
edhelas
… and beyond
-
Ge0rG
Faster than the speed of light!
-
jonasw
objection!
-
edhelas
erlang makes your CPU runs faster
-
Maranda
That doesn't compute
-
Maranda
And I broke bidi ™️
-
jonasw
maybe you need a better compute-r
-
Maranda
How I don't have a clue (yet) ™️
-
Maranda
Aka never try to untagle messy code at 2:30 am.
-
Maranda
s/untagle/untangle/
-
Maranda
And found it
-
dwd
Maranda, I've got a broken bidi in Metre as well. It's deceptively tricky to get right.
-
Maranda
dwd: it's not bidi being broke, I broke mod_s2s which broke everything not just bidi, just because "mark connected" expects an event to return "true" and that is not there anymore yay \o/
-
dwd
Oh, fun.
-
Maranda
Let's hope no s2s stream closes before I'm home again.
-
Maranda
s/mark connected/make authenticated/
-
Maranda
dwd, good news is that I think I _finally_ managed to fix and untangle (most of) that mess that is s2s/dialback code.
-
Maranda
(Dialback expecially)
-
dwd
Metre is basically all S2S code, so I can appreciate that.
-
Zash
dwd: Have you tried Metre with Prosody ?
-
Maranda
And there we go...
-
Ge0rG
The more I think about the account-MUC-bouncer and some kind of extended notification mechanism, the more I like it.
-
Maranda
:O
-
jonasw
have you figured out a proper way of dealing with MUC service reboots and s2s errors yet?
-
Ge0rG
jonasw: there is none. But at least the server should know when s2s errors happen
-
jonasw
Ge0rG, syncing from one MAM to the other could work.
-
Ge0rG
MAM-to-MAM transfer!
-
jonasw
it doesn’t solve the JID hack tohugh
-
jonasw
DMA, direct MAM access.
-
Ge0rG
which JID hack?
-
jonasw
the JID hack which is called MUC
-
Ge0rG
Hm. Maybe.
-
jonasw
you know, where resources of a JID represent entirely different identities
-
Ge0rG
I've learned to live with that hack
-
jonasw
yeah, and you love the difficulites arising from PMs and such due to that :)
-
jonasw
the MSN things
-
Zash
Querying your contacts MAM for your own messages there could be ... a thing.
-
Ge0rG
Hm. Why doesn't my yaxim synchronize any more.
-
Zash
But you know, that's in "Skype behaviour I hate" land. Don't do it!
-
Maranda
Does it crash during startup?
-
Ge0rG
Maranda: no, it fails to join IRC channels.
-
Maranda
😎
-
Zash
Gotta crash a few times while querying your contacts online clients for history.
-
Zash
And get the history in random order.
-
Maranda
\o/
-
Kev
> But at least the server should know when s2s errors happen Nope, not really.
-
Ge0rG
Kev: *better than the client
- Maranda does a 🤔 at https://tools.ietf.org/html/rfc6120#section-8.3.3.4 and another 🤔 at https://tools.ietf.org/html/rfc6120#section-8.3.3.11
-
Kev
From the school of 'that's not saying much' :)
-
Maranda
I'm not sure I should use either when rejecting a db:request from a blacklisted entity, I suppose not-allowed would be more appropriate.
- Maranda guesses he should map all the rfc conditions rather than just those suggested in the xep.
-
Maranda
Dave Cridland, well bidi on dave.cridland.net doesn't look broken to me at a first glance at least fwiw
-
Maranda
(and/or dwd XD)
-
Dave Cridland
Maranda, It's not always broken. There's some sequence which causes it to choke.
-
Maranda
Dave Cridland, I think I can make an educated guess some of those involve DB 🤣
-
Dave Cridland
Maranda, To some extent. But I think it's more that it sometimes removes the session that's just gone bidi by accident. I thought I'd stopped it, but I think there's still some odd cases.
-
Maranda
and there I knew something was amiss, *hates being right*
-
Maranda
Dave Cridland, Does Metre do some sort of "caching" magic if I previously authenticated a stream via SASL external and I close the stream and reopen a new one and use dialback instead that time?
- Maranda is playing to try and trigger verification of keys with bidi but that doesn't seem to happen.
-
Dave Cridland
Maranda, Not sure I know what you mean. It doesn't change behaviour dependent on previous sessions (yet).
-
Dave Cridland
Maranda, But it'll respond to dialback based on whether it can authenticate the session. Not whether it can authenticate it via dialback.
-
Maranda
Dave Cridland, I don't see it verifying dialback keys that's what I mean.
-
Dave Cridland
Maranda, Right, but if the remote session has a valid certificate, there's no need.
-
Dave Cridland
Maranda, See XEP-0344.
-
Maranda
hmm ok noted
-
Maranda
since there's scarce bidi deployment out there I wanted to check if Metronome actually opened a new stream to verify keys (which I somehow doubt it doing on outgoing streams for some reason) :)
- Maranda wasn't aware of 344 either.