Socat
socat: Command Line Utility for Bidirectional Data Transfer
A command line utility for establishing bidirectional byte streams and transferring data between them, useful for various networking and connectivity tasks
What is Socat?
Socat is a versatile command line utility that can establish two bidirectional byte streams between a variety of different data sources and sinks. It performs the role of a bidirectional byte stream relay and is useful for solving numerous connectivity and networking tasks.
Some common uses of socat include:
- Creating TCP ports or UNIX sockets for listening or connecting
- Implementing secure shell port forwarding more flexibly than with OpenSSH
- Setting up SOCKS or proxy servers for routing application traffic
- Connecting two instances of a program's standard input and output streams
- Transferring files between two locations while optionally performing on-the-fly data transformations
Socat streams data between arbitrary combinations of data sinks and sources specified on the command line or in a configuration file. Possible data sinks and sources include TCP ports, UNIX sockets, local and remote files, named pipes, terminal devices, environment variables, and external programs.
With its ability to combine together many types of data inputs and outputs using advanced redirectors and modifiers, socat can solve complex connectivity challenges. It offers more flexibility than tools like netcat and makes it easy to set up one-off network utilities.
Socat Features
Features
- Creates bidirectional byte streams between two data channels
- Transfers data between TCP ports, UNIX sockets, files, pipes, devices, SSL sockets, and more
- Can be used for TCP port forwarding, proxying, network tunneling, etc
- Lightweight and portable with no dependencies
Pricing
- Open Source
Pros
Cons
Official Links
Reviews & Ratings
Login to ReviewThe Best Socat Alternatives
View all socat alternatives with detailed comparison →
Top Network & Admin and Networking Utilities and other similar apps like Socat
Netcat
Pwncat
NetCrypt