diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-12-02 00:28:25 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-12-02 00:28:25 +0000 |
commit | 90f403d1f554822be06564ea52498d710d2bf051 (patch) | |
tree | d7642107854c778f952bd2876578c627e744eb9e /doc/tcpproxy.8.txt | |
parent | buffer size can now be configured (diff) |
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
Diffstat (limited to 'doc/tcpproxy.8.txt')
-rw-r--r-- | doc/tcpproxy.8.txt | 36 |
1 files changed, 29 insertions, 7 deletions
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 <target>:<level>[,<param1>[,<param2>[..]]] ] [ -U|--debug ] [ -l|--local-addr <host> ] + [ -t|--local-resolv (ipv4|4|ipv6|6) ] [ -p|--local-port <service> ] [ -r|--remote-addr <host> ] + [ -R|--remote-resolv (ipv4|4|ipv6|6) ] [ -o|--remote-port <service> ] [ -s|--source-addr <host> ] + [ -S|--source-resolv (ipv4|4|ipv6|6) ] [ -b|--buffer-size <size> ] [ -c|--config <file> ] .... @@ -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 <host>*:: - 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 <service>*:: - 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 <host>*:: - 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 <service>*:: - 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 <host>*:: - 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 <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 <file>*:: - tba + The path to the configuration file to be used. This is only evaluated if the local port + is omitted. EXAMPLES |