[Bug 1628910] Re: netcat silently fails without error message when not using -v

Heinrich Schuchardt 1628910 at bugs.launchpad.net
Wed Feb 23 11:59:04 UTC 2022


** Changed in: netcat-openbsd (Ubuntu)
       Status: New => Confirmed

-- 
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/1628910

Title:
  netcat silently fails without error message when not using -v

Status in netcat-openbsd package in Ubuntu:
  Confirmed

Bug description:
  $ nc localhost 1234

  $ nc -v localhost 1234
  nc: connect to localhost port 1234 (tcp) failed: Connection refused

  
  even without the -v option I expect nc to report any errors to stderr instead of just exiting. i sometimes use nc together with tar as a simple file transfer tool and its pretty handy to know what is going on.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: netcat-openbsd 1.105-7ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
  Uname: Linux 4.4.0-31-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CasperVersion: 1.376
  CurrentDesktop: Unity
  Date: Thu Sep 29 12:37:32 2016
  Dependencies:
   gcc-6-base 6.0.1-0ubuntu1
   libbsd0 0.8.2-1
   libc6 2.23-0ubuntu3
   libgcc1 1:6.0.1-0ubuntu1
  LiveMediaBuild: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: netcat-openbsd
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list