diff --git a/doc/html/faqe.html b/doc/html/faqe.html index ab4df43..f467527 100644 --- a/doc/html/faqe.html +++ b/doc/html/faqe.html @@ -64,6 +64,14 @@ to automatically reload configuration on address change. A: Check you use system DSN. Check SQL request is valid. The best way to check is to make file or stdout logging, get SQL request from log file or console and execute this request manually. +Under Unix, you may also want to adjust 'stacksize' parameter. + +

Q: Why proxy crash on request processing?

+A: default stacksize may be insufficient, if some non-default plugins + are used (e.g. PAM and ODBC on Linux) or if compiled on some platforms with + invalid system defined values (few versionds of FreeBSD on amd64). + Problem can be resolved with 'stacksize' command or '-S' option starting 3proxy 0.8.4. +

Q: Why doesn't APOP/CRAM-MD5 authentication work with POP3 proxy?

A: Any Challenge-response authentication require challenge to be transmitted from server. Pop3p doesn't know which server to use before authentication, it makes it impossible to obtain challenge. You can encrypt your POP3 communications with TLS (i.e. stunnel) or IPSec. diff --git a/doc/html/faqr.html b/doc/html/faqr.html index 6824bb4..cd4cfec 100644 --- a/doc/html/faqr.html +++ b/doc/html/faqr.html @@ -9,6 +9,7 @@
  • Q: Почему не получается указать internal и external?
  • Q: Почему не работает ведение журналов в ODBC?
  • Q: Почему не поддерживаются APOP и CRAM-MD5 в POP3 прокси?
  • +
  • Q: Почему прокси крэшится при обработке запроса?
  • Перенаправление socks соединений в локальный прокси

  • Перенаправление socks соединений в локальный прокси
  • diff --git a/man/3proxy.cfg.3 b/man/3proxy.cfg.3 index 4b4f5ee..7b0a6f9 100644 --- a/man/3proxy.cfg.3 +++ b/man/3proxy.cfg.3 @@ -915,6 +915,20 @@ as .br function_to_call must return 0 in case of success, value > 0 to indicate error. +.br +.B stacksize + +.br + Change default size for threads stack. May be required in some situation, + e.g. with non-default plugins, on on some platforms (some FreeBSD version + may require adjusting stack size due to invalid defined value in system + header files, this value is also oftent reqruied to be changed for ODBC and + PAM support on Linux. If you experience 3proxy + crash on request processing, try to set some positive value. You may start with + stacksize 65536 + and then find the minimal value for service to work. If you experience + memory shortage, you can try to experiment with negative values. + .br .B filtermaxsize diff --git a/man/ftppr.8 b/man/ftppr.8 index f54c805..5fec7ce 100644 --- a/man/ftppr.8 +++ b/man/ftppr.8 @@ -51,6 +51,9 @@ is specified logging is to file. Under Unix, if preceeds .IR logfile , syslog is used for logging. +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH CLIENTS You can use any FTP client, regardless of FTP proxy support. For client with FTP proxy support configure diff --git a/man/icqpr.8 b/man/icqpr.8 index 8ae0fd5..f4a2b71 100644 --- a/man/icqpr.8 +++ b/man/icqpr.8 @@ -45,6 +45,9 @@ is specified logging is to file. Under Unix, if preceeds .IR logfile , syslog is used for logging. +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH ARGUMENTS .TP .I local_port diff --git a/man/pop3p.8 b/man/pop3p.8 index 78855fd..df032a5 100644 --- a/man/pop3p.8 +++ b/man/pop3p.8 @@ -51,6 +51,9 @@ is specified logging is to file. Under Unix, if preceeds .IR logfile , syslog is used for logging. +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH CLIENTS You can use any MUA (Mail User Agent) with POP3 support. Set client to use .I internal_ip diff --git a/man/proxy.8 b/man/proxy.8 index b9800c5..cade8ec 100644 --- a/man/proxy.8 +++ b/man/proxy.8 @@ -52,6 +52,9 @@ is specified logging is to file. Under Unix, if preceeds .IR logfile , syslog is used for logging. +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH CLIENTS You should use client with HTTP proxy support or configure router to redirect HTTP traffic to proxy (transparent proxy). Configure client to connect to diff --git a/man/smtpp.8 b/man/smtpp.8 index 357f94c..f07107a 100644 --- a/man/smtpp.8 +++ b/man/smtpp.8 @@ -51,6 +51,9 @@ is specified logging is to file. Under Unix, if preceeds .IR logfile , syslog is used for logging. +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH CLIENTS You can use any MUA (Mail User Agent) with SMTP authentication support. Set client to use diff --git a/man/socks.8 b/man/socks.8 index 11ce9b9..0be9f8e 100644 --- a/man/socks.8 +++ b/man/socks.8 @@ -48,6 +48,9 @@ is specified logging is to file. Under Unix, if preceeds .IR logfile , syslog is used for logging. +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH CLIENTS You should use client with SOCKS support or use some socksification support (for example diff --git a/man/tcppm.8 b/man/tcppm.8 index f412d91..929d2b5 100644 --- a/man/tcppm.8 +++ b/man/tcppm.8 @@ -40,6 +40,9 @@ is specified logging is to file. Under Unix, if preceeds .IR logfile , syslog is used for logging. +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH ARGUMENTS .TP .I local_port diff --git a/man/udppm.8 b/man/udppm.8 index 6c4d444..8ef3493 100644 --- a/man/udppm.8 +++ b/man/udppm.8 @@ -46,6 +46,9 @@ Single packet. By default only one client can use udppm service, but if -s is specified only one packet will be forwarded between client and server. It allows to share service between multiple clients for single packet services (for example name lookups). +.B -S +Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy +crashes. .SH ARGUMENTS .TP .I local_port