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

connection doesn't get established #2

Open
yutanicorp opened this issue Oct 3, 2019 · 2 comments
Open

connection doesn't get established #2

yutanicorp opened this issue Oct 3, 2019 · 2 comments

Comments

@yutanicorp
Copy link

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
Copy link
Author

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

@Drewsif
Copy link
Owner

Drewsif commented Oct 16, 2019

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?

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

2 participants