After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 504844 - Gnome should automatically set network proxy based on IP address
Gnome should automatically set network proxy based on IP address
Status: RESOLVED DUPLICATE of bug 477040
Product: gnome-control-center
Classification: Core
Component: Network
2.20.x
Other All
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-21 11:51 UTC by nmurphy
Modified: 2007-12-21 12:01 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description nmurphy 2007-12-21 11:51:29 UTC
Frequently moving a laptop between networks with different proxy settings is a hassle.

Gnome should have a facility to set different proxy settings depending on what IP address the machine gets via DCHP.

Perhaps by using the "Automatic proxy configuration URL" and pointing it to file:///home/username/.gnome/networksettings/autoproxy.pac
with rules generated by a GUI along the lines of
function FindProxyForURL(url, host){
    myIp = myIpAddress();
    if (dnsDomainIs(myIp , "localhost")){
        return "DIRECT";
    }
    else if (isInNet(myIp , "100.200.0.0", "255.255.0.0"){
        return "PROXY proxy1.example.com:3128" +
                "SOCKS socks.example.com:1080";
    }
    else{
        return "DIRECT";
    }
}
Comment 1 Jens Granseuer 2007-12-21 12:01:05 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 477040 ***