Post Reply 
ProxHTTPSProxyMII: Development
May. 30, 2014, 07:58 PM (This post was last modified: May. 31, 2014 12:31 AM by JJoe.)
Post: #6
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
Ok. Installed and running. CheersApplause

Fresh install of "Python3.4.1" didn't work for me. All is well after an uninstall and reinstall of "3.4.1", tho.
"Win32 OpenSSL v1.0.1g Light" required "Visual C++ 2008 Redistributables".
Don't forget to bypass the Proxomitron before using "pip install pyopenssl" at the Window's command prompt.
Assuming Python34 is installed in the default folder

Code:
c:\Python34\Scripts>pip install pyopenssl

To enable $SETPROXY(127.0.0.1:8081), add the Rear proxy to the Proxomitron via "Proxy" on the Proxomitron's main dialog

Code:
127.0.0.1:8081 ProxHTTPSProxyRear

(More detailed instructions later or per request)

For now, I'm using these Exceptions-U entries

Code:
$OHDR(Tagged:Proxomitron FrontProxy/*) $SET(keyword=$GET(keyword)i_proxy:3.) $SETPROXY(127.0.0.1:8081)(^)
~(^$TST(keyword=i_proxy:[03].))$OHDR(Tagged:Proxomitron FrontProxy/*) $SET(keyword=$GET(keyword)i_proxy:3.) $SETPROXY(127.0.0.1:8081)(^)

in sidki's set. This way the keyword is always set regardless of the other list entries and the other list entries are checked.
When I $RDIR in Exceptions-U to block a connection I'll be using something like

Code:
unwanted.com/ $USEPROXY(false)$SET(keyword=i_proxy:0.)$RDIR($GET(blackhole)/killed.gif?\u)

otherwise the rear proxy will be asked for "killed.gif".

However, the new routine works better with sidki's set in bypass while using the Proxomitron's "Use Remote Proxy" setting. I'm not sure why.
So, I'm also using the Proxomitron's default set with the web filters bypassed and this,

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "tagged: (Out)"
Match = "$SETPROXY(127.0.0.1:8081)(^)"

, header filter to test the routine.

Current issues

1. When searching at startpage.com

Code:
127.0.0.1 - - [30/May/2014 08:42:40] "GET http://s10-us4.startpage.com/tst2/engl
ish/?anticache=989016 HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60636)
Traceback (most recent call last):
  File "C:\Python34\lib\socketserver.py", line 609, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python34\lib\socketserver.py", line 344, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python34\lib\socketserver.py", line 665, in __init__
    self.handle()
  File "C:\Python34\lib\http\server.py", line 398, in handle
    self.handle_one_request()
  File "C:\Python34\lib\http\server.py", line 386, in handle_one_request
    method()
  File "C:\Users\E3\Programs\ProxHTTPSProxy 0.5\proxytool.py", line 97, in do_CO
NNECT
    self.handle_one_request()
  File "C:\Python34\lib\http\server.py", line 386, in handle_one_request
    method()
  File "C:\Users\E3\Programs\ProxHTTPSProxy 0.5\ProxHTTPSProxy.py", line 59, in
do_METHOD
    self.wfile.write(response.read())
  File "C:\Python34\lib\http\client.py", line 512, in read
    s = self._safe_read(self.length)
  File "C:\Python34\lib\http\client.py", line 664, in _safe_read
    raise IncompleteRead(b''.join(s), amt)
http.client.IncompleteRead: IncompleteRead(0 bytes read, 42 more expected)

2. Need to find a server with bad certification for testing.

Got to go.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
ProxHTTPSProxyMII: Development - whenever - May. 28, 2014, 03:13 AM
RE: ProxHTTPSProxyMII: Development - GunGunGun - Jan. 11, 2015, 10:38 AM
RE: ProxHTTPSProxyMII: Development - whenever - Jan. 14, 2015, 09:27 AM
RE: ProxHTTPSProxyMII: Development - JJoe - Jan. 14, 2015, 05:59 PM
RE: ProxHTTPSProxyMII: Development - whenever - Jan. 15, 2015, 01:47 AM
RE: ProxHTTPSProxyMII: Development - soccerfan - Jan. 19, 2015, 08:19 PM
RE: ProxHTTPSProxyMII: Development - GunGunGun - Jan. 15, 2015, 07:36 AM
RE: ProxHTTPSProxyMII: Development - whenever - Jan. 15, 2015, 10:05 AM
RE: ProxHTTPSProxyMII: Development - GunGunGun - Jan. 15, 2015, 01:22 PM
RE: ProxHTTPSProxyMII: Development - whenever - Jan. 16, 2015, 02:38 AM
RE: ProxHTTPSProxyMII: Development - JJoe - Mar. 30, 2015, 02:55 AM
RE: ProxHTTPSProxyMII: Development - whenever - Mar. 30, 2015, 07:22 AM
RE: ProxHTTPSProxyMII: Development - GunGunGun - Apr. 18, 2015, 03:44 AM
RE: ProxHTTPSProxyMII: Development - JJoe - Apr. 18, 2015, 04:08 AM
RE: ProxHTTPSProxyMII: Development - GunGunGun - Apr. 18, 2015, 05:22 AM
RE: ProxHTTPSProxyMII: Development - whenever - Oct. 01, 2015, 08:04 AM
RE: ProxHTTPSProxyMII: Development - Faxopita - Oct. 03, 2015, 11:03 AM
RE: ProxHTTPSProxyMII: Development - whenever - Oct. 04, 2015, 02:38 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Oct. 10, 2015, 03:00 PM
RE: ProxHTTPSProxyMII: Development - whenever - Oct. 15, 2015, 03:05 AM
RE: ProxHTTPSProxyMII: Development - whenever - Oct. 21, 2015, 09:23 AM
RE: ProxHTTPSProxyMII: Development - whenever - Oct. 22, 2015, 03:37 AM
RE: ProxHTTPSProxyMII: Development - whenever - Oct. 23, 2015, 08:18 AM
RE: ProxHTTPSProxyMII: Development - Faxopita - Nov. 09, 2015, 06:03 PM
RE: ProxHTTPSProxyMII: Development - whenever - Nov. 10, 2015, 01:59 AM
RE: ProxHTTPSProxyMII: Development - Faxopita - Nov. 10, 2015, 07:02 PM
RE: ProxHTTPSProxyMII: Development - whenever - Nov. 11, 2015, 07:44 AM
RE: ProxHTTPSProxyMII: Development - Faxopita - Nov. 12, 2015, 07:12 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Nov. 16, 2015, 10:12 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Dec. 10, 2015, 11:43 PM
RE: ProxHTTPSProxyMII: Development - whenever - Dec. 22, 2015, 09:23 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Dec. 22, 2015, 11:48 AM
RE: ProxHTTPSProxyMII: Development - rogern - Dec. 21, 2015, 08:59 AM
RE: ProxHTTPSProxyMII: Development - Faxopita - Dec. 22, 2015, 08:51 AM
RE: ProxHTTPSProxyMII: Development - whenever - Dec. 23, 2015, 02:08 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Dec. 26, 2015, 03:16 PM
RE: ProxHTTPSProxyMII: Development - whenever - Dec. 30, 2015, 08:35 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Jan. 12, 2016, 12:24 AM
RE: ProxHTTPSProxyMII: Development - Faxopita - Dec. 23, 2015, 02:20 PM
RE: ProxHTTPSProxyMII: Development - whenever - Dec. 25, 2015, 03:28 AM
RE: ProxHTTPSProxyMII: Development - Faxopita - Dec. 24, 2015, 01:23 PM
RE: ProxHTTPSProxyMII: Development - whenever - Jan. 12, 2016, 12:45 PM
RE: ProxHTTPSProxyMII: Development - soccerfan - Jan. 12, 2016, 06:09 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Jan. 12, 2016, 11:15 PM
RE: ProxHTTPSProxyMII: Development - whenever - May. 16, 2016, 08:26 AM
RE: ProxHTTPSProxyMII: Development - kik0s - May. 16, 2016, 08:46 AM
RE: ProxHTTPSProxyMII: Development - whenever - May. 16, 2016, 01:45 PM
RE: ProxHTTPSProxyMII: Development - kik0s - May. 16, 2016, 02:22 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Jan. 25, 2016, 12:09 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Jan. 29, 2016, 07:03 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Jan. 30, 2016, 12:57 AM
RE: ProxHTTPSProxyMII: Development - kik0s - May. 25, 2016, 01:12 AM
RE: ProxHTTPSProxyMII: Development - JJoe - May. 25, 2016, 03:26 PM
RE: ProxHTTPSProxyMII: Development - Faxopita - May. 25, 2016, 06:10 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Jun. 09, 2016, 01:02 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Jun. 25, 2016, 02:03 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Jun. 17, 2016, 11:09 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Jun. 25, 2016, 02:06 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Jun. 28, 2016, 10:18 PM
RE: ProxHTTPSProxyMII: Development - whenever - Jul. 04, 2016, 07:04 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Jul. 04, 2016, 02:14 PM
RE: ProxHTTPSProxyMII: Development - whenever - Jul. 05, 2016, 01:43 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Jul. 05, 2016, 09:02 AM
RE: ProxHTTPSProxyMII: Development - Strykar - Aug. 25, 2016, 09:24 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Sep. 12, 2016, 10:41 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Sep. 13, 2016, 05:36 PM
RE: ProxHTTPSProxyMII: Development - Strykar - Sep. 14, 2016, 01:46 AM
RE: ProxHTTPSProxyMII: Development - Strykar - Sep. 14, 2016, 01:38 AM
RE: ProxHTTPSProxyMII: Development - kik0s - Sep. 16, 2016, 08:32 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Sep. 16, 2016, 11:31 PM
RE: ProxHTTPSProxyMII: Development - kik0s - Sep. 19, 2016, 11:31 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Apr. 19, 2018, 01:56 AM
RE: ProxHTTPSProxyMII: Development - JJoe - Apr. 21, 2018, 09:04 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Jun. 17, 2018, 02:12 AM
RE: ProxHTTPSProxyMII: Development - vlad_s - Jul. 20, 2019, 06:48 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Jul. 22, 2019, 02:12 AM
RE: ProxHTTPSProxyMII: Development - vlad_s - Jul. 22, 2019, 07:04 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Jul. 23, 2019, 06:08 AM
RE: ProxHTTPSProxyMII: Development - amy - Jul. 23, 2019, 12:03 PM
RE: ProxHTTPSProxyMII: Development - vlad_s - Jul. 23, 2019, 05:34 PM
RE: ProxHTTPSProxyMII: Development - vlad_s - Jul. 26, 2019, 10:16 PM
RE: ProxHTTPSProxyMII: Development - amy - Sep. 16, 2019, 03:01 AM
RE: ProxHTTPSProxyMII: Development - vlad_s - Sep. 12, 2019, 08:24 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Sep. 15, 2019, 01:22 AM
RE: ProxHTTPSProxyMII: Development - vlad_s - Sep. 21, 2019, 07:14 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Sep. 25, 2019, 03:49 AM
RE: ProxHTTPSProxyMII: Development - vlad_s - Sep. 25, 2019, 08:25 PM
RE: ProxHTTPSProxyMII: Development - JJoe - Sep. 26, 2019, 02:44 AM
RE: ProxHTTPSProxyMII: Development - vlad_s - Sep. 26, 2019, 05:25 PM
RE: ProxHTTPSProxyMII: Development - vlad_s - Sep. 26, 2019, 05:54 PM
RE: ProxHTTPSProxyMII: Development - vlad_s - Jun. 14, 2020, 09:37 PM
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program - JJoe - May. 30, 2014 07:58 PM
RE: ProxHTTPSProxyMII: Reloaded - JJoe - Dec. 30, 2014, 09:25 PM
RE: ProxHTTPSProxyMII: Reloaded - GunGunGun - Dec. 31, 2014, 04:30 AM
RE: ProxHTTPSProxyMII: Reloaded - whenever - Jan. 04, 2015, 02:51 AM
RE: ProxHTTPSProxyMII: Reloaded - GunGunGun - Jan. 10, 2015, 09:31 AM
RE: ProxHTTPSProxyMII: Development - whenever - Jan. 11, 2015, 08:26 AM
RE: ProxHTTPSProxyMII: Reloaded - JJoe - Jan. 10, 2015, 04:50 PM
RE: ProxHTTPSProxyMII: Reloaded - GunGunGun - Jan. 10, 2015, 05:56 PM

Forum Jump: