XSF Discussion - 2018-06-12


  1. Ge0rG

    https://www.schneier.com/blog/archives/2018/01/detecting_drone.html another nail in the coffin of stream compression. I totally missed that back in January

  2. jonasw

    awesome

  3. jonasw

    can we use that to decrypt and de-DRM HDMI streams?

  4. Andrew Nenakhov

    "In other words, they can see what the drone sees," - seems like total bullshit

  5. Andrew Nenakhov

    They can detect patterns within compressed stream (idle/rapidly changing), not the stream itself.

  6. labdsf

    TLDR: If you suspect that drone is filming you, move rapidly and see if it transmits more

  7. labdsf

    daniel, why do you say Conversations resources are not permanent?

  8. labdsf

    when are they changed?

  9. labdsf

    I am thinking about how to fix it in Gajim and it seems just writing permanent resource in config is not a good idea, because configs may be synchronized

  10. daniel

    labdsf: when a server provides me with a different one or if I'm logged out because of duplicate resource or not permitted to bind

  11. labdsf

    that seems like a solution, thanks

  12. labdsf

    just regenerate resource if it is duplicate

  13. jonasw

    yupp

  14. Ge0rG

    Except that a *sane* server will assume that the second bind is the same client, coming from a network change, and kill the old session.

  15. daniel

    I've seen plenty of server that will prevent your bind

  16. daniel

    Jabberd maybe?

  17. Ge0rG

    daniel: yes, there are some servers that do that. No, it doesn't make it a good idea.

  18. daniel

    i think there is also an ejabberd config that will just give you a new random resource

  19. daniel

    at least i have seen that behaviour in the wild

  20. Ge0rG

    there is also a prosody module for that.

  21. Ge0rG

    In the Age Of MAM, this is not as bad as it used to be.

  22. MattJ

    FWIW although I now favour clients requesting per-client static resources, I didn't mention what the server actually assigns them :)

  23. daniel

    is "there is a prosody module for that" the new "the simpsons did it"?

  24. Zash

    Old tho

  25. Ge0rG

    MattJ: I'm interested in how you imagine the whole process to play out, then.

  26. MattJ

    Is there any more to it than that?

  27. MattJ

    Client should request a resource of <some installation-unique string>, it doesn't need to be what the server actually uses as the public resource for that session

  28. Ge0rG

    MattJ: so you do assign another resource to the client? Do you expect the client to request the newly-assigned resource on next connection then? And re-assign again?

  29. MattJ

    No, why would it do that?

  30. MattJ

    I expect the client to always request the same resource

  31. jonasw

    MattJ, if the server gives me a different resource in the bind response, I think I’ll use that resource from then onwards ...

  32. MattJ

    Why?

  33. Ge0rG

    See, you don't even have a coherent image of your idea.

  34. MattJ

    Consider that the server's logic (as it typically is today) when that happens is "override the client's resource with a random one"

  35. Ge0rG

    Why should that be a good idea, again?

  36. MattJ

    Requesting the one the server assigns you will just get you a new different random one?

  37. MattJ

    s/?$//

  38. MattJ

    so why would you bother? Just request the one you want

  39. jonasw

    MattJ, yeah, in that case, it doesn’t matter whether I try my configured resource all over again

  40. jonasw

    but if a server allows me to stay consistent, I can have that

  41. jonasw

    hm

  42. jonasw

    I kinda see your point

  43. Ge0rG

    I don't.

  44. MattJ

    If the server overrides your resource once, it will again :)

  45. jonasw

    why go through the hassle of updating the stored resource when it won’t work anyways

  46. Ge0rG

    It *could* work if the server had a list of well-known resources for that account, and checked that for matches.

  47. Ge0rG

    It needs that list anyway to kill your stale session on a reconnect.

  48. Ge0rG

    You know, like above: Replaced by new connection (conflict)

  49. MattJ

    It makes no sense to me that a client would store the resource beyond the lifetime of a single session

  50. jonasw

    MattJ, yeah, nevermind on that one

  51. MattJ

    Ge0rG, that old thing :)

  52. jonasw

    re-rolling a new resource on <conflict/> makes sense though

  53. Ge0rG

    except that <conflict/> doesn't make sense.

  54. jonasw

    why not?

  55. jonasw

    Ge0rG, if somebody copied their JabberCat config to a new machine and they connect it while the other machine is connected too, I get a <conflict/>

  56. jonasw

    I need to handel that and re-roll the resource

  57. Ge0rG

    jonasw: wait, your *old* session gets a conflict?

  58. jonasw

    yes

  59. Ge0rG

    Aaah!

  60. jonasw

    (it doesn’t matter though)

  61. Ge0rG got enlightened now.

  62. jonasw

    (even if the new session gets a conflict)

  63. Ge0rG

    jonasw: it does make a difference.

  64. jonasw

    (A server could for example decide to let the new session conflict if it received a ping-pong just now)

  65. Ge0rG

    jonasw: if your *new* session gets a conflict, it might be because the server still hangs on your old session.

  66. Ge0rG

    but it's dead for all practical matters.

  67. jonasw

    sure, but what am I supposed to do?

  68. jonasw

    not connect until that session dies?

  69. Ge0rG

    call the server hotline

  70. jonasw

    or roll a new resource and be able to connect?

  71. Ge0rG

    Hmm.... hide the error or show the error.

  72. jonasw

    tricky question indeed

  73. Ge0rG

    Somebody should re-do https://wiki.xmpp.org/web/XMPP_IM_Client_Design_Guidelines#Do_not_to_encode_any_semantics_into_the_resource.2C_let_the_server_generate_a_resource_for_you

  74. goffi

    Ge0rG: I think I've actually followed this page, and today people have a different song

  75. Ge0rG

    goffi: I have hated that section, with a passion, for a long time.

  76. Ge0rG

    But I'm not here for wiki editing wars, so I always hoped the original author would become convinced and change it.

  77. jonasw

    Ge0rG, modify it!

  78. goffi

    that's why a XEP (or better a new version of the RFC) should be clear on the subject.

  79. jonasw

    who is the origina lauthor

  80. Ge0rG

    I thought it was MattJ, but it looks like not.

  81. goffi

    with a XEP there is a debate on standard, and council will arbitrate if there is any conflict.

  82. Ge0rG

    goffi: there was a debate on standards, and we went home with multiple strong opinions.

  83. jonasw

    *.xmpp *.split

  84. goffi

    so can somebody write some official proposal? As a client dev I don't really care which way is chosen to generate resource, but I would like to have a clear way and if possible some rationale to explain why.

  85. Ge0rG

    I think jonasw volunteers for that 😁

  86. Ge0rG

    goffi: the XSF traditionally isn't very strong at putting the rationale for protocols into its protocol specifications, and this one is 95% rationale.

  87. jonasw

    Ge0rG, EBUSY

  88. goffi

    well the important is not the tradition here, the important is to simplify life for everybody. And I don't think it worth spending time and energy to know how to generate resource

  89. Ge0rG

    goffi: the point is: this is not protocol, this is best-practices.

  90. goffi

    there are several XEPS for best practice already

  91. Ge0rG

    so it might be a good informational XEP indeed.

  92. goffi

    yep

  93. Ge0rG

    but then, as there is no consensus, and there are conflicting opinions, it's hard.

  94. goffi

    **on beatles music** All we need is specs, tadalala

  95. goffi

    Ge0rG: the council is here to arbitrate once all opinions have been exposed.

  96. Ge0rG

    goffi: what if the conflict is among council members?

  97. goffi

    well let's solve problem when they come?

  98. Ge0rG

    https://wiki.xmpp.org/web/XEP-Remarks/XEP-0045:_Multi-User_Chat#Matching_Your_Reflected_Message would also make a great informational XEP

  99. Ge0rG

    And https://wiki.xmpp.org/web/XEP-Remarks/XEP-0045:_Multi-User_Chat#Am_I_still_there.3F as well

  100. Ge0rG

    Also somebody should walk the wiki for all ML references made before 2016 and update the links

  101. flow

    It may already help if a wiki page would list all competing proposals regarding resource handling. we may find out that there is in fact a way to reach consensus. (I thought we have consensus FWIW)

  102. Ge0rG

    there is bind2.

  103. Ge0rG

    And there is Zuul.

  104. flow

    Zuul?

  105. Ge0rG

    There is no Dana, only Zuul!

  106. Wiktor

    hehe, and the hidden Mozilla egg: http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul

  107. fippo

    https://twitter.com/w3cdevs/status/1006544269149077504 -- might be relevant for some european folks here

  108. Ge0rG

    Yes, let's get some money to create more APIs to track web victims.

  109. fippo

    heh :-)

  110. labdsf

    Ge0rG, I have found your slides btw: https://wiki.xmpp.org/web/Georg%27s_Talk_on_Message_routing

  111. Ge0rG

    labdsf: yay! Feel free to give feedback

  112. Ge0rG

    Or to feel embarrassed about it

  113. labdsf

    via https://dev.gajim.org/gajim/gajim/issues/8971

  114. Ge0rG

    Am I supposed to defend my position in there?

  115. Ge0rG

    6121 also doesn't know about carbons, MAM, and four hundred other protocol extensions

  116. labdsf

    Persistent resources in Gajim seem to be already fixed, just need to wait for it to hit the repos, closed the bug: https://dev.gajim.org/gajim/gajim/issues/9193

  117. labdsf

    cloned the master, started testing and found that it wrote the random part into config

  118. flow

    yeah gajim is improving a lot recently

  119. Seve/SouL

    Link Mauve: https://wiki.xmpp.org/web/Membership_Applications_Q3_2018

  120. Link Mauve

    Ok, let’s do that now.

  121. Link Mauve

    https://wiki.xmpp.org/web/Membership_Applications_Q3_2018#Applicants

  122. Seve/SouL

    Link Mauve: great :)

  123. pep.

    wooh

  124. pep.

    Q3 already..

  125. pep.

    Time flies

  126. Seve/SouL

    Yes :(

  127. Seve/SouL

    I will have to find my application

  128. Seve/SouL

    Or do a new one, wonder what...

  129. Seve/SouL

    But yeah, a year already!

  130. edhelas

    damn me too