https://github.com/singpolyma/sock2stream
Tunnel a socket over a single datastream (stdin/stdout)
https://github.com/singpolyma/sock2stream
Last synced: about 1 year ago
JSON representation
Tunnel a socket over a single datastream (stdin/stdout)
- Host: GitHub
- URL: https://github.com/singpolyma/sock2stream
- Owner: singpolyma
- License: isc
- Created: 2011-12-26T18:03:38.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-15T17:15:11.000Z (about 14 years ago)
- Last Synced: 2025-03-26T13:54:06.212Z (about 1 year ago)
- Language: Haskell
- Homepage:
- Size: 93.8 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
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