Open
Bug 264981
Opened 20 years ago
Updated 2 years ago
support HTTP proxy connect feature for proxying mail/news protocols
Categories
(MailNews Core :: Networking, enhancement)
MailNews Core
Networking
Tracking
(Not tracked)
NEW
People
(Reporter: dmosedale, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
I don't think this should be too hard to do.
Updated•20 years ago
|
Severity: normal → enhancement
*applause*
(In my first week at Oracle, I, too, thought about doing that. Curious
coincidence!)
Reporter | ||
Comment 2•20 years ago
|
||
The beginning of bug 180480 describes a possible workaround for this.
Blocks: 180490
Summary: support HTTP proxy connect feature for proxying mail protocols → support HTTP proxy connect feature for proxying mail/news protocols
Reporter | ||
Comment 3•20 years ago
|
||
So after some discussion with Darin, which I've attached to this bug with his
permission, it looks like this might not be too hard, but not quite as
straightforwards as I had initially guessed.
Comment 4•20 years ago
|
||
> darin what we don't have right now, is a way to pass logon credentials down to
the proxy layer
having such a way would also be useful for socks auth...
Comment 5•20 years ago
|
||
(In reply to comment #2)
> The beginning of bug 180480 describes a possible workaround for this.
it looks like this should be bug 180490 (like in the dependency)
Updated•20 years ago
|
Product: MailNews → Core
Reporter | ||
Comment 6•18 years ago
|
||
Assigning bugs that I'm not actively working on back to nobody; use
SearchForThis as a search term if you want to delete all related bugmail at
once.
Assignee: dmose → nobody
Updated•17 years ago
|
QA Contact: grylchan → mailnews.networking
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Comment 13•14 years ago
|
||
What can a user do if developers don't show any intrest in fixing 6 years old bug? Vote with his feet, change the software and spread the FUD?
In the meantime, there's a workaround. Create >SOCKS ----> >HTTP proxy.
You can accomplish this with DeleGate, command:
"delegated -P<SocksPort> SERVER=socks ROUTE=<HttpProxyIp>:<HttpProxyPort>"
----------------------------------
I believe this comment is entirely justified given the age of the bug and the amount of duplicate bug reports.
Comment 14•14 years ago
|
||
Is anyone planning to work on this? If I have a proxy.pac with something like this:
function FindProxyForURL(url, host) {
//alert("url=" + url + " host=" + host);
if (url.substring(0, 5) == "imap:"||url.substring(0, 7) == "mailto:") {
if (shExpMatch(host, "*.example.com"))
return "DIRECT";
//alert("SOCKS localhost:1080 url=" + url + " host=" + host);
//return "SOCKS localhost:1080";
alert("PROXY proxy.example.com:80 url=" + url + " host=" + host);
return "PROXY proxy.example.com:80";
}
// other non-mail stuff here
}
The SOCKS return works fine if enabled, but the PROXY return is ignored and thunderbird tries a direct connect to the target host:port anyway.
Is anyone working on this issue? Is there any good reason why PROXY is ignored for some protocols even if it's returned by the pac file?
Comment 15•14 years ago
|
||
"Notabugitsafeature" or something like that. Thunderbird will actually proxy stuff like images loaded from the email, just not the actual mail connections. At least as of 5 or so years ago, I tried to add this (simple) functionality, but got stuck just trying to get Thunderbird to build, and gave up.
Comment 20•9 years ago
|
||
Supporting HTTP CONNECT for the mailnews protocols is actually relatively hard. SOCKS works by making a custom socket type, so everything happens silently internally within the socket transport service. But there is no such logic for HTTP connect. The FTP protocol does support the HTTP proxy, but figuring out that logic was beyond me after a few hours of investigation. Contrary to what some people might think, this is *not* a simple bug.
I'll point out that it's likely in the medium-term future that we'll be abandoning nsMsgProtocol for TCPSocket, such that making HTTP proxies work there (see bug 902346) will eventually fix this bug.
Comment 22•7 years ago
|
||
Could we use a custom socket type for HTTP CONNECT?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•