Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/singpolyma/sock2stream

Tunnel a socket over a single datastream (stdin/stdout)
https://github.com/singpolyma/sock2stream

Last synced: 3 months ago
JSON representation

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

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