Hi, In message <_A3538@delegate-en.ML_> on 10/07/06(04:12:48) I wrote: |In message <_A3537@delegate-en.ML_> on 10/06/06(23:22:16) |you "Igor Lidin" <pxqgqbdyi-mxhgu4ydv33w.ml@delegate.org> wrote: | | |I found why SRCIF is disabled with INETD. Simply it's not initialzed. | | |It can be fixed as the enclosed patch. It will be applied to the next | |release (9.2.5-pre12). Thank you for your notice. | | | |Thank you, it works now, but in the following configuration | | | |INETD="10.0.0.1:3128 - - - - - SERVER=http SRCIF=10.0.0.1" | |INETD="10.0.0.1:3129 - - - - - SERVER=http SRCIF=10.0.0.2" | |INETD="10.0.0.1:3130 - - - - - SERVER=http SRCIF=10.0.0.3" | |INETD="10.0.0.1:3131 - - - - - SERVER=http SRCIF=10.0.0.4" | | | |delegated seems to reuse http connection made by one of proxy-servers for | |another server needs, messing up the things, so sometime connections are | |made from wrong SRCIF | | | |http-proxy-servers with different SRCIFs should not reuse http connections | |made by each other. | |I did not intend INETD to be used for HTTP in which a DeleGate process |is reused for multiple connections from clients to cope with heavily |repeated connections. |The reuse can be disabled with the following parameter: | | MAXIMA=standby:0 I uploaded 9.2.5-pre13 in which the above MAXIMA is set by default when INETD is specified. By the way, using INETD for HTTP can make overhead which is not negligible in a practical usage. So it is recommended to use SRCIF which is selected based on the client-side interface as SRCIF="host:port:proto:dst:-Pport" as follows: SERVER=http -P3128,3129,3130,3131 SRCIF="10.0.0.1:*:*:*:-P3128" SRCIF="10.0.0.1:*:*:*:-P3129" SRCIF="10.0.0.1:*:*:*:-P3130" SRCIF="10.0.0.1:*:*:*:-P3131" In 9.2.5-pre13, the client-side port can be specified with the interface address as follows: SERVER=http -P10.0.0.1:3128,10.0.0.1:3129,10.0.0.1:3130,10.0.0.1:3131 SRCIF="10.0.0.1:*:*:*:-P10.0.0.1:3128" SRCIF="10.0.0.1:*:*:*:-P10.0.0.1:3129" SRCIF="10.0.0.1:*:*:*:-P10.0.0.1:3130" SRCIF="10.0.0.1:*:*:*:-P10.0.0.1:3131" Cheers, Yutaka -- 9 9 Yutaka Sato <pfqcabdyi-mxhgu4ydv33w.ml@delegate.org> http://delegate.org/y.sato/ ( ~ ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller