jab / trio_http_proxy

Simple HTTP CONNECT proxy implemented with trio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OK_CONNECT_PORTS = {443, 8443}

TadavomnisT opened this issue · comments

Hi!
Incredible proxy-server you've built. Thanks.

But it puzzled me though, Why would you set a limitation for ports in CONNECT method?

As far as I know, An HTTP-server can be running on any free port. Does it have to do something with SSL?


I tried to proxy a TCP connection using your script (netcat TCP server to be exact) , and there I noticed the assert saying: it only works if my server is running on 443 or 8443 ports!

Thanks for reporting! I can't remember what I was thinking when I added that assert. Removed in the latest revision.

Out of curiosity, how'd you find this project? :)

@jab
You're quite welcome :*

A friend told me about it: @SafaSafari , Not sure how did he find it, google search maybe...