Network pipes


   1. Purpose
   2. Examples
   3. Copying
   4. Downloading

1. Purpose

Nov 24 1999, Bisqwit spoke:
I just noticed that netpipes doesn't support bidirectional pipes.
So I made my own version.
Now I can say in computer A that "plis 12345 -io ohjelma" and in computer B that "pcon A 12345 -io ohjelma2",
and they communicate together then.
My example utilization was that I can send the picture of SNES-emulator to another
computer via network, and grab the keyboard input there, so get two consoles to
the same game.
My friend wanted to watch when I play FF6, but didn't want to sit next to my monitor,
and asked if he could get the picture to his monitor.
And he got it.
Then he asked if he could play it from his computer at the same time as me...
And now it works too.
Other ways of use can everybody invent theirselves.
It's really easy to make simple server software with this.
For example, do "plis 79 -io finger" and then you have a finger-service.
Or "plis 5555 -o 'cat signature'" and then port 5555 gives your signature.

2. Examples

Examples:

   Make a finger service:
   
      plis 79 -ioe in.fingerd
      
      (socket connected to in.fingerd's stdin, stdout and stderr.)
      
   Make a server giving your signature at port 5555:
      
      plis 5555 -o 'cat signature' </dev/null 2>/dev/null
      
      (stdout connected to socket,
       stdin & stderr redirected to /dev/null)
      
   Make a test client for tcp connections
   (recommended instead of using telnet):
   
      pcon -f localhost 11111 -i cat -o cat
   
      (two cats: first redirects socket to stdout,
       and second redirects stdin to socket.)
   
   Make a linebuffered test client for tcp connections:
   
      pcon www.icon.fi 80 -i cat -o cat
      
   Make an echo server:
   
      plis 11111 -io cat
      
      (the cat redirects socket to socket.)
      
   Make a redirection server (this redirects all
   incoming connections in port 1234 to remotehost
   port 4123 (useful for proxying)):
   
      plis 1234 -io 'pcon remotehost 4123 -i cat -o cat'
      
      (the first cat is from pcon to plis,
       and the second is from plis to pcon.)
   
   Connect to an irc server and assign a bot to talk with
   it (stdin, stdout), errors logged:
   
      pcon ircserver.org 6667 -io './irc-bot' 2>errors.log

   Redirect world (10.10.10.10) smtp (25) port to virus checker (192.0.0.2),
   redirect intra (192.0.0.1)   smtp (25) port to some other port (900):

      plis -h10.10.10.10 25 -io 'pcon 192.0.0.2 25 -i cat -o cat' 2>/dev/null &
      plis -h192.0.0.1 25 -io 'pcon 127.0.0.1 900 -i cat -o cat' 2>/dev/null &

3. Copying

pipes has been written by Joel Yliluoma, a.k.a. Bisqwit,
and is distributed under the terms of the General Public License (GPL).

If you happen to see this program useful for you, I'd appreciate if you tell me :) Perhaps it would motivate me to enhance the program.

4. Downloading

Downloading help

  • Do not download everything - you only need one file (newest version for your platform)!
  • Do not use download accelerators or you will be banned from this server before your download is complete!

Date (Y-md-Hi) acc        Size Name                
2005-0911-1316 r--       21642 pipes-1.16.1.tar.bz2
2005-0911-1316 r--       21887 pipes-1.16.1.tar.gz
2005-0911-1316 r--        2928 patch-pipes-1.16-1.16.1.bz2
2005-0911-1316 r--        2695 patch-pipes-1.16-1.16.1.gz
2004-0212-0021 r--       21441 pipes-1.16.tar.bz2
2004-0212-0021 r--        5480 patch-pipes-1.15-1.16.bz2
2003-0526-1219 r--       20856 pipes-1.15.tar.bz2
2003-0526-1219 r--        3784 patch-pipes-1.14.5-1.15.bz2
2003-0526-1219 r--       19199 patch-pipes-1.14-1.15.bz2
2003-0110-1614 r--       20532 pipes-1.14.5.tar.bz2
2003-0110-1614 r--        8421 patch-pipes-1.14.3-1.14.5.bz2
2002-0718-0848 r--       19333 pipes-1.14.3.tar.bz2
2002-0718-0848 r--       11473 patch-pipes-1.14.2-1.14.3.bz2
2002-0501-2014 r--       11186 pipes-1.14.2.tar.bz2
2002-0501-2014 r--        1972 patch-pipes-1.14.1-1.14.2.bz2
2002-0331-0125 r--       11000 pipes-1.14.1.tar.bz2
2002-0331-0125 r--         597 patch-pipes-1.14-1.14.1.bz2
2002-0314-0819 r--       10994 pipes-1.14.tar.bz2
2002-0314-0819 r--        1277 patch-pipes-1.13.1-1.14.bz2
2002-0314-0819 r--        3486 patch-pipes-1.13-1.14.bz2
2002-0304-1239 r--       10947 pipes-1.13.1.tar.bz2
2002-0304-1239 r--        3971 patch-pipes-1.13-1.13.1.bz2
2002-0209-2132 r--       10738 pipes-1.13.rar
2002-0203-1842 r--       10585 pipes-1.13.tar.bz2
2002-0203-1842 r--        2655 patch-pipes-1.12-1.13.bz2
2002-0203-1811 r--       10379 pipes-1.12.rar
2002-0203-1811 r--       10450 pipes-1.12.tar.bz2
2002-0203-1811 r--        7738 patch-pipes-1.11.1-1.12.bz2
2002-0203-1811 r--        9438 patch-pipes-1.11-1.12.bz2
2001-1017-0131 r--        7532 pipes-1.11.1.rar
2001-1017-0131 r--        7612 pipes-1.11.1.tar.bz2
2001-1017-0131 r--        8799 pipes-1.11.1.zip
2001-1017-0131 r--        4228 patch-pipes-1.11-1.11.1.bz2
2001-0501-1953 r--        5297 pipes-1.11.rar
2001-0501-1953 r--        5402 pipes-1.11.tar.bz2
2001-0501-1953 r--        6095 pipes-1.11.zip
2001-0501-1953 r--        4845 patch-pipes-1.10-1.11.bz2
2000-0914-1850 r--        4811 pipes-1.10.rar
2000-0914-1850 r--        5005 pipes-1.10.tar.bz2
2000-0914-1850 r--        5396 pipes-1.10.zip
2000-0914-1850 r--        1229 patch-pipes-1.09-1.10.bz2
2000-0912-1131 r--        4696 pipes-1.09.rar
2000-0912-1131 r--        4903 pipes-1.09.tar.bz2
2000-0912-1131 r--        5279 pipes-1.09.zip
2000-0912-1131 r--        2576 patch-pipes-1.08-1.09.bz2
2000-0830-1441 r--        4257 pipes-1.08.rar
2000-0830-1441 r--        4432 pipes-1.08.tar.bz2
2000-0830-1441 r--        4837 pipes-1.08.zip
2000-0830-1441 r--        2465 patch-pipes-1.07-1.08.bz2
2000-0824-2011 r--        3622 pipes-1.07.rar
2000-0824-2011 r--        3823 pipes-1.07.tar.bz2
2000-0824-2011 r--        4072 pipes-1.07.zip
2000-0824-2011 r--        2117 patch-pipes-1.06-1.07.bz2
2000-0823-0050 r--        2697 pipes-1.06.rar
2000-0823-0050 r--        2889 pipes-1.06.tar.bz2
2000-0823-0050 r--        2992 pipes-1.06.zip
2000-0823-0050 r--        1582 patch-pipes-1.05-1.06.bz2
2000-0820-1128 r--        2624 pipes-1.05.tar.bz2
2000-0820-1128 r--        2664 pipes-1.05.zip
2000-0820-1128 r--         945 patch-pipes-1.04-1.05.bz2
2000-0805-1047 r--        2431 pipes-1.04.tar.bz2
2000-0805-1047 r--          14 patch-pipes-1.03-1.04.bz2
2000-0627-2256 r--        1924 pipes-1.03.tar.gz
2000-0627-2256 r--          14 patch-pipes-1.02-1.03.bz2
2000-0530-1911 r--        1911 pipes-1.02.tar.gz
2000-0530-1911 r--          14 patch-pipes-1.01-1.02.bz2
1999-1212-2305 r--        1819 pipes-1.01.tar.gz
1999-1212-2305 r--          14 patch-pipes-1.00-1.01.bz2
1999-1212-2257 r--        1757 pipes-1.00.tar.gz
Back to the source directory index at Bisqwit's homepage