3 ms·
Interesting, maybe browsers should add a permission prompt like they do for web camera access before allowing a webrtc stun request?
by 0x0 12y ago
Interesting, maybe browsers should add a permission prompt like they do for web camera access before allowing a webrtc stun request?
- AdrianRossouw 12y agoi was under the impression it already does.
- mikeash 12y agoDoesn't look like it. The LAN scanner in another comment didn't put up any prompts for me. It might look like it does because WebRTC is normally used with audio or video, which does require a prompt, but you don't have to use it that way.
- Golgi_SDK 12y agoThere is a permission request to access the camera but this is triggered by a call to getUserMedia(). This would be done if setting up a peer connection to transmit voice and/or video. However, if you want to set up a WebRTC data channel no such prompt occurs.
- echeese 12y agoWhy would you want to disable STUN requests? Wouldn't they just return the public-facing IP that the server already knows about?
- 0x0 12y agoDid you even read the article and click the demo link? :) https://diafygi.github.io/webrtc-ips/ https://diafygi.github.io/webrtc-ips/