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

[ network, program ] [ Propose Tags ]

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

[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3
Dependencies base (>=4 && <5), binary, bytestring, chp (>=2.2 && <2.3), containers, directory, haskell98, network [details]
License LicenseRef-OtherLicense
Copyright © 2011 Stephen Paul Weber
Author Stephen Paul Weber <singpolyma@singpolyma.net>
Maintainer Stephen Paul Weber <singpolyma@singpolyma.net>
Category Network
Home page https://github.com/singpolyma/sock2stream
Bug tracker https://github.com/singpolyma/sock2stream/issues
Source repo head: git clone git://github.com/singpolyma/sock2stream.git
Uploaded by StephenWeber at 2011-12-29T20:13:37Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables sock2stream
Downloads 2282 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-26 [all 6 reports]

Readme for sock2stream-0.2

[back to package description]
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