ginuerzh / gost

GO Simple Tunnel - a simple tunnel written in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Converter HTTP proxy > SOCKS proxy (SOCKS over HTTP)

artenax opened this issue · comments

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.