socat - multipurpose relay for bidirectional data transfer

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name socat
Package version
Package release 2ubuntu2
Package architecture amd64
Package type deb
Installed size 1010 B
Download size 333.76 KB
Official Mirror
Socat (for SOcket CAT) establishes two bidirectional byte streams
and transfers data between them. Data channels may be files, pipes,
devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw,
UDP, TCP, SSL). It provides forking, logging and tracing, different
modes for interprocess communication and many more options.
It can be used, for example, as a TCP relay (one-shot or daemon),
as an external socksifier, as a shell interface to Unix sockets,
as an IPv6 relay, as a netcat and rinetd replacement, to redirect
TCP-oriented programs to a serial line, or to establish a relatively
secure environment (su and chroot) for running client or server shell
scripts inside network connections. Socat supports sctp as of 1.7.0.


Package Version Architecture Repository
socat_1.7.3.2-2ubuntu2_i386.deb i386 Ubuntu Main
socat - - -


Name Value
libc6 >= 2.15
libssl1.1 >= 1.1.0
libwrap0 >= 7.6-4~


Type URL
Binary Package socat_1.7.3.2-2ubuntu2_amd64.deb
Source Package socat

Install Howto

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




2018-04-04 - Julian Andres Klode <>
socat ( bionic; urgency=medium
* Add missing build-depends for tests, disable failing test 58 (does not like
2018-04-03 - Julian Andres Klode <>
socat ( bionic; urgency=medium
* Enable tests during build. We cannot test all of them, but most
work fine. For that, patch test suite, add some files to debian/clean
and export LC_ALL=LANG=C.UTF-8 during the build.
2018-02-05 - Dimitri John Ledkov <>
socat ( bionic; urgency=high
* No change rebuild against openssl1.1.
2017-11-19 - Laszlo Boszormenyi (GCS) <>
socat ( unstable; urgency=medium
* Update Standards-Version to 4.1.1:
- change package priority to optional.
* Remove dh-autoreconf build dependency.
[ Andreas Henriksson <> ]
* Have compat.h define PATH_MAX if undefined (closes: #882020).
2017-07-09 - Laszlo Boszormenyi (GCS) <>
socat ( unstable; urgency=medium
* New upstream release (closes: #854498).
* Drop merged in patches and update remaining ones.
* Watch for stable, 1.x releases only.
* Update Standards-Version to 4.0.0 and debhelper level to 10 .
2016-11-24 - Laszlo Boszormenyi (GCS) <>
socat ( unstable; urgency=low
* Backport upstream fix to build with OpenSSL 1.1.0 (closes: #828550).
* Update Standards-Version to 3.9.8 .
2016-02-02 - Laszlo Boszormenyi (GCS) <>
socat ( unstable; urgency=high
* New upstream release:
- fixes Socat security advisory 7: Bad DH p paramenter in OpenSSL
(closes: #813536),
- fixes Socat security advisory 8: stack overflow vulnerability in parser
(closes: #813535).
2015-12-30 - Laszlo Boszormenyi (GCS) <>
socat ( unstable; urgency=low
* Use upstream patch to fix CPU usage on unknown hosts (closes: #803378).
[ Jon DeVree <> ]
* Make use of SSLv3 methods conditional (closes: #804611).
[ Robert Bihlmeyer <> ]
* Document missing readline support in manpage (closes: #677371).
2015-05-23 - Laszlo Boszormenyi (GCS) <>
socat ( unstable; urgency=low
* New upstream release.
* Specify BUILD_DATE to make builds reproducible (closes: #764251).
* Update Standards-Version to 3.9.6 .
2015-02-12 - Laszlo Boszormenyi (GCS) <>
socat ( unstable; urgency=high
* Backport upstream fix to prevent DoS with fork, fixes CVE-2015-1379
(closes: #776234).

See Also

Package Description
software-properties-common_0. manage the repositories that you install software from (common)
software-properties-gtk_0. manage the repositories that you install software from (gtk)
sosreport_3.5-1ubuntu3_amd64.deb Set of tools to gather troubleshooting data from a system
sound-icons_0.1-6_all.deb Sounds for speech enabled applications
sound-theme-freedesktop_0.8-2ubuntu1_all.deb sound theme
spamassassin_3.4.1-8build1_all.deb Perl-based spam filter using text analysis
spamc_3.4.1-8build1_amd64.deb Client for SpamAssassin spam filtering daemon
speech-dispatcher-audio-plugins_0.8.8-1ubuntu1_amd64.deb Speech Dispatcher: Audio output plugins
speech-dispatcher-espeak-ng_0.8.8-1ubuntu1_amd64.deb Speech Dispatcher: Espeak-ng output module
speech-dispatcher_0.8.8-1ubuntu1_amd64.deb Common interface to speech synthesizers
speex-doc_1.2~rc1.2-1ubuntu2_all.deb Documentation for speex
sphinx-common_1.6.7-1ubuntu1_all.deb documentation generator for Python projects - common data
sphinx-doc_1.6.7-1ubuntu1_all.deb documentation generator for Python projects - documentation
sphinx-rtd-theme-common_0.2.4-1_all.deb sphinx theme from (common files)
spice-vdagent_0.17.0-1ubuntu2_amd64.deb Spice agent for Linux