Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: HTTP proxy #27

Open
targence opened this issue Mar 29, 2017 · 17 comments
Open

Feature Request: HTTP proxy #27

targence opened this issue Mar 29, 2017 · 17 comments

Comments

@targence
Copy link

Hi! Please add ability run SOCK and HTTP proxy at the same time.

@riobard
Copy link

riobard commented Apr 9, 2017

Any idea why? This project is under the umbrella shadowsocks, so HTTP proxy is kinda beyond the scope.

@daciwei
Copy link

daciwei commented Apr 11, 2017

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.

screen shot 2017-04-11 at 11 09 05 am

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.

@riobard
Copy link

riobard commented Apr 11, 2017

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?

@daciwei
Copy link

daciwei commented Apr 11, 2017

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.

@riobard
Copy link

riobard commented Apr 11, 2017

According to moby/moby#5989 (comment) you can use SOCKS proxy with Docker.

I guess the question is actually what applications only support HTTP proxy but not SOCKS proxy?

@daciwei
Copy link

daciwei commented Apr 11, 2017

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...

screen shot 2017-04-11 at 1 13 12 pm

@riobard
Copy link

riobard commented Apr 11, 2017

What if you choose "Use system proxy" and set the system proxy to SOCKS? Will it work?

@daciwei
Copy link

daciwei commented Apr 12, 2017

unfortunately also not working.

So I use HTTP proxy a lot... :)

@riobard
Copy link

riobard commented Apr 13, 2017

I see. It seems HTTP proxy is still necessary. I'll consider adding it next.

@daciwei
Copy link

daciwei commented Apr 16, 2017

@riobard Yes, HTTP will be very handy. I would really appreciate if you can and it to development plans.

@bigtan
Copy link

bigtan commented Apr 25, 2017

https://github.com/bigtan/cow

I just give go-ss2 a http proxy.

@helphi
Copy link

helphi commented Dec 20, 2018

@riobard what's the progress?

@riobard
Copy link

riobard commented Dec 20, 2018

Currently not planned.

@leewi9
Copy link

leewi9 commented May 25, 2020

@mgttt
Copy link

mgttt commented Jun 14, 2020

anydesk need http proxy only

@JimLee1996
Copy link

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.

@BigSully
Copy link

You can compile the http proxy support yourself with this implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants