Bug 1000770

Summary: ncat displays debug message during normal use
Product: Red Hat Enterprise Linux 6 Reporter: Andreas M. Kirchwitz <amk>
Component: nmapAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Martin Žember <mzember>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: ebenes, mzember, ovasik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nmap-5.51-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1134412 (view as bug list) Environment:
Last Closed: 2014-06-10 12:24:21 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:
Bug Depends On:    
Bug Blocks: 947782, 1134412    

Description Andreas M. Kirchwitz 2013-08-25 02:15:23 UTC
Description of problem:
When using ncat to connect through a HTTP proxy a debug message is displayed on screen. This breaks automated use of ncat.

$ /usr/bin/ncat --proxy-type http --proxy proxy.example.com:3128 www.example.com 443
NCAT DEBUG: Proxy returned status code 200.

Version-Release number of selected component (if applicable):
nmap-5.51-2.el6.i686

How reproducible:
Use ncat to connect through a HTTP proxy.

Steps to Reproduce:
1. see above
2.
3.

Actual results:
Debug message displayed.

Expected results:
No message displayed unless verbose output has been requested.

Additional info:
Fedora 19 had same bug (ticket 994376). If you ask why I'm using "ncat" instead of "nc", that's because "nc" is even more broken for use of HTTP proxy:

$ nc -X connect -x www.example.com:3128 www.example.com 443
nc: Proxy error: "HTTP/1.1 200 Connection established"

Comment 2 Michal Hlavinka 2013-09-10 12:07:50 UTC
reproducible

Comment 3 RHEL Program Management 2013-10-13 23:14:05 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 9 errata-xmlrpc 2014-06-10 12:24:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0683.html