Closed Bug 1472036 Opened 7 years ago Closed 7 years ago

webRequest.onCompleted: "ip" should return true IP if .proxyInfo.proxyDNS is true

Categories

(WebExtensions :: Request Handling, defect)

61 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: u608644, Unassigned)

Details

1. Configure Firefox to use SOCKS5 proxy with "Proxy DNS when using SOCKS v5". 2. webRequest.onCompleted(...console.log(request);...) Expected behavior: The "ip" is proxy server's address. Actual behavior: If .proxyInfo.proxyDNS is "true", the "ip" field could return true IP address. (and the "ip" should lookup via the proxy, not locally)
Component: WebPayments UI → Request Handling
Product: Firefox → WebExtensions
Oops, the "Expected" and "Actual" is different
The ip is the ip the socket is connecting to (in this case the proxy server), not of the server ultimately connected to via proxy. If you also proxyDNS, there is no way we know the ip address of the web server.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.