-
Ge0rG
Good morning! Looks like a server restart.
-
dwd
moparisthebest, XEP vs RFC - Maybe, if you want to go that route. Or maybe we'll consider this when we revise RFC 6120 again - that might be more sensible.
-
Ge0rG
Hm. 0045 needs a sentence that MUC services MUST send presence-unavailable to all participants on shutdown
-
Kev
That's not practical :)
-
Kev
You can try best effort, but if you're in the middle of shutdown you're unlikely to want to wait for slow S2S links to establish.
-
Ge0rG
Kev: not practical indeed, but if the s2s link is there already, sending a bunch of packets over it is not that bad.
-
Ge0rG
Kev: and irregardless of that specific proposal, the MUC XEP sorely lacks some kind of "am I still there" detection
-
Tobias
shouldn't a ping be enough to detect if you're still there
-
Ge0rG
Tobias: you need to ping yor own participant JID, and some MUCs block that.
-
Ge0rG
Tobias: besides, my point is that such a mechanism should be described in 0045, and not passed from one generation of xmpp developers to the next as cautionary tales.
-
Ge0rG
and this MUC has significant lag today, is xmpp.org DDoSed?
-
Kev
Server load looks largely ok.
-
Kev
PHP's using more than I'd like, but yeah.
-
Kev
Oh, interesting.
-
Kev
Prosody keeps spiking to 100%, and then going down again.
-
Ge0rG
my prosody is experiencing a large number of failed login attempts for a week now.
-
Ge0rG
27 IP hops between yax.im and xmpp.xmpp.org, but that shouldn't matter too much.
-
jonasw
+1 on writing things like self-ping down in the XEP
-
Ge0rG
test?
-
mimi89999
Ge0rG: test?
-
jonasw
test!
-
Ge0rG
mimi89999: test failed. server lags.
-
mimi89999
It's quite fast...
-
Ge0rG
mimi89999: now it is. But I wrote my "test?" some minutes before it appeared in the MUC
-
mimi89999
OK...
-
jonasw
Ge0rG: it just wanted your test to be as leet as possible :) -> (13:37:01) Ge0rG: test?
-
Ge0rG
Actually even before I pinged Kev over in jdev@ (which was reflected at 13:34:36). And I see my message in here at 13:37:02, so that's around three minutes of lag.
-
Ge0rG
🤓
-
jonasw
U+1f913
-
Ge0rG
jonasw: yeah, that.
-
Ge0rG
xsf@muc.xmpp.org responded to ping after 4.955 s
-
jonasw
I know, pango shows it when it doesn’t find a font with it
-
Kev
It does seem to be Prosody that's eating all the cPU.
-
Kev
PHP a chunk, but Prosody the bulk.
-
Ge0rG
if only prosody had some useful monitoring mechanisms.
-
Kev
24,000 auth attempts in the last 6 hours for C2S.
-
Kev
xmpp.org doesn't do c2s
-
Zash
It does for Memberbot, right?
-
Zash
Could make it listen only on loopback or something tho
-
Kev
Sorry. I don't mean c2s is disabled, I mean there are no user accouns.
-
Kev
memberbot is special, yes.
-
Kev
31.13.144.33 seems to be the main culprit, I guess we could firewall that off.
-
Ge0rG
good luck sending abuse mails there :>
-
Kev
Prosody's logs don't seem to be good enough to tell, but I reckon these are trying to iq:register spam accounts.
-
Ge0rG
Kev: and bringing down the CPU?
-
Kev
*shrug*
-
jonasw
hmmm… has anyone thought of implementing XEP-0184 (message delivery receipts) with MUC? I mean in the sense that the MUC itself supports them and sends back the <received/> element if requested. It could advertise that in its features like any other entity supporting that protocol. It would allow clients to request receipts from the MUC, solving that "how do I track my message in the muc problem" without breaking backwards compatibility.
-
Zash
jonasw: Yes, have thought of that.
-
Zash
Also "handling" chat states in MUC, such that the MUC would keep track of who wants them and filter them out for others.
-
jonasw
Zash: only thought of that? why not implemented? any other concerns except time?
-
Zash
Time and motivation.
-
Ge0rG
jonasw: re 0184: you'll be better off with sending a unique ID and waiting for that to be reflected, unless you are not inside the MUC. And in the latter case you are f'ed anyway
-
daniel
What Ge0rG said. But better make that a client-id. Because some servers change the message id
-
Ge0rG
And instead of fixing those servers we have invented [xep 359]
-
daniel
Ge0rG: fixing those servers?
-
Ge0rG
daniel: the ones that rewrite message ids on reflection
-
daniel
Ge0rG: where does it say I server is not allowed to do that?
-
Ge0rG
BTW, who's going to Chemnitz this weekend?
-
daniel
Ge0rG: me
-
Ge0rG
daniel: right. Instead of fixing xep 45 and those servers.
-
Ge0rG
daniel: yay! See you there!
-
daniel
I mean the real fun begins when servers strip everything but the body
-
daniel
And change the message id
-
Ge0rG
daniel: and replace the body with a pastebin link
-
daniel
Even more fun
-
Ge0rG
MUC is FUBAR.
-
jonasw
daniel, Ge0rG, me too, want to meetup somewhere?
-
Ge0rG
There is not a single element in a reflected message that can be used to determine if this was YOUR message
-
daniel
Are we having fun yet?
-
daniel
(very obscure cultural reference)
-
Ge0rG
Let's change 0045 in an incompatible way.
-
jonasw
and call it MIX
-
daniel
jonasw: sure. I'm mostly going to hang around the chaos computer club Saxony booth. So come meet me there
-
jonasw
ah right
-
jonasw
need to stop by there anyways
-
Ge0rG
Let's found the German MUC Sabotage Cabal there!
-
SamWhited
Fatboy Slim is not obscure if you're from the 90's!
-
SamWhited
(although admittedly, I had to think about why that sounded familiar for a minute…)
-
Ge0rG
SamWhited: what about Zippy the Pinhead?
-
SamWhited
Ge0rG: Can't say I've ever heard of that one
-
Ge0rG
If we only knew WHICH obscure cultural reference daniel was talking about...
-
SamWhited
huh, TIL, didn't know that apparently was even earlier than I thought
-
MattJ
Ge0rG, daniel: FWIW I'm convinced that it's correct to rely on the 'id' attribute in MUC, and any server that modifies it is totally wrong
-
jonasw
MattJ: tell that to the MIX people
-
MattJ
I know the XEP doesn't forbid it, but that was an oversight because nobody thought a server would do that, I guess :)
-
daniel
Fwiw I don't know of a server that still does that
-
MattJ
jonasw, I'm afraid I don't understand
-
Ge0rG
MattJ: no, even the example is doing it. Also, there are xsf members who insist that it is correct and desirable behavior
-
MattJ
Because I'm starting to despair at MIX, every time I look in on it
-
daniel
The one implementation I know changed that at some point
-
MattJ
Ge0rG, the only vocal XSF member I know that was for it, changed their mind, afaik
-
Ge0rG
I've tried to get the example in 0045 changed some years ago and was argued down
-
Ge0rG
MattJ: feel free to bring it up again! 😀
-
Ge0rG
Even if we get it through, it will come with a "note: you MUST NOT rely on this working"
-
SamWhited
MattJ: Despair that MIX will ever be finished, or do you not like the protocol? If it's the latter I'd love to know what works/doesn't work from your perspective as a server developer.
-
Ge0rG
Like #436 does now
-
Bunneh
Ge0rG: XEP-0045: Add <x/> tag to MUC-PMs #436 https://github.com/xsf/xeps/pull/436
-
SamWhited
(a mailing list post about the server developers perspective on MIX would be *very* helpful, I think)
-
MattJ
SamWhited, both. It seems to me there's a lot of the second-system syndrome going around, and when I heard that it now requires the user's own server to implement new stuff to work, it discouraged me from even trying to catch up on the latest developments
-
jonasw
MattJ: MIX explicitly specifies that the server re-writes the ID and also provides (only in the message to the original sender) a <submission-id/> element which carries the original message ID
-
SamWhited
MattJ: Ah, yah, that one bothered me for a while too and I'm still a bit torn about it; Kev more or less convinced me that it was necessary for any new MUC protocol, but I do still have a vague unease about what it will do for adoption.
-
jonasw
MattJ: please read MIX. it became much better in the 0.8 revision and I think it can be improved with respect to your concerns. I cannot provide that input because I don’t know the server side.
-
MattJ
Ok, since you asked nicely :)
-
Zash
I got halfway or something
-
jonasw
(and I think MUC can use a replacement)
-
jonasw
I had to sit down two or three hours straight to read it and take notes for possible improvements, but it was worth it I think.
-
MattJ
I think MUC could use a simple replacement
-
Zash
Define simple?
-
MattJ
Something that doesn't require three hours to read? :)
-
Zash
Read faster :)
-
jonasw
maybe it wasn’t three hours ;-)
-
jonasw
anyways, heading out, cya
-
daniel
Maybe we can get someone with a very calming voice to do an audio book version of the mix xeo
-
Zash
+1
-
SamWhited
Dramatic (or calming) readings of RFC's and XEP's would be a fun podcast…
-
Zash
Someone get David Attenborough on the line!
-
SamWhited
And Morgan Freeman!
-
Ge0rG
That sounds like you want to sugar coat the long tedious text.
-
moparisthebest
dwd, "when we revise RFC 6120 again", is that any time in the nearish future?
-
Zash
define "nerish"✎ -
Zash
define "nearish" ✏
-
dwd
Some time in the next decade?