XSF Discussion - 2018-02-16


  1. SamWhited

    sort of, it's polling based by default, IIRC so even with only two servers in a 1:1 it's not very efficient.

  2. SamWhited

    not that it really matters in that case for most people

  3. Holger

    Yeah I think everyone runs it 24/7 so there's too little incentive to implement MAM.

  4. Holger

    (Er, the message I was responding to was old.)

  5. Zash

    Threads plz

  6. Zash

    Or an in-reply-to thing

  7. Seve

    Or real quotes and not just quotes :)

  8. Ge0rG

    Seve: did you talk to KDE yet? 😉

  9. Seve

    Not yet, sorry. I've got a lot of work and haven't been able to put my hands on it :(

  10. edhelas

    I'll have to work on a new XEP to store the user pubsub subscriptions in a PEP node

  11. edhelas

    basically this XEP will be the same as https://xmpp.org/extensions/xep-0333.html

  12. edhelas

    https://xmpp.org/extensions/xep-0330.html sorry

  13. edhelas

    except that the node will be configured in "whitelist"

  14. jonasw

    who would manage that list?

  15. jonasw

    the client?

  16. edhelas

    the clients

  17. jonasw

    hmm

  18. jonasw

    wouldn’t it be better to have the server manage its

  19. jonasw

    wouldn’t it be better to have the server manage it?

  20. edhelas

    each time you subscribe to a pubsub node you add your subscription in that list, the same way 0330 is doing

  21. edhelas

    jonasw I've mentionned that years ago, this need deep refactoring of how pubsub is handled in XMPP

  22. Ge0rG

    shouldn't the server automatically do the plumbing whenever you change that list, then?

  23. jonasw

    edhelas, does it?

  24. Ge0rG

    XMPP 2.0!

  25. jonasw

    the server can sniff the traffic just like it does for MIX

  26. edhelas

    so for now I'm going for this solution, I'm doing that in Movim for a while already

  27. Kev

    This is what Dave's PAM is for.

  28. jonasw

    alternatively, turn it the other way like Ge0rG suggests (modifications to the PEP node you’re proposing cause subscribes/unsubscribes)

  29. jonasw

    Kev, #?

  30. edhelas

    jonasw why not

  31. Kev

    376

  32. Ge0rG

    edhelas: that would conveniently solve multi-client too

  33. edhelas

    Ge0rG how do you think this will fit with https://xmpp.org/extensions/xep-0330.html ?

  34. jonasw

    oh yes, XEP-0376 looks good

  35. Ge0rG

    edhelas: I think it would be good to have a private list for subscription maintenance and a public list which is a subset of that

  36. Flow

    I always wonder if PAM couldn't be designed transparent using standard xep60 <subscription/>

  37. jonasw

    Flow, yeah, like mix does it

  38. Flow

    jonasw, isn't/wasn't MIX supposed to be using PAM for that?

  39. jonasw

    I don’t think it does

  40. Flow

    IIRC PAM was a result of Dave's and Kev's persistent groupchat discussion

  41. Kev

    jonasw: It uses something very like PAM.

  42. Kev

    Flow: PAM was a Dave thing that I just jumped on because it makes sense for MIX, IIRC.

  43. Flow

    so if it makes sense, then why isn't MIX using it?

  44. Kev

    MIX is using the same model, waiting to see if it makes sense to merge into PAM, or keep out.

  45. Kev

    " In future, the specifications in this section MAY be moved to a separate XEP or it MAY be incorporated into Pubsub Account Management (XEP-0376) [18] (PAM) which follows a similar model. "

  46. Steve Kille

    When I did the MIX editing, there was nothing I could usefully reference, so MIX includes what it needs.

  47. Guus

    daniel, regarding your HTTP Upload 0.5 change: As various network components between the HTTP client and server might inject headers of their own, it feels wrong to me to impose a MUST on what headers clients are allowed to add. It implies that this defines the set of headers that the server receives. I suggest dropping the client requirement (as it's not really enforceable), and instead stress on a need for the server to ignore headers other than the allowed set.

  48. jonasw

    Guus, did you follow the can-of-worms discussion this was in the last few days :)

  49. jonasw

    the argument is that the server could exploit the client to send a request to a third party, for example your home router

  50. jonasw

    (essentially use the client as an HTTP proxy into the clients LAN)

  51. Kev

    Sounds useful.

  52. jonasw

    to reduce the impact of that, the selection of headers was restricted; even though it’s not entirely clear to me how that helps in that scenario, really.

  53. Flow

    what jonasw said

  54. jonasw

    but Ge0rG kinda insisted on it

  55. Guus

    jonasw, I didn't follow that discussion, no.

  56. Zash

    Ough

  57. Guus

    I'm also not understanding the argument.

  58. Zash

    Bottomless can-of-worms?

  59. jonasw

    Guus, essentially, it’s something along the lines of the Same Origin Policy enforced by browsers and the Cross-Origin Request Sharing policies

  60. Zash

    jonasw: Double infinite bottomless can-of-worms?

  61. Ge0rG

    We can't fix web security, we can only restrict how much we are affected by it

  62. daniel

    Guus: I don't not fully understand the argument either. But I'm not bothered by it and it won't go through council w/o that change

  63. Guus

    I'm not seeing how the client being prohibited to send certain headers prevents the server from sending anything it wants, abusive or not.

  64. daniel

    And I didn't even put headers into my original http upload

  65. Ge0rG

    Guus: with arbitrary headers you will make the xmpp client a reverse proxy for malicious xmpp servers.

  66. daniel

    Or let me rephrase that. I understand the problem (broken http interfaces in your local network). I'm not sure that limiting the headers does anything to fix your china router

  67. Guus

    can you spell out that attack vector for me Ge0rG?

  68. Guus

    (or point me to an archive?)

  69. Ge0rG

    Guus: have a look at http://blog.portswigger.net/2017/07/cracking-lens-targeting-https-hidden.html#host please

  70. Holger

    Ge0rG: Isn't large parts of that article about playing with the request URI and the Host header? Which we place no restrictions on at all in XEP-0363?

  71. Guus

    How does the client not sending certain headers outwards prevent the server from crafting malicious requests inwards?

  72. Holger

    Guus: The reasoning is preventing your XMPP server from crafting malicious HTTP PUT requests performed by your client.

  73. Flow

    Guus, hmm? It does not. But it's about the client performing requests

  74. Flow

    And those requests are handled by your (broken) home router

  75. Guus

    right, now I get it.

  76. Guus

    Thanks. I retract my earlier request to change the text :)

  77. Guus

    (it was initially unclear to me that the text restricts only the headers-to-be-copied-from-the-server-instructions)

  78. Holger

    I get the idea too, I just still don't agree with imposing an arbitrary restriction due to a diffuse feeling this might reduce the impact on an attack performed by your trusted XMPP service we have not yet understood. But meh.

  79. Guus

    <lunch>

  80. edhelas

    I'd like to know if it's possible to "rename" a pubsub node

  81. edhelas

    would be really useful, especially when you have namespaces bump

  82. Holger

    edhelas: Won't the namespace usually only be bumped if the node contents change in some way?

  83. edhelas

    well sometime you have clients that are developping features with their own namespace

  84. edhelas

    then it get standardized

  85. edhelas

    like for OMEMO and Conversations

  86. jonasw

    precisely the reason why the X-* antipattern was deprecated in the IETF

  87. daniel

    Just wait for Ge0rG to find out that you can use jingle to port scan your contacts network 😂

  88. daniel

    Or have your contact scan other networks

  89. daniel

    But we'll just grab the low hanging fruit before we get to the fancy stuff

  90. Ge0rG

    daniel: don't make me change my mind on Jingle Ft!

  91. daniel

    Idk. I vetoed it anyway

  92. daniel

    Not for that particular reason though

  93. Ge0rG

    daniel: ah, right. outstanding feedback

  94. daniel

    but now i want to write a jingle portscanner. you could even distribute this among your contacts

  95. Holger

    Hehe I was thinking about Jingle exploits as well.

  96. jonasw

    daniel, build a webrtc portscanner. that should be much more impactful :)

  97. Holger

    Or SI/SOCKS5.

  98. Ge0rG

    https://medium.com/hownetworks/how-did-i-turn-my-browser-into-a-port-scanner-tricksy-but-doable-c37db85f9adc

  99. jonasw

    well, SOCKS5 is a proxy protocol. it is meant to be a proxy and open connections, people will probably have put the appropriate security measures on it to prevent abuse

  100. Ge0rG

    Also https://github.com/beefproject/beef/wiki/Module:-Port-Scanner

  101. Ge0rG

    jonasw: probably.

  102. Holger

    jonasw: Wenn but I meant abusing the SOCKS5 client as a proxy in the Ge0rG sense.

  103. jonasw

    oh;

  104. jonasw

    how does one trick a socks5 client into doing that?

  105. Holger

    jonasw: The server could send the client SI/Jingle initiation requests?

  106. jonasw

    I’m probably not familiar how things work here

  107. Holger

    The nice thing is that the server could do so actively, rather than waiting for the client to request upload slots.

  108. daniel

    Holger, clients might not (auto) accept that though

  109. Holger

    Yes it will probably fail because they only support a different Jingle revision anyway.

  110. daniel

    :-)

  111. intosi

    Hiding/obfuscation of your nickname on your (re)application is an unhelpful thing.

  112. Guus

    yet, not new.

  113. intosi

    Not new, but that doesn't mean we shouldn't mention it when it happens, nor that we should consider whether we'd even want that.

  114. Guus

    Wasn't it Steve Jobs who didn't want his car to be identifiiable, and utilizing a legislation loophole where he could drive with a car without a number plate - thus making the car immediately stand out as his, as he was the only one doing that?

  115. intosi

    I'm not intimately familiar with the car collections of tech CEOs.

  116. Guus

    I always considered N********** to be a playful act.

  117. Guus

    https://thenextweb.com/apple/2011/10/27/mystery-solved-why-steve-jobs-car-never-had-a-license-plate/

  118. intosi

    Amusing :)

  119. jonasw

    I don’t even know who that N****+ is

  120. Ge0rG

    or what?

  121. Guus

    Go down the occupants list of this room, and you'll figure it out :)

  122. jonasw

    Guus, unless I’m stupid, there’s none whose nickname length macthes

  123. mathieui

    there’s a letter missing I think

  124. mathieui

    two levels of obfuscation!

  125. Guus

    I didn't count, but rough comparison will do :)

  126. Dave Cridland

    French... N***... It's Nÿco, right?

  127. SaltyBones

    this is discussion is exhausting

  128. SaltyBones

    my brain autocompletes "N****" like "the N word" and this is all very inappropriate

  129. pep.

    Dave Cridland: there's another French N

  130. mathieui

    I like how nobody wants to invoke Neu stradamus

  131. Neustradamus

    :D

  132. Seve

    https://listarchives.libreoffice.org/global/projects/msg02257.html

  133. moparisthebest

    Wait Seve you are soul?

  134. Guus

    yes he is

  135. moparisthebest

    Ah ok was confused, I hate name changes :)

  136. moparisthebest

    That email has the best quote ever

  137. moparisthebest

    In Finland we have a saying for this sort of process: climbing a tree butt-first.

  138. MattJ

    I went to a Lua meet-up at FOSDEM, and at the end someone asked how the Lua community stayed in touch. "Maybe we should use Telegram?" - I broke down on the spot

  139. Seve

    moparisthebest, yeah, decided to change my name here. It felt weird to me to say 'I'm SouL' in person at FOSDEM hah

  140. Seve

    I discovered that email because I've been reading all KDE emails regarding their migration from IRC to something else

  141. Neustradamus

    Seve: ah ah

  142. moparisthebest

    Seve: try saying hi I'm moparisthebest

  143. moparisthebest

    I solve that by just never meeting people in real life lol

  144. mathieui

    I still haven’t come up with a way of saying my nick in english non-awkwardly

  145. moparisthebest

    Also once I had to say lighttpd out loud in person

  146. moparisthebest

    Rough if you hadn't considered it before

  147. moparisthebest

    MattJ: did you chew them a new one lol

  148. SamWhited is always tempted to change his name to abarthisthebest

  149. SamWhited

    or maybe: "acuraisthebestbutonlythensxandoldpreludes"

  150. moparisthebest had to Wikipedia abarth

  151. moparisthebest

    I only like American, no replacement for displacement

  152. Seve

    MattJ, did you tell them: 'Do you know who are you talking with!?' Sad to hear that, though.

  153. SamWhited

    It wasn't a great comparison… I was trying to think of other car companies that had something like mopar, but I think the others named divisions all actually make cars

  154. moparisthebest

    SamWhited: GM is the analogy I always use

  155. moparisthebest

    General Motors

  156. SamWhited

    Do they have a named division or something like that?

  157. SamWhited

    (what do you even call that?)

  158. moparisthebest

    Like GM is to Chevrolet, GMC, Buick, Pontiac, Cadillac as Mopar is to Chrysler, Dodge, Jeep, Plymouth

  159. SamWhited

    GM is just the parent company of those brands though, isn't it? Mopar just sells parts for Fiat and Chryslers and builds the occasional rally car

  160. SamWhited

    GM is to Chevrolet as Fiat is to Jeep or something like that

  161. moparisthebest

    Maybe technically but those cars are just collectivity called mopars

  162. SamWhited

    ah, okay

  163. moparisthebest

    And they share plants and engines and such

  164. moparisthebest

    The big yearly meet drag race and car show is called the Mopar Nationals etc

  165. SamWhited

    GM is to Chevrolet as Fiat is to Mopar then

  166. SamWhited

    This is an important classification to get correct in this chat room, obviously.

  167. moparisthebest

    Haha so abarth and Chrysler/jeep/Dodge are all seemed by Fiat now looks like

  168. SamWhited

    I think Fiat and Chrysler merged, and Chrysler owned Jeep and maybe Dodge? I can never keep it straight.

  169. moparisthebest

    Well again business wise maybe, but I'd just call them GM vehicles

  170. moparisthebest

    Well it changes yearly I think

  171. SamWhited

    Huh, apparently fiat owns Alfa Romeo too, I didn't realize that

  172. SamWhited

    And Lancia, weird. Wish they'd bring them back.

  173. SamWhited goes down the Wikipedia rabbit hole

  174. moparisthebest

    Let me know when it loops back around to XMPP, good luck

  175. SamWhited

    We were talking about this at work yesterday actually… wikipedia races where each person starts on a random topic and has to get to a different topic only by clicking links on the page. Shortest path wins.

  176. SamWhited

    Fiat to XMPP would be a good one

  177. moparisthebest

    That would be fun to program