[csw-users] /testing socat

Bruno Bonfils asyd at asyd.net
Mon Aug 21 09:09:50 CEST 2006

socat [1] is now available for testing [2]

Socat is a relay for bidirectional data transfer between two independent
data channels. Each of these data channels may be a file, pipe, device
(terminal or modem, etc.), socket (Unix, IP4, IP6 - raw, UDP, TCP), a
client for SOCKS4, proxy CONNECT, or SSL, etc.  It provides forking,
logging, and dumping, different modes for interprocess communication,
and many more options. It can be used, for example, as a TCP relay
(one-shot or daemon), as a daemon-based socksifier, as a shell interface
to Unix sockets, as an IP6 relay, for redirecting TCP-oriented programs
to a serial line, or to establish a relatively secure environment (su
and chroot) for running client or server shell scripts with network

Few examples :

% socat READLINE TCP4:mail.blastwave.org:25
% socat READLINE UNIX:/var/imap/socket/lmtp
% socat -vv TCP4-LISTEN:8080,reuseaddr,fork TCP4:
% socat -vv OPENSSL-LISTEN:443,cert=cert.pem,cafile=cacert.pem,\
cert=cert.key,reuseaddr,fork TCP4:

[1] http://freshmeat.net/redir/socat/20872/url_homepage/socat
[2] http://www.blastwave.org/testing

http://asyd.net/home/   - Home Page
http://guses.org/home/  - French Speaking Solaris User Group

More information about the users mailing list