XSF Discussion - 2017-03-10


  1. Ge0rG

    Good morning! Looks like a server restart.

  2. 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.

  3. Ge0rG

    Hm. 0045 needs a sentence that MUC services MUST send presence-unavailable to all participants on shutdown

  4. Kev

    That's not practical :)

  5. 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.

  6. Ge0rG

    Kev: not practical indeed, but if the s2s link is there already, sending a bunch of packets over it is not that bad.

  7. Ge0rG

    Kev: and irregardless of that specific proposal, the MUC XEP sorely lacks some kind of "am I still there" detection

  8. Tobias

    shouldn't a ping be enough to detect if you're still there

  9. Ge0rG

    Tobias: you need to ping yor own participant JID, and some MUCs block that.

  10. 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.

  11. Ge0rG

    and this MUC has significant lag today, is xmpp.org DDoSed?

  12. Kev

    Server load looks largely ok.

  13. Kev

    PHP's using more than I'd like, but yeah.

  14. Kev

    Oh, interesting.

  15. Kev

    Prosody keeps spiking to 100%, and then going down again.

  16. Ge0rG

    my prosody is experiencing a large number of failed login attempts for a week now.

  17. Ge0rG

    27 IP hops between yax.im and xmpp.xmpp.org, but that shouldn't matter too much.

  18. jonasw

    +1 on writing things like self-ping down in the XEP

  19. Ge0rG

    test?

  20. mimi89999

    Ge0rG: test?

  21. jonasw

    test!

  22. Ge0rG

    mimi89999: test failed. server lags.

  23. mimi89999

    It's quite fast...

  24. Ge0rG

    mimi89999: now it is. But I wrote my "test?" some minutes before it appeared in the MUC

  25. mimi89999

    OK...

  26. jonasw

    Ge0rG: it just wanted your test to be as leet as possible :) -> (13:37:01) Ge0rG: test?

  27. 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.

  28. Ge0rG

    🤓

  29. jonasw

    U+1f913

  30. Ge0rG

    jonasw: yeah, that.

  31. Ge0rG

    xsf@muc.xmpp.org responded to ping after 4.955 s

  32. jonasw

    I know, pango shows it when it doesn’t find a font with it

  33. Kev

    It does seem to be Prosody that's eating all the cPU.

  34. Kev

    PHP a chunk, but Prosody the bulk.

  35. Ge0rG

    if only prosody had some useful monitoring mechanisms.

  36. Kev

    24,000 auth attempts in the last 6 hours for C2S.

  37. Kev

    xmpp.org doesn't do c2s

  38. Zash

    It does for Memberbot, right?

  39. Zash

    Could make it listen only on loopback or something tho

  40. Kev

    Sorry. I don't mean c2s is disabled, I mean there are no user accouns.

  41. Kev

    memberbot is special, yes.

  42. Kev

    31.13.144.33 seems to be the main culprit, I guess we could firewall that off.

  43. Ge0rG

    good luck sending abuse mails there :>

  44. Kev

    Prosody's logs don't seem to be good enough to tell, but I reckon these are trying to iq:register spam accounts.

  45. Ge0rG

    Kev: and bringing down the CPU?

  46. Kev

    *shrug*

  47. 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.

  48. Zash

    jonasw: Yes, have thought of that.

  49. Zash

    Also "handling" chat states in MUC, such that the MUC would keep track of who wants them and filter them out for others.

  50. jonasw

    Zash: only thought of that? why not implemented? any other concerns except time?

  51. Zash

    Time and motivation.

  52. 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

  53. daniel

    What Ge0rG said. But better make that a client-id. Because some servers change the message id

  54. Ge0rG

    And instead of fixing those servers we have invented [xep 359]

  55. daniel

    Ge0rG: fixing those servers?

  56. Ge0rG

    daniel: the ones that rewrite message ids on reflection

  57. daniel

    Ge0rG: where does it say I server is not allowed to do that?

  58. Ge0rG

    BTW, who's going to Chemnitz this weekend?

  59. daniel

    Ge0rG: me

  60. Ge0rG

    daniel: right. Instead of fixing xep 45 and those servers.

  61. Ge0rG

    daniel: yay! See you there!

  62. daniel

    I mean the real fun begins when servers strip everything but the body

  63. daniel

    And change the message id

  64. Ge0rG

    daniel: and replace the body with a pastebin link

  65. daniel

    Even more fun

  66. Ge0rG

    MUC is FUBAR.

  67. jonasw

    daniel, Ge0rG, me too, want to meetup somewhere?

  68. Ge0rG

    There is not a single element in a reflected message that can be used to determine if this was YOUR message

  69. daniel

    Are we having fun yet?

  70. daniel

    (very obscure cultural reference)

  71. Ge0rG

    Let's change 0045 in an incompatible way.

  72. jonasw

    and call it MIX

  73. daniel

    jonasw: sure. I'm mostly going to hang around the chaos computer club Saxony booth. So come meet me there

  74. jonasw

    ah right

  75. jonasw

    need to stop by there anyways

  76. Ge0rG

    Let's found the German MUC Sabotage Cabal there!

  77. SamWhited

    Fatboy Slim is not obscure if you're from the 90's!

  78. SamWhited

    (although admittedly, I had to think about why that sounded familiar for a minute…)

  79. Ge0rG

    SamWhited: what about Zippy the Pinhead?

  80. SamWhited

    Ge0rG: Can't say I've ever heard of that one

  81. Ge0rG

    If we only knew WHICH obscure cultural reference daniel was talking about...

  82. SamWhited

    huh, TIL, didn't know that apparently was even earlier than I thought

  83. 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

  84. jonasw

    MattJ: tell that to the MIX people

  85. MattJ

    I know the XEP doesn't forbid it, but that was an oversight because nobody thought a server would do that, I guess :)

  86. daniel

    Fwiw I don't know of a server that still does that

  87. MattJ

    jonasw, I'm afraid I don't understand

  88. Ge0rG

    MattJ: no, even the example is doing it. Also, there are xsf members who insist that it is correct and desirable behavior

  89. MattJ

    Because I'm starting to despair at MIX, every time I look in on it

  90. daniel

    The one implementation I know changed that at some point

  91. MattJ

    Ge0rG, the only vocal XSF member I know that was for it, changed their mind, afaik

  92. Ge0rG

    I've tried to get the example in 0045 changed some years ago and was argued down

  93. Ge0rG

    MattJ: feel free to bring it up again! 😀

  94. Ge0rG

    Even if we get it through, it will come with a "note: you MUST NOT rely on this working"

  95. 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.

  96. Ge0rG

    Like #436 does now

  97. Bunneh

    Ge0rG: XEP-0045: Add <x/> tag to MUC-PMs #436 https://github.com/xsf/xeps/pull/436

  98. SamWhited

    (a mailing list post about the server developers perspective on MIX would be *very* helpful, I think)

  99. 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

  100. 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

  101. 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.

  102. 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.

  103. MattJ

    Ok, since you asked nicely :)

  104. Zash

    I got halfway or something

  105. jonasw

    (and I think MUC can use a replacement)

  106. 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.

  107. MattJ

    I think MUC could use a simple replacement

  108. Zash

    Define simple?

  109. MattJ

    Something that doesn't require three hours to read? :)

  110. Zash

    Read faster :)

  111. jonasw

    maybe it wasn’t three hours ;-)

  112. jonasw

    anyways, heading out, cya

  113. daniel

    Maybe we can get someone with a very calming voice to do an audio book version of the mix xeo

  114. Zash

    +1

  115. SamWhited

    Dramatic (or calming) readings of RFC's and XEP's would be a fun podcast…

  116. Zash

    Someone get David Attenborough on the line!

  117. SamWhited

    And Morgan Freeman!

  118. Ge0rG

    That sounds like you want to sugar coat the long tedious text.

  119. moparisthebest

    dwd, "when we revise RFC 6120 again", is that any time in the nearish future?

  120. Zash

    define "nerish"

  121. Zash

    define "nearish"

  122. dwd

    Some time in the next decade?