Ability to resolve DNS names through different SOCKS servers

RESOLVED WONTFIX

Status

()

Core
Networking
RESOLVED WONTFIX
9 years ago
8 years ago

People

(Reporter: ericjung, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
network.proxy.socks_remote_dns allows for the ability toresolve DNS names through a SOCKS server.

Rather than always resolving through the SOCKS server, please consider adding
an interface, similar to nsIProtocolProxyFilter, that would enable extensions
and other clients to dynamically determine whether to resolve a given domain
through a proxy or not, and through which proxy.

The interface's signature could be, for example:

nsIProxyInfo applyFilter(in nsIURI aURI, in nsIProxyInfo aProxy)

with a corresponding interface for registering/unregistering filters (like
nsIProtocolProxyService.registerFilter() and
nsIProtocolProxyService.unregisterFilter()).
(Reporter)

Comment 1

8 years ago
This is already handled by nsIProtocolProxyFilter.applyFilter. Just conditionally return a nsIProxyInfo instance with the 4th argument true/false.

Closing as RESOLVED - WONTFIX.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.