socks_proxy icon indicating copy to clipboard operation
socks_proxy copied to clipboard

Username/Password Authentication for SOCKS5 is not as expected.

Open jiangtian616 opened this issue 1 year ago • 0 comments

https://github.com/tayoji-io/socks_proxy/blob/7a1a6fe2f4a0c82eb7d7de3059e11f79f57a153c/lib/http_parser.dart#L487-L489

From RFC1929, [VER] used in initial negotiation for authentication is 0x01 rather than 0x05, which leads to failure when autheticate with server.

image

Besides, when autheticate failed due to wrong username or password, an error occurs as #1.

jiangtian616 avatar Apr 09 '24 16:04 jiangtian616