Add support for backpipes

rconn

Administrator
Staff member
May 14, 2008
10,975
97
Add support for backpipes

Linux has the concept of pipes within the file system that can be used to create backpipes.

The command in linux is:
mkmod backpipe p
nc -l -p 80 0<backpipe | nc 127.0.0.1 22 1>backpipe

That creates a listener that connects its stdin to the backpipe (0<) and forwards stdout to the client (|). The client gets its stdin from the pipe and directs its stdout to the backpipe (1>).

Scott Mintz on April 21, 2014 12:55