Also related to Jingle: XEP-0320 is based on XEP-0176 and thus clients implementing XEP-0320 tend to announce support for XEP-0176 via disco. However, WebRTC clients can't create a transport using XEP-0176 without XEP-0320. A client only implementing XEP-0176 will consider WebRTC clients compatible because that's what they announce, but they won't be able to create a connection.
eevvoorhas joined
Shellhas left
Shellhas joined
larma
Should we change things such that XEP-0320 support does not imply full support of XEP-0176 and thus clients only implementing WebRTC should only announce `urn:xmpp:jingle:apps:dtls:0` but not `urn:xmpp:jingle:transports:ice-udp:1`? Or any better idea?
lorddavidiiihas joined
Shellhas left
Shellhas joined
chronosx88has left
chronosx88has joined
Shellhas left
Shellhas joined
Shellhas left
Shellhas joined
Steve Killehas joined
peetahhas left
peetahhas joined
Shellhas left
Shellhas joined
emushas left
Shellhas left
Shellhas joined
emushas joined
Shellhas left
Shellhas joined
Shellhas left
Shellhas joined
Shellhas left
eevvoorhas left
eevvoorhas joined
lorddavidiiihas left
lorddavidiiihas joined
chronosx88has left
chronosx88has joined
wladmishas joined
adiaholichas left
adiaholichas joined
LNJhas joined
Dele Olajidehas joined
Dele Olajidehas left
lorddavidiiihas left
Dele Olajidehas joined
wevifahas left
Andrzejhas joined
goffihas left
lorddavidiiihas joined
goffihas joined
alameyohas left
Andrzejhas left
adiaholichas left
adiaholichas joined
wevifahas joined
chronosx88has left
chronosx88has joined
Shellhas joined
Steve Killehas left
chronosx88has left
chronosx88has joined
wevifahas left
wevifahas joined
lorddavidiiihas left
Andrzejhas joined
Dele Olajidehas left
Dele Olajidehas joined
lorddavidiiihas joined
Steve Killehas joined
Link Mauve
larma, a better idea might be to make WebRTC-only clients advertise only XEP-0371 and keep 0176 for legacy unencrypted clients, but every WebRTC client currently uses 0176 and migrating them all in an incompatible manner would take years too probably.
Link Mauve
You had the same issue with ZRTP encryption too.
larma
Link Mauve, I bet there was no client only supporting ZRTP encrypted Jingle
Link Mauve
Can WebRTC even use TCP ICE btw?
Link Mauve
larma, Jitsi IIRC does.
larma
Yes, but Jitsi can perfectly handle when the other client does not
larma
also even xep-0371 has the same issue as XEP-0176 in that it only is the ICE layer, not the DTLS on top
Link Mauve
That’s possible, I haven’t tested it.
larma
So when the client announce 371, how do I know it means "I use WebRTC"
larma
technicaly speaking WebRTC-only clients only implement a subset of 176/371 when requiring dtls to be used
Link Mauve
You don’t, you have to check for DTLS-SRTP support too, and RTP, and the various (mandatory?) extensions.
Link Mauve
The solution might be to fix all still-maintained clients with no support for DTLS-SRTP to stop advertising calls there.
Link Mauve
But at this point, it might even be easier to add support for DTLS-SRTP.
Andrzejhas left
larma
DTLS-SRTP is not always an option
larma
Jingle can be used with SIP gateways, which might end at hardware SIP devices which tend to not support DTLS-SRTP (some do ZRTP though)
Link Mauve
Right.
chronosx88has left
chronosx88has joined
larma
Point is: it is a totally valid decision for a client to support unencrypted ICE but not ICE+DTLS-SRTP. There is however no way to discover if the other end *requires* DTLS-SRTP. ICE+DTLS-SRTP clients announce what was unencrypted ICE before without actually supporting it.✎
larma
Point is: it is a totally valid decision for a client to support unencrypted ICE but not ICE+DTLS-SRTP. There is however no way to discover if the other end *requires* DTLS-SRTP. WebRTC-only clients announce what was unencrypted ICE before without actually supporting it. ✏
Link Mauve
Maybe adding a “negative” feature, to say “I don’t support DTLS-SRTP”?
Link Mauve
Err, “I require it”?
Link Mauve
(It’s still morning.)
Andrzejhas joined
larma
And how should a client that only implements ICE know to check that this feature does not exist? That's weird
larma
Maybe ICE+DTLS-SRTP should just be a different transport than ICE
intosihas left
chronosx88has left
chronosx88has joined
chronosx88has left
chronosx88has joined
Shellhas left
Shellhas joined
larma
it's already weird enough that DTLS-SRTP is something inside the ICE-UDP transport when it could have been a security precondition.
Dele Olajidehas left
Link Mauve
+1
Dele Olajidehas joined
Link Mauve
I think I once reported that to Philipp, but I don’t remember his answer.
alameyohas joined
Shellhas left
Shellhas joined
Calvinhas joined
intosihas joined
intosihas left
lovetoxhas joined
Adihas left
Adihas joined
Shellhas left
adiaholichas left
adiaholichas joined
intosihas joined
vanitasvitaehas left
vanitasvitaehas joined
Andrzejhas left
lovetoxhas left
Shellhas joined
andrey.ghas joined
lovetoxhas joined
neshtaxmpphas left
vanitasvitaehas left
vanitasvitaehas joined
Andrzejhas joined
Shellhas left
Shellhas joined
andyhas joined
alameyohas left
Andrzejhas left
alameyohas joined
Shellhas left
Shellhas joined
Andrzejhas joined
lorddavidiiihas left
Calvinhas left
lorddavidiiihas joined
inkyhas joined
Shellhas left
florettahas joined
Andrzejhas left
alameyohas left
edhelashas left
edhelashas joined
lorddavidiiihas left
Shellhas joined
Shellhas left
Shellhas joined
stpeterhas joined
stpeterhas left
vanitasvitaehas left
vanitasvitaehas joined
Andrzejhas joined
neshtaxmpphas joined
lovetoxhas left
adiaholichas left
adiaholichas joined
antranigvhas left
Yagizahas left
Yagizahas joined
alameyohas joined
Andrzejhas left
vanitasvitaehas left
Andrzejhas joined
xeckshas left
adiaholichas left
adiaholichas joined
vanitasvitaehas joined
xeckshas joined
vanitasvitaehas left
vanitasvitaehas joined
larma
IIRC he argued that DTLS is more like part of the transport layer, which isn't that wrong considering that we now have the problem that some clients implement only the transport layer that includes DTLS. However if it is part of the transport layer, it shouldn't reuse the ICE-UDP and instead make a ice-dtls transport layer - or just make one that is called webrtc-datagram which is way easier to understand for the average dude than "use ICE-UDP with DTLS-SRTP"
larma
Also we now have XEP-0343 which is broken because it provides a streaming transport but uses the ICE-UDP transport element which according to its registrar entry is a datagram transport.
Steve Killehas left
Steve Killehas joined
Zash
Deferred and inactive since a bit after the time of its initial publication.
Link Mauve
Speaking of WebRTC, I didn’t quite understand what msid is, and whether it’s useful outside of the web platform. I noticed Conversations gets it completely wrong, but I’m not sure how to do it properly.
Zash
larma, wanna reach out to the author and see if they are still interested?
larma
Zash: which author?
Zash
larma: of 343
stpeterhas joined
stpeterhas left
emushas left
emushas joined
larma
Does it help to contact them pointing out a problem without there being a solution in place?
Zash
I'm not sure I follow what the problem is. Sounds to me like the XEP might need some attention from an author, as it seems to have been inactive with only minor editorial work for years.
Shellhas left
Shellhas joined
APachhas left
inkyhas left
inkyhas joined
Wojtekhas joined
lovetoxhas joined
larma
The problem of 343 is similar to the one of 320 though: both were like "OK, webrtc is something in dtls in ice-udp, so let's reuse XEP 176 which provides us with ice-udp and then add dtls", 343 just continues the story " and then add sctp". IMO these two should get their own transports in jingle layer: "webrtc-srtp" (datagram), "webrtc-datachannel" (streaming) - and not reuse "ice-udp" (datagram). It's just more visible that something is wrong with 343 because it's a different transport type
larma
However, 320 was moved to draft recently, so it's probably impossible to fix that.
stpeterhas joined
stpeterhas left
lorddavidiiihas joined
NosoyHacker404has joined
APachhas joined
Lancehas joined
Lancehas left
adiaholichas left
adiaholichas joined
lovetoxhas left
krauqhas left
krauqhas joined
marc0shas left
marc0shas joined
Shellhas left
Shellhas joined
Lancehas joined
matkorhas left
krauqhas left
krauqhas joined
j.rhas left
j.rhas joined
Alex
Memberbot is online for the Q4-2020 membership applications
Andrzejhas left
Zash
👍️
inkyhas left
inkyhas joined
intosihas left
adiaholichas left
adiaholichas joined
Shellhas left
wevifahas left
Kevhas left
Kevhas joined
Kevhas left
Kevhas joined
antranigvhas joined
NosoyHacker404has left
NosoyHacker404has joined
Andrzejhas joined
wevifahas joined
amuza@riseup.nethas left
lovetoxhas joined
lovetoxhas left
matkorhas joined
Andrzejhas left
amuza@riseup.nethas joined
chronosx88has left
chronosx88has joined
jcbrandhas left
Dele Olajidehas left
andrey.ghas left
pasdesushihas joined
vanitasvitaehas left
Neustradamushas left
Neustradamushas joined
Shellhas joined
vanitasvitaehas joined
pasdesushihas left
vanitasvitaehas left
vanitasvitaehas joined
Shellhas left
edhelashas left
vanitasvitaehas left
vanitasvitaehas joined
Kevhas left
NosoyHacker404has left
Shellhas joined
pasdesushihas joined
mathieui
whoops I forgot to look at pending PRs before submitting my MIX patches, but it looks like there’s no overlap at least