netcat

command-line tool; kann sowohl als server als auch als client agieren

client:

aufruf: netcat (host) (port)

wie telnet

server:

"listen"-mode

aufruf: netcat -l -p (port)

proxy:

Bidirektionale Verbindung:

  $ mknod backpipe p
  $ netcat -l -p 2525 0<backpipe | netcat iem.at 25 1>backpipe

Bidirektionale Verbindung (mit logging):

  $ netcat -l -p 2525 0<backpipe | tee -a inflow | netcat iem.at 25 | tee -a outflow 1>backpipe