ginuerzh / gost

GO Simple Tunnel - a simple tunnel written in golang
MIT License
15.46k stars 2.42k forks source link

Converter HTTP proxy > SOCKS proxy (SOCKS over HTTP) #980

Open artenax opened 10 months ago

artenax commented 10 months ago

I use this command to convert: gost -F=127.0.0.1:4444 -L=:3000

127.0.0.1:4444 input HTTP proxy 127.0.0.1:3000 output SOCKS and HTTP proxy

For example, the browser is set to SOCKS proxy. This works with HTTPS sites, but does not work with non-encrypted HTTP sites. Because the HTTP proxy server I'm using does not support the CONNECT method on port 80, expecting a GET method instead (like many HTTP proxies do). gost doesn't do CONNECT > GET conversion on port 80. In fact, few applications do when converting HTTP > SOCKS. I know only Fiddler.