From 90f403d1f554822be06564ea52498d710d2bf051 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 2 Dec 2010 00:28:25 +0000 Subject: added new options for resolv types (IPv4 vs IPv6) manpage: new parameters manpage: added short description to each parameter git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@19 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- doc/tcpproxy.8.txt | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) (limited to 'doc/tcpproxy.8.txt') diff --git a/doc/tcpproxy.8.txt b/doc/tcpproxy.8.txt index ebbac12..8da0b98 100644 --- a/doc/tcpproxy.8.txt +++ b/doc/tcpproxy.8.txt @@ -21,10 +21,13 @@ tcpproxy [ -L|--log :[,[,[..]]] ] [ -U|--debug ] [ -l|--local-addr ] + [ -t|--local-resolv (ipv4|4|ipv6|6) ] [ -p|--local-port ] [ -r|--remote-addr ] + [ -R|--remote-resolv (ipv4|4|ipv6|6) ] [ -o|--remote-port ] [ -s|--source-addr ] + [ -S|--source-resolv (ipv4|4|ipv6|6) ] [ -b|--buffer-size ] [ -c|--config ] .... @@ -85,25 +88,44 @@ The following options can be passed to the *tcpproxy* daemon: be additional output when this option is supplied. *-l, --local-addr *:: - tba + The local address to bind to. By default *tcpproxy* will listen on any interface + (IPv6 and IPv4). + +*-t|--local-resolv (ipv4|4|ipv6|6)*:: + When resolving the local address (see above) use only IPv4 or IPv6. The default is + to resolv both. *-p, --local-port *:: - tba + The local port to bind to. By default there is no port defined in which case + *tcpproxy* will try to read the configuration file. *-r, --remote-addr *:: - tba + The remote address to connect to. Unless the configuration file should be used this + must be set to a valid address or hostname. + +*-R|--remote-resolv (ipv4|4|ipv6|6)*:: + When resolving the remote address (see above) use only IPv4 or IPv6. The default is + to resolv both. *-o, --remote-port *:: - tba + The remote port to connect to. Unless the configuration file should be used this + must be set to a valid port or servicename. *-s, --source-addr *:: - tba + Instruct tcpproxy to use this source address for connections to *-R|--remote-address*. + By default *tcpproxy* uses the default source address for the defined remote host. + +*-S|--source-resolv (ipv4|4|ipv6|6)*:: + When resolving the source address (see above) use only IPv4 or IPv6. The default is + to resolv both. *-b, --buffer-size *:: - tba + The size of the transmit buffers to use. *tcpproxy* will allocate two buffers of this + size for any client which is connected. By default a value of 10Kbytes is used. *-c, --config *:: - tba + The path to the configuration file to be used. This is only evaluated if the local port + is omitted. EXAMPLES -- cgit v1.2.3