Post Reply 
Proxomitron Reborn
May. 02, 2019, 12:15 PM
Post: #177
RE: Proxomitron Reborn
Now, regarding the long discussion on local.ptron and local resources etc.; it's subtle enough that I've attached a diagram of the processing flow that Proxomitron Reborn goes through when it handles a request, because it's difficult to explain with words alone.

Consider what happens when you try to visit https://local.ptron/ when it's bypassed:
1. Browser connects to Proxomitron
2. Browser sends CONNECT local.ptron:443
3. Proxomitron decides this host is bypassed.
4. It goes into the "Resolve hostnames, ... Do Read/Write Tunnel" flow.
This resolves local.ptron to 127.0.0.1 and then initiates a connection to port 443 on the local machine. If you don't have something listening on that port, or it's not an HTTPS server, then it fails to connect.

When it's not bypassed:
1. Browser connects to Proxomitron
2. Browser sends CONNECT local.ptron:443
3. Proxomitron decides this host is not bypassed.
4. It processes outgoing header filters if enabled.
5. It writes "connection established" to the client, does a TLS handshake with it (using its own certificate), and reads the request line (which will simply be GET / HTTP/1.1)
6. It turns this into https://local.ptron/ internally and then continues with the non-CONNECT flow, i.e. eventually gets to serving from the internal HTTP server. Note that processing of "/.pinfo/" takes a separate path, which explains JJoe's observation: "While "local.ptron/.pinfo" pages can not be filtered, "127.0.0.1:8080/.pinfo" pages could."

127.0.0.1:8080/.pinfo/ will be filtered, because that involves Proxomitron connecting back to itself and filtering what comes through; one connection serves the info page, which gets filtered through the second connection. For now, I'll leave it to you to figure out what happens when https:// is involved...


Attached File(s)
.png  ProxFlow.PNG (Size: 82.14 KB / Downloads: 120)
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to amy for this post:
mizzmona
Post Reply 


Messages In This Thread
Proxomitron Reborn - amy - May. 19, 2018, 07:34 PM
RE: Proxomitron Reborn - chatterer - May. 19, 2018, 10:02 PM
RE: Proxomitron Reborn - thomasmo - May. 19, 2018, 11:22 PM
RE: Proxomitron Reborn - thomasmo - May. 19, 2018, 11:32 PM
RE: Proxomitron Reborn - amy - May. 20, 2018, 04:35 PM
RE: Proxomitron Reborn - chatterer - May. 20, 2018, 11:14 PM
RE: Proxomitron Reborn - chatterer - May. 19, 2018, 11:48 PM
RE: Proxomitron Reborn - thomasmo - May. 20, 2018, 11:20 AM
RE: Proxomitron Reborn - referrer - May. 20, 2018, 09:21 PM
RE: Proxomitron Reborn - amy - May. 21, 2018, 12:39 AM
RE: Proxomitron Reborn - referrer - May. 21, 2018, 12:50 AM
RE: Proxomitron Reborn - chatterer - May. 21, 2018, 08:25 AM
RE: Proxomitron Reborn - ProxRocks - May. 21, 2018, 01:46 PM
RE: Proxomitron Reborn - ProxRocks - May. 21, 2018, 02:42 PM
RE: Proxomitron Reborn - chatterer - May. 21, 2018, 03:41 PM
RE: Proxomitron Reborn - mizzmona - May. 21, 2018, 03:54 PM
RE: Proxomitron Reborn - JJoe - May. 21, 2018, 12:47 AM
RE: Proxomitron Reborn - ProxRocks - May. 21, 2018, 02:49 AM
RE: Proxomitron Reborn - ProxRocks - May. 21, 2018, 03:16 PM
RE: Proxomitron Reborn - mizzmona - May. 21, 2018, 06:48 PM
RE: Proxomitron Reborn - mizzmona - May. 21, 2018, 08:25 PM
RE: Proxomitron Reborn - referrer - May. 22, 2018, 09:30 AM
RE: Proxomitron Reborn - amy - May. 22, 2018, 12:03 PM
RE: Proxomitron Reborn - ProxRocks - May. 22, 2018, 02:14 PM
RE: Proxomitron Reborn - JJoe - May. 23, 2018, 04:10 AM
RE: Proxomitron Reborn - mizzmona - May. 22, 2018, 07:19 PM
RE: Proxomitron Reborn - mizzmona - May. 22, 2018, 11:16 PM
RE: Proxomitron Reborn - amy - May. 23, 2018, 11:57 AM
RE: Proxomitron Reborn - JJoe - May. 23, 2018, 01:32 PM
RE: Proxomitron Reborn - Kye-U - May. 24, 2018, 04:11 PM
RE: Proxomitron Reborn - referrer - May. 24, 2018, 11:23 AM
RE: Proxomitron Reborn - amy - May. 31, 2018, 04:36 AM
RE: Proxomitron Reborn - referrer - May. 31, 2018, 06:38 AM
RE: Proxomitron Reborn - mizzmona - May. 31, 2018, 05:34 PM
RE: Proxomitron Reborn - referrer - Jun. 01, 2018, 01:03 AM
RE: Proxomitron Reborn - amy - Jun. 02, 2018, 12:37 AM
RE: Proxomitron Reborn - mizzmona - Jun. 04, 2018, 12:04 AM
RE: Proxomitron Reborn - referrer - Jun. 03, 2018, 08:51 PM
RE: Proxomitron Reborn - amy - Jun. 04, 2018, 11:56 AM
RE: Proxomitron Reborn - referrer - Jun. 06, 2018, 12:49 AM
RE: Proxomitron Reborn - amy - Jun. 06, 2018, 11:17 AM
RE: Proxomitron Reborn - amy - Jun. 11, 2018, 01:58 AM
RE: Proxomitron Reborn - mizzmona - Jun. 13, 2018, 02:01 PM
RE: Proxomitron Reborn - mizzmona - Jun. 14, 2018, 10:56 PM
RE: Proxomitron Reborn - JJoe - Jun. 15, 2018, 09:31 PM
RE: Proxomitron Reborn - dave - Jun. 15, 2018, 06:50 AM
RE: Proxomitron Reborn - amy - Jun. 15, 2018, 11:41 AM
RE: Proxomitron Reborn - dave - Jun. 15, 2018, 01:53 PM
RE: Proxomitron Reborn - JJoe - Jun. 15, 2018, 09:23 PM
RE: Proxomitron Reborn - referrer - Jun. 16, 2018, 12:45 AM
RE: Proxomitron Reborn - mizzmona - Jun. 16, 2018, 03:21 PM
RE: Proxomitron Reborn - mizzmona - Jun. 16, 2018, 05:50 PM
RE: Proxomitron Reborn - JJoe - Jun. 16, 2018, 06:12 PM
RE: Proxomitron Reborn - amy - Jun. 17, 2018, 09:00 AM
RE: Proxomitron Reborn - JJoe - Jun. 17, 2018, 09:56 PM
RE: Proxomitron Reborn - amy - Jun. 20, 2018, 03:45 AM
RE: Proxomitron Reborn - JJoe - Jun. 22, 2018, 05:36 AM
RE: Proxomitron Reborn - kelendral - Jun. 07, 2019, 07:45 PM
RE: Proxomitron Reborn - amy - Sep. 16, 2019, 03:08 AM
RE: Proxomitron Reborn - referrer - Jun. 18, 2018, 04:48 AM
RE: Proxomitron Reborn - mizzmona - Jun. 17, 2018, 03:01 PM
RE: Proxomitron Reborn - JJoe - Jun. 17, 2018, 03:41 PM
RE: Proxomitron Reborn - mizzmona - Jun. 20, 2018, 07:24 AM
RE: Proxomitron Reborn - mizzmona - Jun. 20, 2018, 07:57 AM
RE: Proxomitron Reborn - prxymouse - Jun. 22, 2018, 05:01 PM
RE: Proxomitron Reborn - JJoe - Jun. 22, 2018, 09:02 PM
RE: Proxomitron Reborn - prxymouse - Jun. 23, 2018, 07:57 AM
RE: Proxomitron Reborn - prxymouse - Jun. 26, 2018, 04:59 PM
RE: Proxomitron Reborn - amy - Jun. 28, 2018, 02:33 AM
RE: Proxomitron Reborn - prxymouse - Aug. 13, 2018, 06:23 PM
RE: Proxomitron Reborn - ProxRocks - Jun. 29, 2018, 03:42 PM
RE: Proxomitron Reborn - amy - Jul. 02, 2018, 03:29 AM
RE: Proxomitron Reborn - amy - Jul. 23, 2018, 11:40 AM
RE: Proxomitron Reborn - JJoe - Jul. 23, 2018, 06:58 PM
RE: Proxomitron Reborn - mizzmona - Jul. 24, 2018, 06:39 PM
RE: Proxomitron Reborn - referrer - Jul. 24, 2018, 04:06 AM
RE: Proxomitron Reborn - amy - Jul. 27, 2018, 03:03 AM
RE: Proxomitron Reborn - prxymouse - Aug. 01, 2018, 06:13 PM
RE: Proxomitron Reborn - gandow - Aug. 10, 2018, 07:22 AM
RE: Proxomitron Reborn - amy - Aug. 10, 2018, 11:42 AM
RE: Proxomitron Reborn - gandow - Aug. 10, 2018, 01:48 PM
RE: Proxomitron Reborn - amy - Sep. 04, 2018, 02:45 AM
RE: Proxomitron Reborn - JJoe - Sep. 04, 2018, 05:06 AM
RE: Proxomitron Reborn - amy - Sep. 05, 2018, 03:10 AM
RE: Proxomitron Reborn - rasczak - Sep. 26, 2018, 05:33 AM
RE: Proxomitron Reborn - amy - Oct. 29, 2018, 03:05 AM
RE: Proxomitron Reborn - rasczak - Oct. 29, 2018, 03:49 AM
RE: Proxomitron Reborn - mizzmona - Oct. 29, 2018, 03:43 PM
RE: Proxomitron Reborn - amy - Dec. 02, 2018, 11:29 PM
RE: Proxomitron Reborn - amy - Dec. 09, 2018, 01:49 AM
RE: Proxomitron Reborn - amy - Dec. 10, 2018, 05:39 AM
RE: Proxomitron Reborn - referrer - Dec. 10, 2018, 03:32 PM
RE: Proxomitron Reborn - JJoe - Dec. 11, 2018, 01:20 AM
RE: Proxomitron Reborn - referrer - Dec. 11, 2018, 01:35 AM
RE: Proxomitron Reborn - zoltan - Dec. 10, 2018, 11:56 PM
RE: Proxomitron Reborn - JJoe - Dec. 11, 2018, 01:39 AM
RE: Proxomitron Reborn - amy - Dec. 11, 2018, 01:45 AM
RE: Proxomitron Reborn - referrer - Dec. 11, 2018, 02:15 AM
RE: Proxomitron Reborn - zoltan - Dec. 11, 2018, 02:58 AM
RE: Proxomitron Reborn - amy - Dec. 11, 2018, 03:35 AM
RE: Proxomitron Reborn - zoltan - Dec. 11, 2018, 05:59 AM
RE: Proxomitron Reborn - amy - Dec. 11, 2018, 12:56 PM
RE: Proxomitron Reborn - zoltan - Dec. 11, 2018, 05:36 PM
RE: Proxomitron Reborn - mizzmona - Dec. 11, 2018, 11:11 PM
RE: Proxomitron Reborn - JJoe - Dec. 13, 2018, 05:19 AM
RE: Proxomitron Reborn - referrer - Dec. 11, 2018, 04:05 AM
RE: Proxomitron Reborn - JJoe - Dec. 11, 2018, 03:44 PM
RE: Proxomitron Reborn - referrer - Dec. 11, 2018, 04:25 PM
RE: Proxomitron Reborn - referrer - Dec. 11, 2018, 02:02 PM
RE: Proxomitron Reborn - mizzmona - Dec. 11, 2018, 11:01 PM
RE: Proxomitron Reborn - JJoe - Dec. 13, 2018, 05:50 AM
RE: Proxomitron Reborn - Callahan - Dec. 13, 2018, 03:54 PM
RE: Proxomitron Reborn - JJoe - Dec. 13, 2018, 11:00 PM
RE: Proxomitron Reborn - zoltan - Dec. 13, 2018, 06:31 PM
RE: Proxomitron Reborn - referrer - Dec. 14, 2018, 01:56 AM
RE: Proxomitron Reborn - amy - Dec. 14, 2018, 02:32 AM
RE: Proxomitron Reborn - JJoe - Dec. 14, 2018, 03:07 AM
RE: Proxomitron Reborn - JJoe - Dec. 14, 2018, 03:10 PM
RE: Proxomitron Reborn - JJoe - Dec. 15, 2018, 07:53 PM
RE: Proxomitron Reborn - JJoe - Dec. 27, 2018, 04:40 AM
RE: Proxomitron Reborn - Callahan - Dec. 14, 2018, 03:34 AM
RE: Proxomitron Reborn - amy - Dec. 15, 2018, 12:59 AM
RE: Proxomitron Reborn - JJoe - Dec. 15, 2018, 04:39 AM
RE: Proxomitron Reborn - amy - Dec. 16, 2018, 06:47 PM
RE: Proxomitron Reborn - JJoe - Dec. 17, 2018, 01:44 AM
RE: Proxomitron Reborn - whenever - Dec. 22, 2018, 04:36 AM
RE: Proxomitron Reborn - mizzmona - Dec. 15, 2018, 02:06 AM
RE: Proxomitron Reborn - amy - Dec. 17, 2018, 12:19 AM
RE: Proxomitron Reborn - whenever - Dec. 23, 2018, 05:29 AM
RE: Proxomitron Reborn - amy - Dec. 24, 2018, 04:40 AM
RE: Proxomitron Reborn - whenever - Dec. 24, 2018, 01:47 PM
RE: Proxomitron Reborn - JJoe - Dec. 25, 2018, 05:47 AM
RE: Proxomitron Reborn - amy - Dec. 25, 2018, 10:15 PM
RE: Proxomitron Reborn - whenever - Dec. 26, 2018, 02:17 AM
RE: Proxomitron Reborn - mizzmona - Dec. 26, 2018, 04:40 AM
RE: Proxomitron Reborn - amy - Dec. 28, 2018, 03:40 AM
RE: Proxomitron Reborn - mizzmona - Dec. 28, 2018, 05:09 AM
RE: Proxomitron Reborn - amy - Jan. 01, 2019, 07:51 AM
RE: Proxomitron Reborn - whenever - Jan. 02, 2019, 12:21 PM
RE: Proxomitron Reborn - mizzmona - Jan. 03, 2019, 02:11 AM
RE: Proxomitron Reborn - amy - Jan. 03, 2019, 05:40 AM
RE: Proxomitron Reborn - whenever - Jan. 03, 2019, 10:29 AM
RE: Proxomitron Reborn - whenever - Jan. 05, 2019, 04:00 AM
RE: Proxomitron Reborn - whenever - Mar. 26, 2019, 06:24 AM
RE: Proxomitron Reborn - whenever - Dec. 28, 2018, 12:22 PM
RE: Proxomitron Reborn - JJoe - Dec. 28, 2018, 06:32 PM
RE: Proxomitron Reborn - amy - Dec. 28, 2018, 08:49 PM
RE: Proxomitron Reborn - whenever - Dec. 29, 2018, 01:51 AM
RE: Proxomitron Reborn - JJoe - Dec. 29, 2018, 03:13 AM
RE: Proxomitron Reborn - mizzmona - Dec. 31, 2018, 10:47 PM
RE: Proxomitron Reborn - referrer - Dec. 17, 2018, 11:49 AM
RE: Proxomitron Reborn - amy - Dec. 18, 2018, 03:50 AM
RE: Proxomitron Reborn - whenever - Dec. 22, 2018, 07:27 AM
RE: Proxomitron Reborn - mizzmona - Dec. 24, 2018, 07:01 PM
RE: Proxomitron Reborn - Callahan - Jan. 03, 2019, 02:03 PM
RE: Proxomitron Reborn - JJoe - Jan. 03, 2019, 03:29 PM
RE: Proxomitron Reborn - Callahan - Jan. 03, 2019, 06:19 PM
RE: Proxomitron Reborn - Orange - Jan. 06, 2019, 06:55 PM
RE: Proxomitron Reborn - JJoe - Jan. 07, 2019, 05:54 AM
RE: Proxomitron Reborn - whenever - Jan. 08, 2019, 01:36 AM
RE: Proxomitron Reborn - amy - Feb. 04, 2019, 12:34 PM
RE: Proxomitron Reborn - JJoe - Feb. 04, 2019, 08:37 PM
RE: Proxomitron Reborn - JJoe - Feb. 05, 2019, 02:42 AM
RE: Proxomitron Reborn - JJoe - Feb. 08, 2019, 07:42 AM
RE: Proxomitron Reborn - JJoe - Feb. 09, 2019, 02:50 AM
RE: Proxomitron Reborn - amy - Feb. 10, 2019, 02:51 AM
RE: Proxomitron Reborn - Blazer - Feb. 14, 2019, 04:20 PM
RE: Proxomitron Reborn - JennyH - Mar. 12, 2019, 03:11 AM
RE: Proxomitron Reborn - UnknownMember - Mar. 04, 2019, 12:48 AM
RE: Proxomitron Reborn - DullFace - Apr. 08, 2019, 01:03 PM
RE: Proxomitron Reborn - amy - Apr. 22, 2019, 04:33 AM
RE: Proxomitron Reborn - whenever - Apr. 24, 2019, 01:51 PM
RE: Proxomitron Reborn - amy - Apr. 25, 2019, 12:14 PM
RE: Proxomitron Reborn - whenever - Apr. 26, 2019, 02:47 AM
RE: Proxomitron Reborn - mizzmona - Apr. 26, 2019, 08:13 AM
RE: Proxomitron Reborn - JJoe - Apr. 26, 2019, 05:06 PM
RE: Proxomitron Reborn - whenever - Apr. 30, 2019, 09:16 AM
RE: Proxomitron Reborn - amy - May. 02, 2019, 12:01 PM
RE: Proxomitron Reborn - whenever - May. 09, 2019, 02:09 PM
RE: Proxomitron Reborn - whenever - May. 09, 2019, 02:30 PM
RE: Proxomitron Reborn - amy - May. 02, 2019 12:15 PM
RE: Proxomitron Reborn - whenever - May. 10, 2019, 08:16 AM
RE: Proxomitron Reborn - whenever - May. 10, 2019, 08:59 AM
RE: Proxomitron Reborn - mizzmona - May. 10, 2019, 06:58 PM
RE: Proxomitron Reborn - whenever - May. 11, 2019, 01:49 AM
RE: Proxomitron Reborn - whenever - May. 11, 2019, 04:44 AM
RE: Proxomitron Reborn - mizzmona - May. 11, 2019, 10:15 AM
RE: Proxomitron Reborn - whenever - May. 11, 2019, 05:10 AM
RE: Proxomitron Reborn - amy - May. 12, 2019, 04:18 AM
RE: Proxomitron Reborn - mizzmona - May. 12, 2019, 07:43 PM
RE: Proxomitron Reborn - mizzmona - May. 12, 2019, 08:01 PM
RE: Proxomitron Reborn - thypentacle - Sep. 14, 2019, 12:28 AM
RE: Proxomitron Reborn - mizzmona - Oct. 10, 2019, 08:10 PM
RE: Proxomitron Reborn - DullFace - Oct. 19, 2019, 10:37 AM
RE: Proxomitron Reborn - amy - Dec. 26, 2019, 01:07 AM
RE: Proxomitron Reborn - DullFace - Dec. 27, 2019, 10:37 AM
RE: Proxomitron Reborn - DullFace - Mar. 08, 2020, 02:51 PM
RE: Proxomitron Reborn - amy - Mar. 08, 2020, 10:16 PM
RE: Proxomitron Reborn - iampowerslave - May. 21, 2020, 12:30 PM

Forum Jump: