-
Notifications
You must be signed in to change notification settings - Fork 449
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
can't proxy socks5 via ssh forwarder #324
Comments
Try other ssh clients and see whether they worked? |
Other ssh clients have no problem logging in via username and private key. |
I think this bug is easy to reproduce.I am using the glider-v0.16.1 version. |
I've tested and no problem here. |
Don't just test login, test socket forwarding. Or just test another ssh server. |
SSH login and forwarding are normal. But glider proxy reports an error: error in dial: ssh: unexpected packet in response to channel open:
|
Does ssh have header blocking? Because sock5 is mostly short connections, if one of socks5 requests timeout or an error occurs, it will cause all subsequent requests to timeout or error? |
setup a local sock5 forwarding proxy server:
use curl to test the socks5 proxy:
whether it worked? |
This works fine, curl returns the server's ip. |
Oh no... -_-! I tested on debian11 and all works fine, maybe I should get an ubuntu server. |
It always failed or failed after some time? |
I compared glider ssh forwarder and standard ssh forwarder request: In both ways, the curl it works fine, but it takes longer for the glider forwarder to return. |
So it worked with glider now? anything changed? |
There is no change. I did not use curl but the browser web page to test. Maybe some urls in the web page return slowly or some urls do not return, causing the page to fail to open. I thought there was a problem. But standard ssh doesn't have this problem. |
Hi @ansoda , thanks for your report! you can download and try the dev version here if you need: https://github.com/nadoo/glider/actions/runs/2274744274 |
This issue was closed by the latest commit, feel free to reopen it if there's still any problem. |
Thank you so much, you are great, I just tested it and it works fine. |
hello, my config:
glider --listen :8443 --forward 'ssh://root@xx.xx.xx.xx:22?key=myprivate&timeout=5'
error in dial: ssh: unexpected packet in response to channel open:
can't proxy socks5 via ssh forwarder.
Is there any problem with my use, thank you.
The text was updated successfully, but these errors were encountered: