1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
Content-type: text/html
<HTML><HEAD><TITLE>Manpage of ucspi-proxy</TITLE>
</HEAD><BODY>
<H1>ucspi-proxy</H1>
Section: User Commands (1)<BR><A HREF="#index">Index</A>
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
ucspi-proxy - Copy data between a UCSPI client and server
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>ucspi-proxy</B>
[
<I>-v</I>
] [
<I>-t TIMEOUT</I>
] [
<I>HOST PORT</I>
]
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
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,
<B>ucspi-proxy</B>
exits. The other
<B>ucspi-proxy-*</B>
programs are based on this simple loop and have similar usage.
<P>
If
<I>HOST</I>
and
<I>PORT</I>
are given on the command line,
<B>ucspi-proxy</B>
will make a TCP connection with the given parameters. If neither are
present,
<B>ucspi-proxy</B>
will use file descriptor 6 for the client socket, as provided by UCSPI
client programs.
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><I>-t TIMEOUT</I>
<DD>
When making an connection,
<B>ucspi-proxy</B>
will wait a maximum of
<I>TIMEOUT</I>
seconds before giving up. Defaults to 30.
<DT><I>-v</I>
<DD>
Print messages about errors and byte counts. Without this option,
<B>ucspi-proxy</B>
is silent.
</DL>
<A NAME="lbAF"> </A>
<H2>RETURN VALUE</H2>
Exits 0 if a normal end of file was reached on one of the sockets.
Otherwise it exits 1.
<A NAME="lbAG"> </A>
<H2>SEE ALSO</H2>
ucspi-unix, ucspi-tcp
<P>
<HR>
<A NAME="index"> </A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">RETURN VALUE</A><DD>
<DT><A HREF="#lbAG">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 21:42:53 GMT, November 16, 2009
</BODY>
</HTML>
|