go-shadowsocks2
go-shadowsocks2 copied to clipboard
Feature Request: HTTP proxy
Hi! Please add ability run SOCK and HTTP proxy at the same time.
Any idea why? This project is under the umbrella shadowsocks, so HTTP proxy is kinda beyond the scope.
Hi
HTTP proxy is needed on client side, because not all apps support SOCKS. If we are talking about apps in terminal, there almost no apps which supports SOCKS. I use command line apps for development a lot.
I use ShadowsocksX-NG as client. https://github.com/shadowsocks/ShadowsocksX-NG There is option HTTP proxy , it's very handy.
So I think it's not beyond the scope at all. HTTP proxy on client side is needed if you want to use not only browser.
If we are talking about apps in terminal, there almost no apps which supports SOCKS.
This is incorrect. Lots of terminal utilities support SOCKS, e.g. curl.
I use ShadowsocksX-NG as client.
If ShadowsocksX-NG already provides HTTP proxy, why not use it?
This is incorrect. Lots of terminal utilities support SOCKS, e.g. curl
for example docker needs HTTP proxy
If ShadowsocksX-NG already provides HTTP proxy, why not use it?
I am using it now.
But for some situation comand line client will be more usefull. Not all hardware has a GUI :) Now for that kind situations in addition to SS I have to use polipo proxy to convert SOCKS to HTTP.
If you develop both server and slient side, HTTP proxy will be very handy, less additional apps required.
According to https://github.com/docker/docker/issues/5989#issuecomment-205393601 you can use SOCKS proxy with Docker.
I guess the question is actually what applications only support HTTP proxy but not SOCKS proxy?
go get ...
not working with socks as I know... (or I don't know how)
Docker on MacOs not using SOCK proxy (at least for me). I saw this commit before and tried lots of times to make it work... but only HTTP(S)
Official docker app for mac even don't have other proxy options...
What if you choose "Use system proxy" and set the system proxy to SOCKS? Will it work?
unfortunately also not working.


So I use HTTP proxy a lot... :)
I see. It seems HTTP proxy is still necessary. I'll consider adding it next.
@riobard Yes, HTTP will be very handy. I would really appreciate if you can and it to development plans.
https://github.com/bigtan/cow
I just give go-ss2 a http proxy.
@riobard what's the progress?
Currently not planned.
https://github.com/snail007/goproxy
maybe you can try this, or refer to this
https://superuser.com/questions/423563/convert-http-requests-to-socks5
anydesk need http proxy only
https://github.com/bigtan/cow
I just give go-ss2 a http proxy.
@bigtan Hi, I wanna implement a http listener in go-ss2 client too, and this repo is gone. Could you please re-open it for reference? Thank you.
You can compile the http proxy support yourself with this implementation.