After the browser sets the socks5 proxy, the webrtc function cannot be used
Categories
(Core :: Networking, defect, P2)
Tracking
()
People
(Reporter: linxin19812012, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Steps to reproduce:
-
Prepare a SOCKS5 proxy server
-
Open about:preferences in the browser and click "Network Settings"
-
Fill in "Manual proxy configuration", "SOCKS Host", "Port"
-
Select "Proxy DNS when using SOCKS v5"
-
Open a webrtc test page, for example https://ip.voidsec.com/
Actual results:
The "Web RTC:" item on the page, the relevant information is empty
Expected results:
The "Web RTC:" item on the page displays the address information of webrtc
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•1 year ago
|
||
I wonder if it's a limitation of wanting to use UDP for WebRTC, but not being capable of doing that over SOCKS5 possibly as a result of the lack of implementation.
It's definitely not a global setting problem breaking everything at least.
I use containers, and the ones with a proxy specified can't use WebRTC while the functionality remains working outside of those containers.
Comment 4•1 year ago
|
||
Yes, I think WebRTC proxying doesn't work when a proxy is in use.
The SOCKSIOLayer does not have a method for sendto and recvfrom, so presumably it can't proxy UDP traffic.
This limitation is also present in (Chrome's SOCKS implementation](https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/proxy.md#socksv5-proxy-scheme).
Description
•