diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-12-14 18:54:43 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-12-14 18:54:43 +0000 |
commit | 96838f81f6483a3545d9e64687b34e3ad60e4905 (patch) | |
tree | 6e6f36cd8cda1833eccb5a271aac2ca346625ab0 /doc/tcpproxy.8.txt | |
parent | client info contains bytes received and transferred now (diff) |
added signals info to manpage
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@61 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'doc/tcpproxy.8.txt')
-rw-r--r-- | doc/tcpproxy.8.txt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/tcpproxy.8.txt b/doc/tcpproxy.8.txt index 6af05d0..c727c69 100644 --- a/doc/tcpproxy.8.txt +++ b/doc/tcpproxy.8.txt @@ -68,9 +68,9 @@ The following options can be passed to the *tcpproxy* daemon: *-L, --log <target>:<level>[,<param1>[,<param2>[..]]]*:: add log target to logging system. This can be invoked several times in order to log to different targets at the same time. Every target - hast its own log level which is a number between 0 and 5. Where 0 means + has its own log level which is a number between 0 and 5. Where 0 means disabling log and 5 means debug messages are enabled. + - The file target can be used more the once with different levels. + The file target can be used more than once with different levels. If no target is provided at the command line a single target with the config *syslog:3,tcpproxy,daemon* is added. + The following targets are supported: @@ -142,6 +142,20 @@ listen (*|address|hostname) (port-number|service-name) Everything between the curly brackets except for the *remote* parameter may be omitted. +SIGNALS +------- + +After receiving the HUP signal *tcpproxy* tries to reload the configuration file. It only +reopens a listen socket if the local address and or port has changed. Therefore reloading the +configuration after the daemon has dropped privileges is safe as long as there are no changes +in the local address and port. However this is only of concern if any of the listen ports is +a privileged port (<1024). If there is a syntax error at the configuration file all changes +are discarded. +On SIGUSR1 *tcpproxy* prints some information about the listening sockets and after SIGUSR2 +information about open client connections is printed. This is sent to all configured log +targets at a level of 3. + + BUGS ---- Most likely there are some bugs in *tcpproxy*. If you find a bug, please let |