Socat 126.96.36.199 / 2.0.0 Beta 7
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.
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.
Reviewed by Marius Nestor, last updated on December 8th, 2014
In a hurry? Add it to your Download Basket!
- 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
Application descriptionSocat is an open source and freely distributed command-line software written in the C programming language and designe...