GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       ucspi-proxy - Copy data between a UCSPI client and server

SYNOPSIS

       ucspi-proxy [ -v ] [ -t TIMEOUT ] [ HOST PORT ]

DESCRIPTION

       This  program  is  a simple loop copying data from a UCSPI server (file
       descriptor 0) to a client, and from a client to a server  (FD  1).   If
       either  socket  closes,  ucspi-proxy  exits.   The  other ucspi-proxy-*
       programs are based on this simple loop and have similar usage.

       If HOST and PORT are given on the command line, ucspi-proxy will make a
       TCP  connection  with  the  given  parameters.  If neither are present,
       ucspi-proxy will use file  descriptor  6  for  the  client  socket,  as
       provided by UCSPI client programs.

OPTIONS

       -t TIMEOUT
              When  making  an  connection, ucspi-proxy will wait a maximum of
              TIMEOUT seconds before giving up.  Defaults to 30.

       -v     Print messages about  errors  and  byte  counts.   Without  this
              option, ucspi-proxy is silent.

RETURN VALUE

       Exits  0  if  a  normal  end of file was reached on one of the sockets.
       Otherwise it exits 1.

SEE ALSO

       ucspi-unix, ucspi-tcp

                                                                ucspi-proxy(1)



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.084 seconds. Last modified: November 04 2018 12:49:43.