Socat / 2.0.0 Beta 7

An Open Source relay targeted at bidirectional data transfer between two independent data channels

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!

What's new in Socat

  • corrections:
  • LISTEN based addresses applied some address options, e.g. so-keepalive, to the listening file descriptor instead of the connected file descriptor Thanks to Ulises Alonso for reporting this bug
  • make failed after configure with non gcc compiler due to missing include. Thanks to Horacio Mijail for reporting this problem
  • configure checked for --disable-rawsocket but printed --disable-genericsocket in the help text. Thanks to Ben Gardiner for reporting and patching this bug
Read full changelog
send us
an update
GPL (GNU General Public License) 
Gerhard Rieger
3.9/5 17
ROOT \ Utilities
5 Socat Screenshots:
Socat is an open source and POSIX compliant command-line software implemented in C and designed from the offset to act as a bidirectional data transfer relay between two autonomous data channels.

At the moment, it supports pipe, file, device (modem or terminal), SSL, socket (IPv4, IPv6, UNIX, UDP, TCP), proxy CONNECT, or a client for SOCKS4. Socat is capable of supporting multicasts and broadcasts, Linux tap/tun, abstract Unix sockets, PTYs and GNU readline.

In addition, the software provides logging, dumping and forking of different modes that can be used for interprocess communication, or you can use it as a TCP or IPv6/IPv4 relay, a shell interface to UNIX sockets, a daemon-based socksifier, as well as a tool for redirecting TCP-oriented software to a serial line.

Command-line options

Socat offers a wide range of command-line options that can be viewed at a glance by running the ‘./socat -h’ command in a terminal emulator. Among these, we can mention the ability to analyze the file descriptors before the loop, to set a timeout before closing the second channel, to set the total inactivity timeout in seconds, as well as to specify the unidirectional mode.

There are also various command-line options that allow you to obtain lock, fail or wait, choose between IPv4 or IPv6, to disable checking of option groups, as well as to set several logging specifications. The usage message will also teach you how to use single-address, bi-addresses and address-head.

Getting started with Socat

Installing Socat on a GNU/Linux distributions proves to be an easy task, as all you have to do is to run the ‘./configure && make’ install command in a terminal emulator to configure and compile the program, followed by the ‘sudo make install’ command, after downloading the latest stable or development version of the program from Softpedia.

Socat was reviewed by , last updated on December 8th, 2014

#data relay #data transfer #bidirectional transfer #socat #data #relay #transfer

Add your review!