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

Do not accept connection locally before connection with remote is established, is it possible? #4

Open
janedoe-lab opened this issue Dec 19, 2023 · 2 comments

Comments

@janedoe-lab
Copy link

Currently, when proxied application makes a connection, it immediately succeeds as if port is always open. This works very differently from proxychains, which waits to establish connection with the remote. It is a subtle difference, but it breaks software that needs to check if port is truly open.

I am not familiar with LWIP and usage of namespaces - I couldn't identify area where connection is "accepted" locally.

Do you think it is even possible with the current architecture? And if yes, perhaps could point me to where to look at relevant pieces of the code, so I could try my hand at tweaking it?

@nlzy
Copy link
Owner

nlzy commented Dec 19, 2023

Hi,

Thanks for your advice. It's not hard to implement. I've done on it.

Could you have a try on this?

e470944

@janedoe-lab
Copy link
Author

It works awesomely! I've submitted small PR #5 just to clean up error messages.

Thank you so much!

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