Bug 294420 - [Net] Support for CIDR notation in proxy bypass
Summary: [Net] Support for CIDR notation in proxy bypass
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-06 02:07 EST by Tristan Tarrant CLA
Modified: 2019-09-06 16:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Tarrant CLA 2009-11-06 02:07:53 EST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091028 Ubuntu/9.10 (Tristan) Firefox/3.5.0
Build Identifier: 20091002-0459

It would be nice to have support for CIDR notation when specifying the hosts for which the proxy should be bypassed.
I've read the code in the org.eclipse.core.net plugin and seen that it uses the standard Java system property "http.nonProxyHosts" which supports a simple wildcard scheme (e.g. 192.168.*) which would not allow a complete implementation but at least support for the /8 /16 and /24 networks. I can work on a patch

Reproducible: Always
Comment 1 Pawel Pogorzelski CLA 2009-11-06 06:50:02 EST
(In reply to comment #0)
> I've read the code in the org.eclipse.core.net plugin and seen that it uses the
> standard Java system property "http.nonProxyHosts" which supports a simple
> wildcard scheme (e.g. 192.168.*) which would not allow a complete
> implementation but at least support for the /8 /16 and /24 networks.

The core.net code sets "http.nonProxyHosts" property because in J2SE 1.4 it's the only way to instruct protocol handlers to proxy a connection. There isn't any API to change proxy settings when making a connection with a java.net.URL class.

However there are some clients that explicitly use IProxyService to ask for the settings and use it when establishing a connection with own HTTP client. ECF is this kind of client, it queries IProxyService for the settings and puts them in Apache HTTP client to make a connection.

Changing something in this area a requires ensuring none of the clients is hit by the change.

It's version 3.6, right? I'm changing the version field.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:09:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.