Bug 2020888

Summary: socsk5 proxy in nmap-ncat-3:7.91-8 seems broken
Product: [Fedora] Fedora Reporter: Michael Kalisz <michael.kalisz>
Component: nmapAssignee: Pavel Zhukov <pavel>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 35CC: mhlavink, pavel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-08 10:57:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Kalisz 2021-11-06 22:31:14 UTC
Description of problem:
ssh  -o ProxyCommand="ncat --proxy-type socks5 --proxy <host>:<port>  %h %p" <user>@<host>

Does not seem to work with Ncat version 7.91 but works fine with 7.92


Steps to Reproduce:
1. create a sock5 proxy connection "ssh -D <port>"
2. Try using that connection with 
ssh -o ProxyCommand="ncat --proxy-type socks5 --proxy <host>:<port>  %h %p" <user>@<host>

It will break with the supplied version in fedora 35 ( nmap-ncat-3:7.91-8.fc35.x86_64)

But works fine with the version from nmap.org

sudo rpm -vhU https://nmap.org/dist/ncat-7.92-1.x86_64.rpm

Comment 1 Pavel Zhukov 2021-11-08 10:57:49 UTC

*** This bug has been marked as a duplicate of bug 2020453 ***