Jump to content

ProxHTTPSProxy and HTTPSProxy in Windows XP for future use


AstroSkipper

Recommended Posts

Posted (edited)
1 hour ago, Anbima said:

What do I have to install/integrate as a minimum for it to run in the background?
I don't necessarily need the menu.

If you want to have a pure ProxHTTPSProxy, then you can use @cmalex's ProxyMII. Read from the section 8. to 8.4.! In case of ProxyMII, however, there is no starter programme, and therefore the necessary settings in the system proxy of Windows XP have to be done manually by the user. And no additional features like minimising to systray and so on are then available.

Edited by AstroSkipper
correction
Link to comment
Share on other sites


2 hours ago, AstroSkipper said:

In Chrome, there should be a setting to use the system proxy which has to be enabled.

... However, the 360EE variants have proxy settings of their own, different to the ones in Google Chrome/Chromium  :P ...

GqNP0q3.png

2 hours ago, AstroSkipper said:

then you can use @cmalex's ProxyMII. Read from the section 8. to 8.4.! In case of ProxyMII, however, there is no starter programme, and therefore the necessary settings in the system proxy of Windows XP have to be done manually by the user.

@Anbima : If you opt to use just ProxyMII, then configure your IE8 browser to use this HTTPSProxy just for "Secure:" connections and once this is done (you can exit IE8 now), you can configure 360EE to use that proxy via: 

MWdrcLR.png

Link to comment
Share on other sites

Is it possible that the proxy is only used for certain URLs?
For the others, the SSL connection is used by the browser.

And how do I get the proxy out of the system completely?
It seems that there is an entry somewhere in the system, as programs no longer connect to the Internet if the proxy is not started.

Link to comment
Share on other sites

14 minutes ago, Anbima said:

It seems that there is an entry somewhere in the system, as programs no longer connect to the Internet if the proxy is not started.

When it comes to my package ProxHTTPSProxy's PopMenu TLS 1.3 3V3, closing the main window of ProxHTTPSProxy automatically removes its entries from the system proxy settings. This is not the case when using ProxyMII.

Link to comment
Share on other sites

37 minutes ago, Anbima said:

Is it possible that the proxy is only used for certain URLs?
For the others, the SSL connection is used by the browser.

ProxHTTPSProxy can be configured to the user needs in its configuration file config.ini. And in 360Chrome, as already described by @VistaLover, you can alternatively switch between "Use IE proxy" and "Do not use proxy".

Link to comment
Share on other sites

41 minutes ago, AstroSkipper said:

ProxHTTPSProxy can be configured to the user needs in its configuration file config.ini. And in 360Chrome, as already described by @VistaLover, you can alternatively switch between "Use IE proxy" and "Do not use proxy".

What setting do I have to make in config.ini so that the proxy is only used for certain URLs?
I have already tried it, but I can't find a suitable setting.

Link to comment
Share on other sites

4 minutes ago, Anbima said:

What setting do I have to make in config.ini so that the proxy is only used for certain URLs?
I have already tried it, but I can't find a suitable setting.

Exactly the opposite, simply letting certain URLs pass, can easily be realised. What you want is not actually the purpose of this proxy. If you only need the proxy for certain connections, only switch it on then and switch it off otherwise. It's as simple as that. :P

Link to comment
Share on other sites

11 minutes ago, AstroSkipper said:

a proxy switcher extension like, for example, Proxy SwitchyOmega

I prefer Proxy Switchy Auto version 1.2.2.

With it, if a web site is "sourced" by three different servers, I can send each server through its own Proxy, none of the three servers know they each served content to one end-user.

Link to comment
Share on other sites

5 minutes ago, NotHereToPlayGames said:

With it, if a web site is "sourced" by three different servers, I can send each server through its own Proxy, none of the three servers know they each served content to one end-user.

I have seen on a page that a PAC can be created for Chrome, which can then be integrated with a start parameter.
But I can't get it to work.
The code in the PAC file should be as follows:

function FindProxyForURL(url, host) {

if (dnsDomainIs(host, "example.com")) {
return "PROXY localhost:8079";
}
}

Do you know how that works?

Link to comment
Share on other sites

2 hours ago, AstroSkipper said:

When it comes to my package ProxHTTPSProxy's PopMenu TLS 1.3 3V3, closing the main window of ProxHTTPSProxy automatically removes its entries from the system proxy settings. This is not the case when using ProxyMII.

Even if I use ProxHTTPSProxy's PopMenu TLS 1.3 3V3, there seem to be leftovers in the system when I exit, as various programs no longer have a connection to the Internet after exiting. Which settings are changed in the system?

Link to comment
Share on other sites

29 minutes ago, Anbima said:

Even if I use ProxHTTPSProxy's PopMenu TLS 1.3 3V3, there seem to be leftovers in the system when I exit, as various programs no longer have a connection to the Internet after exiting.

No. That is not the case. When closing the main window of ProxHTTPSProxy from my package ProxHTTPSProxy's PopMenu TLS 1.3 3V3, its entries are automatically removed from the system proxy settings. If not, you did something wrong. Close the main window of ProxHTTPSProxy and check the system proxy settings by "Open IE Proxy Settings" in the PopMenu!

Link to comment
Share on other sites

Posted (edited)

@Anbima : It is still unclear to me (and probably to the rest of the members trying to help you;) ) what exactly you're trying to accomplish here :dubbio:...
1. Are there specific HTTPS URLs that fail to load on your 360EEv13.5 copy under your XP set up?

2. Are you concerned that the browser will load HTTPS sites under plain HTTP (and you're afraid sensitive/private info of yours will be sniffed?) - it's my understanding that a secure connection will either succeed or fail altogether...

AstroSkipper has provided you with one-click sloution(s) for when you want to go through the HTTPSProxy and when NOT (however, the proxy should always be running, you do get that :rolleyes: ) ... As already told, the proxy comes with a "[BYPASS URL]" section inside its "config.ini" file, but this serves just to exclude a small number of sites from being accessed via the Proxy (the purpose of this tool being to access the overwhelming majority of the internet through it :P ).

On 5/18/2024 at 8:47 PM, Anbima said:

I have seen on a page that a PAC can be created for Chrome, which can then be integrated with a start parameter.

Can you be so kind as to link to that documentation? This is a local PAC file you're talking about...
1. Internet Explorer, unlike Mozilla Firefox "legacy" browsers (I have no idea what the case is with recent Firefox), has poor support for local PAC files loaded from disk (and configured via the "unhealthy"/legacy "file://" protocol) - so, you can still try to configure IE8's proxy settings via pointing it to your local PAC file, then configure 360EE to "Use IE proxy", but YMMV :dubbio:... 

Later EDIT (2024-05-21): This approach doesn't seem to work :( ; IE8 applies the above configuration (use the local PAC file over "file://" protocol), however 360EE, for reasons best known to its Chinese devs :whistle:, doesn't observe this configuration when instructed to "Use IE proxy" :dubbio::angry: ...

2. Since Chrome v68, native support for loading local PAC scripts over the file:// protocol has been disabled and/or revoked: 

https://bugs.chromium.org/p/chromium/issues/detail?id=839566

Some mitigations are offered inside comments on that bug, e.g. 

https://issues.chromium.org/issues/40574814#comment9

https://issues.chromium.org/issues/40574814#comment23

On 5/18/2024 at 8:47 PM, Anbima said:

The code in the PAC file should be as follows:

function FindProxyForURL(url, host) {

if (dnsDomainIs(host, "example.com")) {
return "PROXY localhost:8079";
}
}

Do you know how that works?

You can learn more about configuring Proxies in Chrome/Chromium by reading this excellent documentation

https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/proxy.md#proxy-support-in-chrome

Since HTTPSProxy is a secure proxy, used to access HTTPS URLs, the PAC syntax you quoted is wrong; change PROXY to HTTPS, e.g. 

function FindProxyForURL(url, host) {
 alert('url: \'' + url + '\', host: \'' + host + '\'');
 if (shExpMatch(host, "example.com")) {
 return "PROXY localhost:8079";
 }
}

The "alert" line can be omitted, but it's there to generate a message in the (browser) console when a site is being successfully proxied...

EDIT/CORRECTION: ProxyMII (and similar projects based on Proxomitron) actually uses two local proxies (Rear+Front); client apps (e.g. browser) connect directly to the FrontServer (localhost:8079), which is plain HTTP, while the RearServer (localhost:8081) is the one facing the web; thus, my initial advice was wrong :blushing: ; "PROXY localhost:8079" must indeed be used inside a PAC implementation - apologies for any inconvenience, "errare humanum est"...

In conclusion, I've offered lots of relative info you could have found yourself already by "fine-tuned" web searches :whistle:...

TL;DR; Use a proxy extension inside 360EEv13.5 that has support for local PAC files, if you wish for some form of automation...

Edited by VistaLover
Link to comment
Share on other sites

Posted (edited)
1 hour ago, VistaLover said:

You can learn more about configuring Secure Proxies in Chrome/Chromium by reading this excellent documentation

https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/proxy.md#HTTPS-proxy-scheme

Since HTTPSProxy is a secure proxy, used to access HTTPS URLs, the PAC syntax you quoted is wrong; change PROXY to HTTPS, e.g. 

function FindProxyForURL(url, host) {
 alert('url: \'' + url + '\', host: \'' + host + '\'');
 if (shExpMatch(host, "example.com")) {
 return "HTTPS localhost:8079";
 }
}

The "alert" line can be omitted, but it's there to generate a message in the (browser) console when a site is being successfully proxied...

Thanks for the information and the linked documentation! spanachee.gif Personally, I never used a PAC file. But one thing is clear you never stop learning. :P And here are some further PAC file examples: https://findproxyforurl.com/example-pac-file/

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

Posted (edited)
3 hours ago, AstroSkipper said:

Thanks for the information and the linked documentation!

... You're most welcome :) !

3 hours ago, AstroSkipper said:

I never used a PAC file.

... On the contrary, I became an avid fan of them since my beginnings in web navigation :P ; it was an era when full-blown VPNs were mostly unavailable to non-enterprises or too pricey for individuals, while open (read: misconfiguredHTTP(S) proxies could be easily found via a web search :sneaky: ; PACs offer a convenient way to selectively proxy only certain hosts/domains/etc. out of your total of web requests; was very handy on geo-fenced media portals/services in the ealry 2010s, where you had to (first identify and then) only proxy their geo-location checking scripts, with the media streams themselves (video and/or audio) being accessible "DIRECT"; now, 99.5% of these same media portals, free and paid for, geo-block fully their streams and also encrypt them with DRM :angry: ...

PACs were also useful when you were employing a paid-for Proxy, but charged by proxy traffic or had quotas imposed on your use of it; by selectively proxying only those hosts that were inaccessible from your physical location, you could use less proxy bandwidth in a given time frame or squeeze more out of your proxy quota... This scenario involved use of proxies to unlock geo-fenced services (or ones regime-censored); if you were using a proxy for privacy reasons, then PACs were less applicable...

3 hours ago, AstroSkipper said:

And here are some further PAC file examples: https://findproxyforurl.com/example-pac-file/

Already known to me ;) ; below, just for you, some PAC-related documentation, retrieved from my huge set of bookmarks: 

https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_(PAC)_file

https://learn.microsoft.com/el-gr/archive/blogs/ieinternals/understanding-web-proxy-configuration

https://superuser.com/questions/191037/local-pac-file-url-format-that-works-with-ie-and-safari-windows

https://blog.mikejmcguire.com/2014/05/07/using-proxy-auto-configuration-scripts-with-internet-explorer-11/

https://support.microsoft.com/en-us/topic/how-to-disable-automatic-proxy-caching-in-internet-explorer-92735c9c-8a26-d0d8-7f8a-1b46595cbaba

http://io.mysq.to/pac-file-and-proxy-auto-switch-for-firefox-ie11-and-chrome

https://calomel.org/proxy_auto_config.html

https://www.websense.com/content/support/library/web/v76/pac_file_best_practices/pac_file_best_practices.pdf

The IEx articles relate to configuring a Windows "system proxy" (which can then be used by Chromium and its derivatives) ...

End of off-topic :P ...

Edited by VistaLover
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...