Open Bug 1361337 Opened 8 years ago Updated 2 years ago

dns leaks with remotedns in firefox 45.9.0 over tor

Categories

(Core :: Networking: DNS, defect, P3)

45 Branch
defect

Tracking

()

People

(Reporter: marko.shiva.pavlovic, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [tor][necko-triaged])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Build ID: 20170419042421 Steps to reproduce: first tried with a clean profile of the Firefox and used remotedns with tor and privoxy on debian Linux. After that I saw connections trying to be established via an app called opensnitch installed self-destructing cookies and user agent spoffer to quicker toggle the settings for the safe browsing link prefetching and dns prefetching. disabled all that and the issue still appears. Firefox-esr wants to connect to my dns servers setup in the /etc/resolve.conf and do not respect remote resolution. however if I deny those connections it still do work perfectly fine with the remote dns resolving. The problem is that initially it tries to make a connection to local dns servers and only then to the remotedns servers which is not expected behavior. However the same issue do not exist in 53.0 beta edition. Actual results: attempt of dns leaks that shouldn't be possible with the network.proxy.socks_remote_dns set as true Expected results: no leaks should be expected as this is so called Extended Support Release so many people on different distributions including debian or kali linux do relay on that package to be their default web browser package. If the leaks still happen there is no point in using TOR with firefox-esr releases.
Component: Untriaged → Networking: DNS
Product: Firefox → Core
Jason, this is TOR related and I'm not sure who of the team is responsible for either TOR related stuff or DNS, can you please find someone?
Assignee: nobody → jduell.mcbugs
Whiteboard: [necko-active]
Does this issue exist in Firefox ESR 52? As I know, ESR 52 has a couple of enhancements for TOR.
Flags: needinfo?(marko.shiva.pavlovic)
cc Ethan who knows more about TOR related things for Firefox ESR 52.
According to bug 134105, the issue still happens in Firefox 46.0.1, and works well on below versions: - Firefox 47.0.1, 48.0.2 on Windows 10 x64 - Firefox 51.0a1 on OS X El Capitan
Arthur, you are working on Tor patches for 52 ESR. Could you help to investigate and verify this is not an issue in 52 ESR?
Flags: needinfo?(arthuredelstein)
Whiteboard: [necko-active] → [necko-active][tor]
We have a patch to prevent that kind of thing happening as we got bitten by this kind of issue in the past. So, this is not a problem for Tor Browser based on ESR52. Alas, this patch is still needed. See, e.g.: https://trac.torproject.org/projects/tor/ticket/21611.
(In reply to Georg Koppen from comment #6) > We have a patch to prevent that kind of thing happening as we got bitten by > this kind of issue in the past. So, this is not a problem for Tor Browser > based on ESR52. Alas, this patch is still needed. See, e.g.: > https://trac.torproject.org/projects/tor/ticket/21611. Georg, thanks for your response. For the record, the real Tor patch is in https://trac.torproject.org/projects/tor/ticket/5741. It is being tracked on the Tor Uplift Tracker list, so we will implement that patch in Firefox in the near future.
Flags: needinfo?(arthuredelstein)
Priority: -- → P1
Priority: P1 → P2
Whiteboard: [necko-active][tor] → [tor]
Whiteboard: [tor] → [tor][necko-triaged]
Tor's patch ( https://gitweb.torproject.org/tor-browser.git/commit/?h=tor-browser-45.8.0esr-6.5-2&id=177e78923b3252a7442160486ec48252a6adb77a ) disallowing loading domains defined in `network.proxy.no_proxies_on` when `network.proxy.socks_remote_dns` is true. Will you fix this?
e.g. allow using non-socks DNS (torbrowser allows only remote dns when remote_dns option is true) on whitelisted in `network.proxy.no_proxies_on` domains.
Flags: needinfo?(marko.shiva.pavlovic)
Assignee: jduell.mcbugs → xeonchen
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Blocks: 1470411
No longer blocks: 1470411

According to bug 1546924 comment 7, this bug will potentially be fix by the bug.

Depends on: ProxyBypass
Priority: P2 → P3
Depends on: 1546924
No longer depends on: ProxyBypass

Not actively working on this, unassign myself.

Assignee: xeonchen → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.