netcat-openbsd - TCP/IP swiss army knife

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name netcat-openbsd
Package version 1.187
Package release 1
Package architecture amd64
Package type deb
Installed size 94 B
Download size 38.67 KB
Official Mirror
A simple Unix utility which reads and writes data across network
connections using TCP or UDP protocol.  It is designed to be a reliable
"back-end" tool that can be used directly or easily driven by other
programs and scripts. At the same time it is a feature-rich network
debugging and exploration tool, since it can create almost any kind of
connection you would need and has several interesting built-in
This package contains the OpenBSD rewrite of netcat, including support
for IPv6, proxies, and Unix sockets.


Package Version Architecture Repository
netcat-openbsd_1.187-1ubuntu0.1_amd64.deb 1.187 amd64 Ubuntu Updates Main
netcat-openbsd_1.187-1ubuntu0.1_i386.deb 1.187 i386 Ubuntu Updates Main
netcat-openbsd_1.187-1_i386.deb 1.187 i386 Ubuntu Main
netcat-openbsd - - -


Name Value
libbsd0 >= 0.2.0
libc6 >= 2.15


Name Value
netcat -


Name Value
netcat << 1.10-35


Type URL
Binary Package netcat-openbsd_1.187-1_amd64.deb
Source Package netcat-openbsd

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install netcat-openbsd deb package:
    # sudo apt-get install netcat-openbsd




2017-12-03 - Guilhem Moulin <>
netcat-openbsd (1.187-1) unstable; urgency=low
* New upstream release (from OpenBSD 6.2)
* debian/control: Bump Standards-Version to 4.1.1 (no changes necessary).
* debian/patches/send-crlf.patch: clarify in the manpage that the "-C" flag
(translate LF to CR+LF) only affects input data, and that LF characters
that are already preceded with CR are not translated.  Closes: #861062.
* Allow usage of -s with -l for consistency with netcat-traditional.  `nc -l
-p 12345 -s ::1` now behave as `nc -l -p 12345 ::1` and `nc -l ::1 12345`.
Closes: #879853.
2017-07-31 - Guilhem Moulin <>
netcat-openbsd (1.178-3) unstable; urgency=low
* Fix FTBFS on hurd-i386.
* Fix verbose mode with UDP (-uv).  Thanks to Akos Pasztory for the report
and patch.  Closes: #870240.
2017-06-27 - Guilhem Moulin <>
netcat-openbsd (1.178-2) unstable; urgency=medium
* debian/control: Bump Standards-Version to 4.0.0 (no changes necessary).
* debian/rules: Avoid parsing dpkg-parsechangelog(1) output.
* Fix FTBFS on kFreeBSD.
2017-06-17 - Guilhem Moulin <>
netcat-openbsd (1.178-1) unstable; urgency=medium
* New upstream release (compiled without TLS support).
* debian/copyright: Fix license for atomicio.[ch] and socks.c (2-clause vs
3-clause BSD). Closes: #860459.
* debian/README.source: new file showing how to import new upstream
* set TCP MD5SIG correctly for client connections.  Thanks to Thomas Habets
for the patch.
2017-03-03 - Guilhem Moulin <>
netcat-openbsd (1.130-3) unstable; urgency=medium
* Change defaults from "-q0" to "-q-1" to match upstream defaults since the
introduction of flag "-N" in version 1.110.  Passing a non-negative value
to "-q" now implies "-N"; in particular, "-q0" is now a mere alias for
"-N". (Closes: #854292)
2017-01-26 - Aron Xu <>
netcat-openbsd (1.130-2) unstable; urgency=medium
* Fix handling of delayed exit option (Closes: #849192, LP: #1656785)
Thanks to Stefan Bader!
2016-11-11 - Guilhem Moulin <>
netcat-openbsd (1.130-1) unstable; urgency=low
[ Aron Xu ]
* Fix cross build, thanks Colin Watson. (Closes: #694844)
[ Guilhem Moulin ]
* Add self to Uploaders.
* New upstream release. (Closes: #682444, #751105, #752931, #817050)
* Ensure each line ends with CRLF when -C is set, not just the last line
from the read buffer.  (Closes: #705223, #711784)
* Pause after each line when -i is set, not just after the last line from
the read buffer.
* debian/control:
+ Bump Standards-Version to 3.9.8 (no changes necessary).
+ Upgrade Vcs-Git URI from git:// to https://.
+ Upgrade Vcs-Browser URI from http:// to https:// and switch to the
canonical cgit URI.
* debian/compat: Bump debhelper compatibility version to 9.
* debian/rules: Set DEB_BUILD_MAINT_OPTIONS to compile and link ELF
executables with hardening options enabled.
* debian/copyright:
+ Add missing entries for nc.1 and Makefile.
+ Replace the format URI by a versioned
one .
* debian/patches/0001-port-to-linux-with-libsd.patch: Don't truncate to
"Proxy-Authorization" header to 7 bytes.  Thanks to Petros Angelatos for
the patch.  (Closes: #792454)
* debian/patches/0010-misc-failures-and-features.patch: fix broadcast
support (SO_BROADCAST is a socket-level option not a TCP socket option).
Thanks to Jakob Wrigley for the patch.  (Closes: #702204)
2012-06-13 - Aron Xu <>
netcat-openbsd (1.105-7) unstable; urgency=low
* Make UNIX dgram sockets work (Closes: #676997).
2012-05-03 - Aron Xu <>
netcat-openbsd (1.105-6) unstable; urgency=low
* Fix segfaults when using -Ulv (Closes: #668558).
* Do not continue to listen on port after accepting connection.

See Also

Package Description
netpbm_10.0-15.3build1_amd64.deb Graphics conversion tools between image formats
netplan.io_0.36.1_amd64.deb YAML network configuration abstraction for various backends
nettle-dev_3.4-1_amd64.deb low level cryptographic library (development files)
network-manager-config-connectivity-ubuntu_1.10.6-2ubuntu1_all.deb NetworkManager configuration to enable connectivity checking
network-manager-dev_1.10.6-2ubuntu1_amd64.deb network management framework (development files)
network-manager-gnome_1.8.10-2ubuntu1_amd64.deb network management framework (GNOME frontend)
network-manager-openvpn_1.8.2-1_amd64.deb network management framework (OpenVPN plugin core)
network-manager-pptp-gnome_1.2.6-1_amd64.deb network management framework (PPTP plugin GNOME GUI)
network-manager-pptp_1.2.6-1_amd64.deb network management framework (PPTP plugin core)
network-manager_1.10.6-2ubuntu1_amd64.deb network management framework (daemon and userspace tools)
networkd-dispatcher_1.7-0ubuntu3_all.deb Dispatcher service for systemd-networkd connection status changes
neutron-common_12.0.1-0ubuntu1_all.deb Neutron is a virtual network service for Openstack - common
neutron-dhcp-agent_12.0.1-0ubuntu1_all.deb Neutron is a virtual network service for Openstack - DHCP agent
neutron-l3-agent_12.0.1-0ubuntu1_all.deb Neutron is a virtual network service for Openstack - l3 agent
neutron-linuxbridge-agent_12.0.1-0ubuntu1_all.deb Neutron is a virtual network service for Openstack - linuxbridge agent