PySecretSOCKS icon indicating copy to clipboard operation
PySecretSOCKS copied to clipboard

connection doesn't get established

Open yutanicorp opened this issue 5 years ago • 2 comments

Hello Drew! Thank you for creating this program. I could really use it well, but unfortunately, I stumbled upon an issue.

REPRODUCTION STEPS

  1. execute PySecretSocks with Python 3.7.3 on client
  2. configure proxifier Proxychains4 to proxify traffic on localhost:1080 to remote host on 10.10.1.72
  3. run proxifier Proxychains4 (on client) to proxify netcat traffic through PySecretSocks bind on localhost:1080
  4. netcat on remote host states "Reconnection from 10.10.1.1" and seems to be waiting
  5. a moment later, Proxychains4 on client raises error: "Timeout"
  6. netcat on remote host stops

OS: Linux Fedora 29 Hardware: x86_64

Regarding your example.py, why do you state: "fake remote server"? A remote server is necessary. Perhaps, I misinterpreted your code, but both the Client and Server classes need to be instantiated to have a functioning SOCKS Proxy Server?

yutanicorp avatar Oct 03 '19 10:10 yutanicorp

Hi Drew, could you please let me know if you want to look into this? Thank you

yutanicorp avatar Oct 11 '19 18:10 yutanicorp

So the part I think you're missing is that you don't have a remote PySecretSocks server. If you look at the example here you can see the server object created to accept a remote connect. That's the "fake server" in the example

From you're reproduction steps I'm not sure what you have running on the remote host. Does that point you in the right direction or did I misunderstand?

Drewsif avatar Oct 16 '19 22:10 Drewsif