-
-
Notifications
You must be signed in to change notification settings - Fork 182
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 connect the proxy server with auth. #11
Comments
When I don't use Auth and visits Youtube.com . 2019/05/22 08:49:09 Start listening proxy service on port 1080,
2019/05/22 08:49:33 [ERR] socks: Failed to get version byte: EOF,
2019/05/22 08:52:55 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:52136->172.217.0.14:443: read tcp 172.17.0.4:1080->101.231.126.26:50881: read: connection reset by peer,
2019/05/22 08:52:55 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:35718->172.217.4.46:443: read tcp 172.17.0.4:1080->101.231.126.26:50945: read: connection reset by peer,
2019/05/22 08:52:56 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:42962->172.217.4.238:443: read tcp 172.17.0.4:1080->101.231.126.26:51041: read: connection reset by peer,
2019/05/22 08:52:57 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:46006->172.217.8.174:443: read tcp 172.17.0.4:1080->101.231.126.26:51105: read: connection reset by peer,
2019/05/22 08:52:58 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:35732->172.217.4.46:443: read tcp 172.17.0.4:1080->101.231.126.26:51329: read: connection reset by peer,
2019/05/22 08:52:59 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:46010->172.217.8.174:443: read tcp 172.17.0.4:1080->101.231.126.26:51489: read: connection reset by peer,
2019/05/22 08:53:00 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:46012->172.217.8.174:443: read tcp 172.17.0.4:1080->101.231.126.26:51649: read: connection reset by peer,
2019/05/22 08:53:01 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:34160->172.217.9.46:443: read tcp 172.17.0.4:1080->101.231.126.26:51777: read: connection reset by peer,
2019/05/22 08:53:02 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:34162->172.217.9.46:443: read tcp 172.17.0.4:1080->101.231.126.26:51809: read: connection reset by peer,
2019/05/22 08:53:04 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:46018->172.217.8.174:443: read tcp 172.17.0.4:1080->101.231.126.26:51937: read: connection reset by peer,
2019/05/22 08:53:11 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:34168->172.217.9.46:443: read tcp 172.17.0.4:1080->101.231.126.26:52481: read: connection reset by peer,
2019/05/22 08:53:13 [ERR] socks: Failed to handle request: readfrom tcp 172.17.0.4:35748->172.217.4.46:443: read tcp 172.17.0.4:1080->101.231.126.26:53025: read: connection reset by peer, |
same question |
Think I'm having the same issue: With auth, AntennaPod gives "authentication failed". (Without auth, it works fine.) Curl also gives an error:
Now considering whether it's safe enough to run without auth on a non-default port. And if there's any way we can (help) debug this? |
@keunes Please provide server logs when you receive Also, try to run http://ifcfg.co from host, maybe there are some DNS or Time Sync issues where server can't handle you request |
Hi @serjs, Many thanks. From my laptop:
On host:
|
If you are using auth - then it's an issue with Chrome, that doesn't support auth with SOCKS5 proxies: |
Hi @alexng353 |
Yeah, it works just fine for me. I've deployed the docker image with the following options: docker run -d --name socks5 -p 1080:1080 -e PROXY_USER=MY_USERNAME -e PROXY_PASSWORD=MY_PASSWORD serjs/go-socks5-proxy Running this test command yields a good download speed of roughly 300mbps on my shitty vps
Two things are interesting and come to mind about this project.
It might be time to move on and create a new one-click deployable socks5 proxy written in golang, especially if this project is completely dead. |
On a somewhat related but also not related, do you guys just not care about leaking your/your server's IP addresses? I mean I know that you can't do that much with an IP address but generally, its bad practice to leak it. |
@alexng353 Do you know of an alternative project that provides a similar functionality (and preferably compiles into a single binary as well) that doesn't leak your IP? Please, let me know if you do. |
Potentially you misunderstood my comment? What I meant was that some people were posting screenshots of their configuration/console with intact IP addresses unblurred. I do not currently have an alternative project that provides similar functionality but I am working on one and should be done in a few days https://github.com/alexng353/ihostproxy Self-hosted proxy written in golang, heavily inspired by this project. I don't know if it's going to be 10 million download material, but it will surely work. |
I also misunderstood the comment about leaking IP addresses @alexng353. Thanks for raising this issue.
Awesome that you're creating and sharing this. Will keep a look out on your progress. |
I thought you've found IP proxy client's IP leakage with this project, because some sites that I visited via this proxy detected me using a proxy (and I thought they could also had detected my client's IP) and refused services. |
To be honest I am not familiar enough with SOCKS5 or proxies in general to tell you whether or not they will be able to detect your client IP through this proxy. |
The proxy part already works. I'm working on IP whitelisting for connections and FQDN support after I read about what fqdn is and how it gets used in this serjs's project |
2019/05/22 08:30:37 [ERR] socks: Unsupported SOCKS version: [4],
2019/05/22 08:30:37 [ERR] socks: Failed to authenticate: No supported authentication mechanism,
The text was updated successfully, but these errors were encountered: