From 0d35aa8fcbd574f9a365bdda828d8f174be350d9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 3 Dec 2010 01:59:11 +0000 Subject: added config file format to manpage git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@28 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- doc/tcpproxy.8.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'doc/tcpproxy.8.txt') diff --git a/doc/tcpproxy.8.txt b/doc/tcpproxy.8.txt index 14a12af..c6574d1 100644 --- a/doc/tcpproxy.8.txt +++ b/doc/tcpproxy.8.txt @@ -124,10 +124,22 @@ The following options can be passed to the *tcpproxy* daemon: is omitted. -EXAMPLES --------- +CONFIGURATION FILE +------------------ -nothing yet.. +If the configuratin file is used it should contain one or more of the following stanzas: + +.... +listen (*|address|hostname) (port-number|service-name) +{ + resolv: (ipv4|ipv6) + remote: (address|hostname) (port-number|service-name); + remote-resolv: (ipv4|ipv6); + source: (address|hostname); +}; +.... + +Everything between the curly brackets except for the *remote* parameter may be omitted. BUGS -- cgit v1.2.3