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

Socksv4 not supported? #28

Open
LosWheatleynDew opened this issue Sep 24, 2023 · 0 comments
Open

Socksv4 not supported? #28

LosWheatleynDew opened this issue Sep 24, 2023 · 0 comments

Comments

@LosWheatleynDew
Copy link

Info

So apparently trying this on windows proxy it didn't want to work
However manually putting it on firefox works.
When i set socks to v4 on firefox it completely refuses to connect whilst putting it on v5 works fine

Error

Error: 
   0: An error occurred during the proxy handshake procedure
   1: invalid SOCKS version 01, expected 04

Metadata

key value
Version 0.1.3
OS Windows 10 Pro
Command dispatch2 --debug start 192.168.1.243 10.80.69.107

SpanTrace

SpanTrace:
   0: dispatch::socks::handle_request_v4
           with �[3mself�[0m�[2m=�[0mSocksHandshake { reader: ReadHalf(PollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:49965, socket: 1816 }) }), writer: WriteHalf(PollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:49965, socket: 1816 }) }), dispatcher: WeightedRoundRobinDispatcher(Mutex { data: WeightedRoundRobinDispatcherInner { ipv4: State { addresses: [WeightedAddress { ip: 192.168.1.243, weight: 1 }, WeightedAddress { ip: 10.80.69.107, weight: 1 }], address_idx: 0, count: 0 }, ipv6: State { addresses: [], address_idx: 0, count: 0 } } }) }
             at src\socks.rs:259
   1: dispatch::socks::handle_handshake_with_version
           with �[3mself�[0m�[2m=�[0mSocksHandshake { reader: ReadHalf(PollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:49965, socket: 1816 }) }), writer: WriteHalf(PollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:49965, socket: 1816 }) }), dispatcher: WeightedRoundRobinDispatcher(Mutex { data: WeightedRoundRobinDispatcherInner { ipv4: State { addresses: [WeightedAddress { ip: 192.168.1.243, weight: 1 }, WeightedAddress { ip: 10.80.69.107, weight: 1 }], address_idx: 0, count: 0 }, ipv6: State { addresses: [], address_idx: 0, count: 0 } } }) } �[3mversion�[0m�[2m=�[0mV4
             at src\socks.rs:121
   2: dispatch::server::handle_socket
           with �[3msocket�[0m�[2m=�[0mPollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:49965, socket: 1816 }) } �[3mdispatcher�[0m�[2m=�[0mWeightedRoundRobinDispatcher(Mutex { data: WeightedRoundRobinDispatcherInner { ipv4: State { addresses: [WeightedAddress { ip: 192.168.1.243, weight: 1 }, WeightedAddress { ip: 10.80.69.107, weight: 1 }], address_idx: 0, count: 0 }, ipv6: State { addresses: [], address_idx: 0, count: 0 } } })
             at src\server.rs:19

Backtrace

Backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: BaseThreadInitThunk
  22: RtlUserThreadStart

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

No branches or pull requests

1 participant