-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ncat not work with --proxy at version 7.90, 7.91 #2149
Comments
FWIW, the result of bisecting the commits points to r37944 (0d613e3). --- a/ncat/ncat_connect.c
+++ b/ncat/ncat_connect.c
@@ -1138,6 +1138,7 @@
/* Create IOD for nsp->stdin */
if ((cs.stdin_nsi = nsock_iod_new2(mypool, 0, NULL)) == NULL)
bye("Failed to create stdin nsiod.");
+ post_connect(mypool, cs.sock_nsi);
}
/* connect */ However, TLS over proxy does not work. |
I can confirm the same issue on 7.91 on Linux(Gentoo). i.e. the following works in 7.80 but not in 7.91: |
I can confirm the same issue on MacOS Big Sur (v11.0.1). Reverting to 7.80 didn't work either since it results in this issue. |
|
When will the fix for this be released? Do I understand correctly that right now there's no working way to proxy SSH over SOCKS5 with authentication on Big Sur? Old Ncap versions don't work because of #2079. New Ncap versions have this issue. Is there a workaround other than manually compiling latest sources? Thank you. |
Arch Linux - same issue - 7.91 workaround - use nc from openbsd @yyy |
Now it works fine after update to 7.92 |
1 similar comment
Now it works fine after update to 7.92 |
Describe the bug
ncat not work with
--proxy
at version 7.90, 7.91. The old version 7.80 is OK.To Reproduce
I'm using a Windows machine, run
ssh
, just to create a test socks5 proxy.Unzip
nmap-7.91-win32.zip
, then run.\ncat.exe --proxy 127.0.0.1:1080 --proxy-type socks5 -vv github.com 22
ssh
output contains:ncat
just output this, and exit:Expected behavior
Output this and wait user input:
Version info (please complete the following information):
ncat --version
:Ncat: Version 7.91 ( https://nmap.org/ncat )
Additional context
None.
The text was updated successfully, but these errors were encountered: