[Bug 2056485] [NEW] Multiple issues found on Ubuntu 20.04 against socat

bugproxy 2056485 at bugs.launchpad.net
Thu Mar 7 20:19:16 UTC 2024


Public bug reported:

---Problem Description---
Novalink provides a tool called mkvterm. Mkvterm takes an lpar id argument and creates a vty-server device on device nodes /dev/hvcs*. HVCS is a device driver for the IBM Hypervisor Virtual Console Server (hvcs). Mkvterm then uses socat to connect. 

Socat is not behaving as expected. When escape=0x1d is passed, you have
to hit enter for socat to close (expected behavior is Ctrl-] closing the
connection). In addition, Ctrl-C closes the connection. When using the
up and down arrows, junk is printed. Password is also visible.

The follow commit fixes the above issues, please add: https://repo.or.cz/socat.git/commit/5ebf36038f39
 
---uname output---
Linux neop91.pok.stglabs.ibm.com 5.4.0-173-generic #191-Ubuntu SMP Fri Feb 2 13:54:35 UTC 2024 ppc64le ppc64le ppc64le GNU/Linux
 
---Steps to Reproduce---
 Fixes to other issues required to reproduce. Mentioned in other bugs.

Configure a vty-server and try to connect with socat:

/usr/bin/socat STDIO,raw,echo=0,escape=0x1d /dev/hvcs[minor num]

Add You will see that the password is visible. In addition, the up and
down arrows do not work, junk is outputted. In addition, Ctrl-] does not
close the vterm. Ctrl-C closes the vterm, and it should not.

** Affects: socat (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-205805 severity-high targetmilestone-inin2004

** Tags added: architecture-ppc64le bugnameltc-205805 severity-high
targetmilestone-inin2004

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)

** Package changed: ubuntu => socat (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to socat in Ubuntu.
https://bugs.launchpad.net/bugs/2056485

Title:
  Multiple issues found on Ubuntu 20.04 against socat

Status in socat package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  Novalink provides a tool called mkvterm. Mkvterm takes an lpar id argument and creates a vty-server device on device nodes /dev/hvcs*. HVCS is a device driver for the IBM Hypervisor Virtual Console Server (hvcs). Mkvterm then uses socat to connect. 

  Socat is not behaving as expected. When escape=0x1d is passed, you
  have to hit enter for socat to close (expected behavior is Ctrl-]
  closing the connection). In addition, Ctrl-C closes the connection.
  When using the up and down arrows, junk is printed. Password is also
  visible.

  The follow commit fixes the above issues, please add: https://repo.or.cz/socat.git/commit/5ebf36038f39
   
  ---uname output---
  Linux neop91.pok.stglabs.ibm.com 5.4.0-173-generic #191-Ubuntu SMP Fri Feb 2 13:54:35 UTC 2024 ppc64le ppc64le ppc64le GNU/Linux
   
  ---Steps to Reproduce---
   Fixes to other issues required to reproduce. Mentioned in other bugs.

  Configure a vty-server and try to connect with socat:

  /usr/bin/socat STDIO,raw,echo=0,escape=0x1d /dev/hvcs[minor num]

  Add You will see that the password is visible. In addition, the up and
  down arrows do not work, junk is outputted. In addition, Ctrl-] does
  not close the vterm. Ctrl-C closes the vterm, and it should not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/socat/+bug/2056485/+subscriptions




More information about the foundations-bugs mailing list