[Bug 1656785] [NEW] nc -d -l does not return data (only empty strings)

Stefan Bader stefan.bader at canonical.com
Mon Jan 16 10:32:05 UTC 2017


Public bug reported:

The Zesty (17.04) version of nc (1.130-1ubuntu1) no longer returns the
received data when using the '-d' (do not listen on stdin) flag together
with the '-l' (listen on socket) flag. This used to work in previous
releases (1.105-7ubuntu1 Trusty-Yakkety). In fact, in the previous
version, the '-d' flag seems to be required to make the data transfer
more reliable in scripts.

Testcase: Attached script passes on older versions, fails with the
current version of nc.

** Affects: netcat-openbsd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: zesty

** Attachment added: "Testscript"
   https://bugs.launchpad.net/bugs/1656785/+attachment/4804928/+files/nc-test

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

Title:
  nc -d -l does not return data (only empty strings)

Status in netcat-openbsd package in Ubuntu:
  New

Bug description:
  The Zesty (17.04) version of nc (1.130-1ubuntu1) no longer returns the
  received data when using the '-d' (do not listen on stdin) flag
  together with the '-l' (listen on socket) flag. This used to work in
  previous releases (1.105-7ubuntu1 Trusty-Yakkety). In fact, in the
  previous version, the '-d' flag seems to be required to make the data
  transfer more reliable in scripts.

  Testcase: Attached script passes on older versions, fails with the
  current version of nc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcat-openbsd/+bug/1656785/+subscriptions



More information about the foundations-bugs mailing list