From 090baeab3380e084731c68455939ca715402885f Mon Sep 17 00:00:00 2001 From: Capi Etheriel Date: Fri, 8 Sep 2023 10:31:26 -0300 Subject: [PATCH] document default log format --- doc/html/howtoe.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/html/howtoe.html b/doc/html/howtoe.html index 9d49696..f9d90fa 100644 --- a/doc/html/howtoe.html +++ b/doc/html/howtoe.html @@ -290,7 +290,7 @@ Also, you must specify logformat to build SQL query, to insert recod into log, see How to setup logging format

-Rotation and archiving may be set up with log, rotate ¨ archiver commands +Rotation and archiving may be set up with log, rotate ¨ archiver commands

 	log filename LOGTYPE
 
@@ -366,12 +366,19 @@ logformat "L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
(no line breaks)

- If ODBC used, logformat should specify SQL command, + If ODBC is used, logformat should specify SQL command, to insert record into log, for example

 logformat "-\'+_GINSERT INTO proxystat  VALUES (%t, '%c', '%U', %I)"

(no line breaks)
-\'+_ instructs to replace characters \ and ' with _ +

+

+ If no log format is set, it will fall back to the default log format: +

+		logformat "G%y%m%d%H%M%S.%. %p %E %U %C:%c %R:%r %O %I %h %T"
+	
+

  • How to use log analizers with 3proxy

    @@ -474,7 +481,7 @@ proxy -p8080 -i192.168.2.1

  • How to setup FTP proxy
  • - There is FTP over HTTP (what is called FTP proxy in browsers) and FTP over FTP ¯à®ªá¨ + There is FTP over HTTP (what is called FTP proxy in browsers) and FTP over FTP ¯à®ªá¨ (what is called FTP proxy in file managers and FTP clients). For browsers, there is no need to start additional proxy service, 'proxy' supports FTP over HTTP, configure 'proxy' port as an FTP proxy. For ftp clients and file managers use ftppr. FTP proxy supports both active and passive mode with client, but always use passive mode with FTP servers. @@ -704,7 +711,7 @@ no need to run these services expicitly. Local redirections are usefull if you want to see and control via ACLs protocol specific parameters, e.g. filenames requests thorugh FTP while clients are using SOCKS.

    -
  • Š ª ã¯à ¢«ïâì «®ª «ì­ë¬¨ ¯¥à¥­ ¯à ¢«¥­¨ï¬¨ +
  • Š ª ã¯à ¢«ïâì «®ª «ì­ë¬¨ ¯¥à¥­ ¯à ¢«¥­¨ï¬¨

    Q: What is it for?

    A: To have control based on request and to have URLs and another protocol specific parameters to be logged.