Open Bug 241479 Opened 21 years ago Updated 1 years ago

SOCKS: support for "Replies"

Categories

(Core :: Networking: Proxy, defect, P5)

defect

Tracking

()

People

(Reporter: John.L.Villalovos, Unassigned)

References

()

Details

(Keywords: helpwanted, Whiteboard: [necko-would-take])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421 Trying to use the SOCKS proxy support with Mozilla 1.7RC1. It does not work. I have used the same SOCKS proxy with Filezilla and I was able to connect to a SFTP site using it. I setup the SOCKS proxy server settings in Mozilla. Shutdown Mozilla and all related apps. Started Mozilla and then tried to connect to: irc://irc.mozilla.org/chatzilla I receive the following errors. [INFO] Network view for “irc.mozilla.org” opened. [INFO] Connecting to irc.mozilla.org via irc.mozilla.org:6667, attempt 1 of 5... [ERROR] Connection to irc://irc.mozilla.org/ (irc://irc.mozilla.org/) closed with status 2147500037. [INFO] Connecting to irc.mozilla.org via irc.mozilla.org:6667, attempt 2 of 5... [ERROR] Connection to irc://irc.mozilla.org/ (irc://irc.mozilla.org/) closed with status 2147500037. [INFO] Connecting to irc.mozilla.org via irc.mozilla.org:6667, attempt 3 of 5... [ERROR] Connection to irc://irc.mozilla.org/ (irc://irc.mozilla.org/) closed with status 2147500037. [INFO] Connecting to irc.mozilla.org via irc.mozilla.org:6667, attempt 4 of 5... [ERROR] Connection to irc://irc.mozilla.org/ (irc://irc.mozilla.org/) closed with status 2147500037. [INFO] Connecting to irc.mozilla.org via irc.mozilla.org:6667, attempt 5 of 5... [ERROR] Connection to irc://irc.mozilla.org/ (irc://irc.mozilla.org/) closed with status 2147500037. [ERROR] Connection attempts exhausted, giving up. I checked with the folks on the Chatzilla mailing list and they think it has to do with the proxy code. Reproducible: Always Steps to Reproduce:
Discovered that our SOCKS proxy does NOT allow access to port 6667. So the fault is not entirely Mozilla's. It still would be nice if Mozilla gave a better error message then. status 2147500037 which I have been told means: NS_ERROR_FAILURE When doing a packet capture Ethereal said that it got back from the proxy server. Connection not allowed by ruleset (2).
Mozilla would need to parse the replies of it, see http://www.faqs.org/rfcs/rfc1928.html 6. Replies
-> NEW. I don't think anyone ever asked for this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: SOCKS proxy support appears broken → SOCKS: support for "Replies"
sigh, the SOCKS code knows very well that the server sent "connection nto allowed by ruleset"... in fact it knows all the other error codes as well. it just maps everything to NS_ERROR_FAILURE... http://lxr.mozilla.org/seamonkey/source/netwerk/socket/base/nsSOCKSIOLayer.cpp#310
Keywords: helpwanted
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Future
Assignee: darin → nobody
QA Contact: benc → networking
Target Milestone: Future → ---
Whiteboard: [necko-would-take]
Priority: -- → P5
Severity: normal → S3
Component: Networking → Networking: Proxy
You need to log in before you can comment on or make changes to this bug.