Tunnel a socket over a single datastream (stdin/stdout)

Latest on Hackage:0.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

OtherLicense licensed and maintained by Stephen Paul Weber
This is an initial implementation of a socket multiplexer/demultiplexer to tunnel Unix domain sockets over pipes/streams.

The primary envisioned use is to tunnel Unix domain sockets over SSH like so:

> mkfifo /tmp/sockin
> ssh user@host socket2stream -l /path/to/remotesocket < /tmp/sockin | socket2stream -r /path/to/localsocket > /tmp/sockin
Used by 1 package:
comments powered byDisqus