[Regression] Socks proxy connections not establishing when contacting private IP addresses
Categories
(Core :: Networking, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox161 | --- | disabled |
| firefox162 | --- | disabled |
| firefox163 | --- | affected |
People
(Reporter: geoffroy.dev, Unassigned, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:163.0) Gecko/20100101 Firefox/163.0
Steps to reproduce
- Establish a SSH connection to a remote system, with dynamic port forwarding:
ssh <user>@<remote_host> -D 32123. The remote network must satifsfy the following prerequisites:- You must have a machine on which you have a web server running that can be reached from its internal IPv4 address.
- On your SSH remote access gateway, port forwarding must be enabled.
- On your remote network, the network appliances must allow the SSH remote access gateway to initiate connections on web servers inside and outside your network
- Run a wireshark trace on loopback interface, set up traffic filter for socks. In your "Decode As" option, set TCP port 32123 as "Socks".
- Create a dedicated profile named
proxy, then launch it alongside your daily profile. - On the
proxyprofile, openabout:settings#connectionSecurity, then click on Configure Proxy, under Proxy Settings.- Check Radio button Manual proxy configuration
- In Socks Host, input
127.0.0.1, and in the corresponding Port, input32123. - Check Radio Button SOCKS v5
- Ensure field No proxy for is empty
- Check Proxy DNS when using SOCKS v5
- Click OK
- In the proxy profile, visit
about:settings#dnsOverHttps, and check the radio buttonOff. - In the proxy profile, visit a well-known internal webpage, be it HTTP or HTTPS using its IPv4 address.
- In the proxy profile, visit a well-known public webpage (eg https://mozilla.org ).
Actual results
On 163.0a1 (2026-11-27) (64-bit), connection to the internal server is never forwarded to the SOCKS proxy. Connection to the public webpage is forwarded to the SOCKS proxy, and succeeds.
On Firefox 153.8.0esr (64-bit), which is the other browser version installed on my machine, both connections are forwarded to the SOCKS proxy and succeed.
Expected results
Both connections are forwarded to the SOCKS proxy and succeed.
Even though that may not be relevant, I forgot to mention I've verified the remote internal webserver under test was reachable before and after the test sequence by running by hand a wget query from the Remote Access Server.
Comment 2•1 day 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.
Comment 3•1 day ago
|
||
Can you disable network.http.happy_eyeballs_proxy_enabled in about:config and see if it still reproduces?
(In reply to Donal Meehan [:dmeehan] from comment #3)
Can you disable
network.http.happy_eyeballs_proxy_enabledin about:config and see if it still reproduces?
Disabling network.http.happy_eyeballs_proxy_enabled solved it, thanks!
Updated•1 day ago
|
Comment 5•1 day ago
|
||
:kershaw, since you are the author of the regressor, bug 2053088, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Description
•