GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ucspi-proxy(1) FreeBSD General Commands Manual ucspi-proxy(1)

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

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

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.

-l MAXLINE
The maximum length of lines (from either server or client) to copy to the log. Defaults to 64.
-s ADDRESS
Set the local source address for outbound connections. Use auto to take the address from the original socket address.
-t TIMEOUT
When making an connection, ucspi-proxy will wait a maximum of TIMEOUT seconds before giving up. Defaults to 30.
-T TIMEOUT
ucspi-proxy will exit after TIMEOUT seconds of inactivity on both sockets. Defaults to no timeout.
-v
Print messages about errors and byte counts. Without this option, ucspi-proxy is silent.

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

ucspi-unix, ucspi-tcp

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.