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

[Feature] Do not accept connection locally before connection with remote is established #320

Closed
janedoe-lab opened this issue Dec 21, 2023 · 2 comments
Labels

Comments

@janedoe-lab
Copy link

Description

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.

Is it possible with current tun2socks architecture to implement feature (or is this a bug?) where tun2socks would first try to connect to the port, and only if it succeeds, report success on the client side?

Is this feature related to a specific bug?

No response

Do you have a specific solution in mind?

No response

@xjasonlyu
Copy link
Owner

This feature has been mentioned in issue #83, and we have a closed/incomplete pr #235 for this kind of scenario.

Unfortunately, this feature is not yet planned to implement. But if you would like to contribute, a pr is always welcome!

@xjasonlyu xjasonlyu changed the title Do not accept connection locally before connection with remote is established, is it possible?[Feature] [Feature] Do not accept connection locally before connection with remote is established Dec 25, 2023
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Feb 24, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants