pep.RFC6120, 7.6.1
> Once the server has generated an XMPP resourcepart for the client, it MUST return an IQ stanza of type "result" to the client, which MUST include a <jid/> child element that specifies the full JID for the connected resource as determined by the server.
From what I understand, we generally assume that the resource can be forcibly assigned by the server. Does this sentence also mean any other part of the JID can be rewritten? (localpart, domain)
thorstenhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
danielhas left
Dave Cridlandhas left
Dave Cridlandhas joined
Guushas left
Guushas joined
MbJ3has joined
danielhas joined
Guushas left
Guushas joined
Guushas left
Guushas joined
Guushas left
Guushas joined
mrdoctorwhohas left
thorstenhas left
thorstenhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
Guushas left
Guushas joined
moparisthebestNew messenger, LAN only, https://github.com/dakhnod/Meshenger
danielhas left
Guushas left
Chobbeshas joined
danielhas joined
thorstenhas left
doshas left
doshas joined
thorstenhas joined
Steve Killehas left
Steve Killehas joined
peterhas joined
doshas left
doshas joined
danielhas left
doshas left
doshas joined
Guushas joined
Yagizahas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
Guushas left
Guushas joined
doshas left
doshas joined
mrdoctorwhohas joined
doshas left
doshas joined
danielhas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
doshas left
doshas joined
jshas left
doshas left
Guushas left
thorstenhas left
thorstenhas joined
Guushas joined
apachhas left
danielhas left
Guushas left
Guushas joined
danielhas joined
danielhas left
Guushas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
thorstenhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
doshas joined
doshas left
doshas joined
doshas left
Guushas joined
danielhas joined
doshas joined
doshas left
doshas joined
apachhas left
danielhas left
danielhas joined
doshas left
doshas joined
Guushas left
Guushas joined
Guushas left
danielhas left
danielhas joined
moparisthebesthas left
moparisthebesthas joined
thorstenhas left
thorstenhas joined
mrdoctorwhohas joined
Guushas joined
apachhas left
labdsfhas left
Chobbeshas joined
peterhas left
thorstenhas left
thorstenhas joined
danielhas left
Dave Cridlandhas left
Dave Cridlandhas joined
danielhas joined
thorstenhas left
thorstenhas joined
danielhas left
danielhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
Dave Cridlandhas left
Dave Cridlandhas joined
lnjhas joined
thorstenhas left
thorstenhas joined
danielhas left
j.rhas joined
danielhas joined
j.rhas joined
Nekithas joined
danielhas left
j.rhas joined
j.rhas joined
thorstenhas left
thorstenhas joined
danielhas joined
danielhas left
danielhas joined
rionhas joined
Guushas left
j.rhas joined
Guushas joined
moparisthebesthas left
404.cityhas joined
moparisthebesthas joined
j.rhas joined
404.cityhas left
404.cityhas joined
SamWhitedhas left
andyhas joined
Valerianhas joined
404.cityhas left
lorddavidiiihas left
danielhas left
lskdjfhas joined
danielhas joined
lhas joined
Marandapep.: I *don't think so*. Host at least has to honour the stream to attribute.
jonaswpep., yes, it can
danielhas left
danielhas joined
jonaswpep., before binding, there’s not really a JID anyway
jonaswthere’s just the SASL identity, and that doesn’t have to match the JID
jonasweverything else (like stream @to) is just informational
j.rhas joined
jonaswpep., there was a prosody module which would integrate with some forum software, and it would create a JID which didn’t match the SASL identity (based on the forum username) if the SASL identity contained stuff which wasn’t allowde in the JID
MarandaI'd like to actually see a server that dishes out a different host in the jid than the one you opened a stream to c2s wise
Marandathinks he *won't*
lorddavidiiihas left
jonaswthe host will probably stay what the client expects it to be, indeed
jonaswnot that it really matters
jonasw(I also confused stream @to and @from)
jonasw(@to isn’t quite that informational given that it’s used for TLS already)
MarandaAaaand I need cooooffeeee ☕
ZashMaranda: The hosted GTalk thing would assign you a different host IIRC
MarandaZash: Huhu, I recall it opening s2s streams with no to or from and expecting those to be set from dialback. But that one sounds more hilarious
ZashOn c2s tho
MarandaYeah but me think clients would tell it where they're opening a stream to in that case 😆
waqashas left
Zashhas left
j.rhas joined
tuxhas left
tuxhas joined
j.rhas left
j.rhas joined
j.rhas left
j.rhas joined
Valerianhas left
mikaelahas joined
Zashhas left
danielhas left
danielhas joined
rionhas left
Zashhas left
danielhas left
danielhas joined
Alexhas joined
Valerianhas joined
danielhas left
danielhas joined
Steve Killehas left
Steve Killehas left
Steve Killehas joined
jubalhhas joined
jubalhhas left
mrdoctorwhohas joined
danielhas left
404.cityhas joined
danielhas joined
danielhas left
Valerianhas left
Valerianhas joined
jubalhhas joined
anjanhas joined
jubalhhas left
vanitasvitaehas left
vanitasvitaehas joined
danielhas joined
vanitasvitaehas left
goffihas joined
vanitasvitaehas joined
Valerianhas left
Valerianhas joined
anjanhas left
ThibGhas joined
ThibGhas joined
apachhas left
mrdoctorwhohas left
ralphmhas joined
danielhas left
la|r|mahas joined
la|r|mahas joined
la|r|mahas joined
danielhas joined
j.rhas joined
lskdjfhas left
anjanhas joined
andyhas left
danielhas left
andyhas joined
lnjhas left
SamWhitedhas left
lnjhas joined
SamWhitedhas joined
danielhas joined
lskdjfhas joined
lumihas joined
j.rhas joined
Valerianhas left
404.cityhas left
lskdjfhas joined
thorstenhas left
jubalhhas joined
valohas joined
cookiehas left
Dave Cridlandhas left
lskdjfhas left
lskdjfhas joined
thorstenhas joined
Alexhas left
lskdjfhas left
lskdjfhas joined
lskdjfhas left
valohas joined
lnjhas left
lskdjfhas joined
lnjhas joined
lskdjfhas left
cookiehas joined
lskdjfhas left
jubalhhas joined
Link MauveCould that mechanism be used for JID aliases?
Link MauveAs a neat upgrade mechanism when for instance a provider upgrades from example.com to example.org?
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
404.cityhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
winfriedhas left
winfriedhas left
winfriedhas left
winfriedhas left
winfriedhas left
thorstenhas left
winfriedhas left
winfriedhas left
thorstenhas joined
winfriedhas left
winfriedhas left
winfriedhas left
winfriedhas left
winfriedhas left
winfriedhas left
blablahas joined
blablahas joined
lnjhas left
lnjhas joined
jonaswhas left
jonaswhas joined
404.cityhas left
thorstenhas left
thorstenhas joined
winfriedhas joined
Valerianhas joined
MarandaWasn't there some 301 xmpp version proposal as opposed to that?
jonaswLink Mauve, the main issue with changing domains isn’t the local, but the remote side
MarandaOr rather make that "a xmpp version of status code 301"
Marandacoughs lingua matrix failure 😞
Link Mauvejonasw, sure, but when you did migrate your domain (I remember pep. having to do that), it makes it transparent for your users.
jonaswLink Mauve, how is it going to be transparent when all the remote roster entries are borked?
pep.Yeah, at least you don't have to have a flag day
Link MauveIn a company, where you are already using shared groups and mostly communicating locally, it does make sense.
jonaswright
jonaswLink Mauve, rewriting the bare JID could be a helper, but I think there’s a stream error for it
pep.You will indeed still need that flag day when actually switching the actual account
Marandathinks something like "Resource Moved Permanently" is far more trasparent and less clunky
MarandaThan tellin' someone his jid magically changed when he/she binds a resource...
jubalhhas joined
jubalhhas left
Alexhas joined
pep.What I meant above would have been the opposite really. "you can use your new _credentials_, but for now it'll still bind to the same old jid"
lnjhas left
lnjhas joined
MarandaI'm pretty sure at least 95% of the clients out there would start coughing blood if there's a change to either the node or the host portion of a jid they don't expect anyways
ralphmWhen I was working on XMPP (PubSub) based federation for social networking sites, we had full movability of objects. Something would move to a different site and we'd send a node deletion notification with <redirect/> element pointing to the new place.
pep.It's not like it was explicitely forbidden, nor really specified by the RFC either. Send an errata?
ralphmYou can do something similar with the "gone" stanza error. It also has a way to specify the new location by putting a URI in the element.
ralphmIf somebody retrieves his roster, the server will send out presence probes. If the remote server responds with "gone" it could rewrite the roster item.
jubalhhas joined
pep.also <moved/>
jubalhhas left
ralphmThere's no <moved/> stanza error
danielConversations will happily change the jid and use that for subsequent logins. Which in turn can be a problem some times. For example OpenFire will let you specify a jid like username@ip and on bind it gets changed to username@domain but domain won't resolve properly
pep.-xep moved
pep.bunneh!!
Marandaralphm: that's for far better than what mentioned by others ☺️
pep.https://xmpp.org/extensions/xep-0283.html
MarandaThat's for sure*
pep.But I don't like the bits in the security considerations, that defeats the point of the XEP
MarandaDamn auto correction
danielOr they are other weird and broken servers that use something like email@domain to login and then change the jid on bind to username@domain. And then subsequent logins don't work
pep.And I don't think it's much of an issue
thorstenhas joined
ralphmMaranda: thanks, there's a reason this stuff is there to begin with :-D
jubalhhas joined
ralphmpep.: ah yeah, I forgot about that one. I don't think (now) that this XEP is needed. What does it do better than "gone"?
Marandathinks he tried to desperately mention "301", "Moved Permanently" keywords for a few minutes to no avail also 😆🤸♂️
Maranda🤷♂️
Chobbeshas joined
pep.ralphm, with <gone/> you need to keep track of what's gone where. With moved it's a client thing, the account can be tombstoned or deleted