-
Notifications
You must be signed in to change notification settings - Fork 319
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
Socks5 relay uses a wrong protocol? #17
Comments
I cannot reproduce according to your test case. Socks5 works fine as the
protocol defines.
What is the version of pproxy? Did you use an old bugged version?
laohyx <notifications@github.com>于2018年11月30日 周五11:03写道:
… Hi, I am using pproxy as a socks5 relay server.
according to proto.py, Socks5.connect sends b'\x05\x01\x02\x01' + ... to
server at first. But other socks5 clients only sends b'\x05\x02\x00\x01
Another proof is running two pproxy process, one is:
pproxy -l socks5://:8080/ -v
the other is:
pproxy -l socks5://:8081/ -v -r socks5://localhost:8080 --test http://ifconfig.co/
It results in Unsupported protocol b'1' from ::1 and Exception: Unknown
remote protocol.
I am going to figure out the correct protocol then.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#17>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEBnhM7hBiGS9Pxss1gblrx_15bxWR-Qks5u0J_-gaJpZM4Y66_b>
.
|
Thanks for quick reply! I will try on linux. I used on windows before. |
I will try on windows. It may be a bug on windows OS
laohyx <notifications@github.com>于2018年11月30日 周五11:23写道:
… Thanks for quick reply!
I am using 1.9.4, the latest version from pip.
I will try on linux. I used on windows before.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEBnhJuV2717e_V_QcEwhpg-lk94FEGjks5u0KSegaJpZM4Y66_b>
.
|
yeah, on linux it works fine. Close the issue for now |
Oh on Windows I modified some code to cause the error. Then the reason not working for me is to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am using pproxy as a socks5 relay server.
according to
proto.py
,Socks5.connect
sendsb'\x05\x01\x02\x01' + ...
to server at first. But other socks5 clients only sendsb'\x05\x02\x00\x01
Another proof is running two
pproxy
process, one is:the other is:
It results in
Unsupported protocol b'1' from ::1
andException: Unknown remote protocol
.I am going to figure out the correct protocol then.
Thanks!
The text was updated successfully, but these errors were encountered: