Bug ID 1127490
Summary netcat does not close connection
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.0
Hardware x86-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter Oestreicher@B1-Systems.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hello,

we have found a Bug in netcat-openbsd:

Problem:
--------
using netcat to access the management interface from openvpn do not close
connection. Need to use strg+c.

Expected:
---------
after use netcat to connect to management interface, the connection should be
closed afterwards.

Reproduce:
----------
Install openSUSE Leap 15, install and configure OpenVPN as a server within the
configuration file use the "management" directive to define an ip and a port
where management connections could go to.
Use "echo status|netcat <managementip> <managementport>" to get status
informations from openvpn server.

Tested different versions from netcat:

- from Repository: 1.178-lp150.1.7 (has bug)
- from OBS: 1.195-110.1 (has bug)
- from SUSE Linux Enterprise Server 12 SP2: 1.89-92.3.1 (works as expected)

Also tested with different Versions of OpenVPN. With all tested OpenVPN
versions its the same Problem (also with the one from SLES12SP2, where we know
it works like it should).

Our Test-System was:

NAME="openSUSE Leap"
VERSION="15.0"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.0"
PRETTY_NAME="openSUSE Leap 15.0"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.0"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"


You are receiving this mail because: