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

[ network, program ] [ Propose Tags ] [ Report a vulnerability ]

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, containers, directory, haskell98, network [details]
Tested with ghc ==7.0.3
License LicenseRef-OtherLicense
Copyright © 2011-2012 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 2012-02-16T00:17:31Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables sock2stream
Downloads 2342 total (4 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-25 [all 7 reports]

Readme for sock2stream-0.3

[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