-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy dns when using socks5 not working in Firefox #2304
Comments
+1, same problem when using proxy enforced by SwitchyOmega. Firefox 102, macOS Monterey, ARM64. I could clearly remember that this feature, DNS Proxy upon SwitchyOmega, was working well – just not long before (at least Firefox 97?), but somehow now it is broken. It took me a long time to tweak over the config in order to fix it, but no matter how, it just behaves like it is not support. After some research, I suspect it might be some recent change inside Firefox itself accidentally break it. Here's why:
Thus, I believe it's a browser side issue, given that there is no further change statement on this thing. I tried searching on bugzilla, but there seems to be no similar feedback recently. Fortunately, I found this issue here in SwitchyOmega. I may file a bugzilla report afterwards to let there people see. |
Have you filed a bugzilla report @ynyyn ? Can you share any progress? The issue appears to persist. |
I apologize for not following through with my word to file a bugzilla report. 😢 I put it off over and over again due to my busy schedule, and eventually gave up, just hoping that someone else would do the feedback... 😣 Fortunately, it seems that other people have reported this issue on bugzilla: 1799411 - DNS leaks with proxy extension. That report is amazingly exhaustive and well-written. Salute. |
Okay... The discussion at bugzilla says this problem seems related to the famous extension FYI:
It is probably true. I do have installed uBlockOrigin, so I did a quick verification. It turns out that the DNS leak disappears when uBlockOrigin is disabled at |
Thank you for sharing the info you have. The tldr is that uBlock Origin is not aware of other addons such as SwitchyOmega and it cant instruct the browser to use a proxy for its request. Firefox itself is using SOCKS5 only for standard web traffic. Non-http(s) requests, such as DNS, are not proxied - which is by design! A flaw in Firefox, not the Addon. A current workaround appears to be disabling the unloaking of canoncial names in uBlock:
|
SwitchyOmega version / SwitchyOmega 版本
2.5.20
Browser version & OS version / 浏览器名称、版本及操作系统版本
Firefox 101.0.1 (64-bit)
macOS Monterey 12.4
Problem description / 问题描述
(Please provide as much detail as possible. We recommend the following format.)
(请尽可能多提供一些细节。我们推荐使用下面的格式。)
Steps to reproduce issue / 重现错误所需步骤
(What did you do? / 你做了什么?)
Expected behavior / 期望发生的情况
wirshark can't capture google.com dns traffic
Actual (or suggested) behavior / 实际发生的情况(或建议修改后的行为)
wirshark can capture google.com dns traffic
after disable switchyOmega, use firefox Manual proxy configuration, and set network.proxy.socks_remote_dns = true , wirshark can't capture google.com dns traffic
also tried to use curl to test in terminal
curl --socks5-hostname 127.0.0.1:8080 https://google.com
wirshark can't capture google.com dns traffic
and Chrome don't have this problem, looks like it's only happens in Firefox?
The text was updated successfully, but these errors were encountered: