macOS
brew install socatlocal Homebrew formula metadata
sudo port install socatMacPorts ports tree · sysutils/socat/Portfile · source: api.github.com
brew
SOcket CAT: netcat on steroids. Version 1.8.1.3 via Homebrew; verified 2026-06-27.
install
brew install socatlocal Homebrew formula metadata
sudo port install socatMacPorts ports tree · sysutils/socat/Portfile · source: api.github.com
sudo apk add socatAlpine Linux edge package indexes · socat · source: dl-cdn.alpinelinux.org
sudo apt install socatDebian stable package indexes · socat · source: deb.debian.org
sudo dnf install socatFedora Rawhide package metadata · socat · source: dl.fedoraproject.org
nix profile install nixpkgs#socatnixpkgs package indexes · pkgs/by-name/so/socat/package.nix · source: api.github.com
sudo pacman -S socatArch Linux sync databases · socat · source: geo.mirror.pkgbuild.com
sudo zypper install socatopenSUSE Tumbleweed package metadata · socat · source: download.opensuse.org
overview
SOcket CAT: netcat on steroids
history
socat is a classic Unix command-line relay for connecting two bidirectional byte streams. Its own homepage describes it as netcat++: an extended-design, new implementation command for TCP, UDP, Unix sockets, PTYs, files, SSL, proxies, raw sockets, and many other address types.
The official git repository's earliest imported commit is from January 27, 2008 for socat 1.6.0.0, while the project homepage continues to publish release notes, source tarballs, checksums, documentation, and security advisories.
socat's development history is long and conservative by CLI standards: releases add transport/address families, fix portability issues, and preserve compatibility for scripts. Version 1.8.0.0 in 2023 added network namespaces, POSIX message queues, systemd inetd-style ACCEPT-FD, SOCKS5 client support, and helper scripts for chained, muxed, and brokered connections.
The supplied package-manager facts show socat packaged across Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE. That breadth is consistent with its role as an administrator's network Swiss army knife, often installed as a dependency or debugging aid rather than as an end-user application.
Official docs and homepage examples show socat relaying between address specifications such as TCP listeners, proxies, Unix sockets, PTYs, files, stdio, SSL endpoints, and command execution. Users value it because a single invocation can replace small custom relay programs or awkward shell glue.
Package nerds care about socat because it is one of the canonical small tools that makes Unix packaging feel powerful: install one binary and gain a laboratory for sockets, pipes, terminals, tunnels, proxies, namespaces, and service debugging. Its release notes also matter to maintainers because networking and parser bugs can be security-sensitive.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
filan | cli | global executable | |
procan | cli | global executable | |
socat | cli | global executable | |
socat-broker.sh | cli | global executable | |
socat-chain.sh | cli | global executable | |
socat-mux.sh | cli | global executable | |
socat1 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
http://www.dest-unreach.org/socat/
install metadata
| Package key | brew:socat |
|---|---|
| Version | 1.8.1.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/socat |
| Homepage | http://www.dest-unreach.org/socat/ |
| Repository | https://repo.or.cz/socat.git |
| Upstream docs | http://www.dest-unreach.org/socat/doc/socat.html |
| License | GPL-2.0-only |
| Source archive | https://distfiles.alpinelinux.org/distfiles/edge/socat-1.8.1.3.tar.gz |
| Last updated | 2026-06-27T07:44:31Z |
| Pulse | updated |
| Dependencies | openssl@3 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | socat |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
socat 1.8.0.3-1
multipurpose relay for bidirectional data transfer
https://www.dest-unreach.org/socat/
sudo apt install socatsocat
nix profile install nixpkgs#socatsocat 1.8.0.0-4build3
multipurpose relay for bidirectional data transfer
https://www.dest-unreach.org/socat/
sudo apt install socatsocat 1.8.1.1-r0
Multipurpose relay for binary protocols
http://www.dest-unreach.org/socat/
sudo apk add socatsocat-doc 1.8.1.1-r0
Multipurpose relay for binary protocols (documentation)
http://www.dest-unreach.org/socat/
sudo apk add socat-docsocat-scripts 1.8.1.1-r0
Multipurpose relay for binary protocols (helper scripts)
http://www.dest-unreach.org/socat/
sudo apk add socat-scriptssocat 1.8.1.0-2.fc45
Bidirectional data relay between two data channels ('netcat++')
http://www.dest-unreach.org/socat/
sudo dnf install socatsocat 1.8.1.1-1
Multipurpose relay
http://www.dest-unreach.org/socat/
sudo pacman -S socatsocat 1.8.1.1-1.2
Multipurpose relay for bidirectional data transfer
http://www.dest-unreach.org/socat/
sudo zypper install socatsocat-extra 1.8.1.1-1.2
Additional scripts for socat
http://www.dest-unreach.org/socat/
sudo zypper install socat-extrasocat
sudo port install socatsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.