[AOLSERVER] Aolserver as multithreaded TCL socket server ?

2009-08-18 Thread Nikolay Shulga
Title: Nikolay Shulga Hello, Is it possible to use Aolserver as multithreaded TCL socket server ? If I connect to Aolserver using telnet , the server waits one of HTTP comands from me. But it would be good to have full access to the socket , from TCL script, without being obliged to send

[AOLSERVER] AOLServer 4.x blindly reporting X-Forwarded-For value in logs

2009-08-18 Thread Hossein Sharifi
I've been meaning to write about this for a while: When I switched from AOLserver 3.x to 4.0 a few years ago, I noticed that the IP address in the log file no longer always matches what [ns_conn peeraddr] reports. ns_conn seems to always report the actual IP address of the user, whereas the log

Re: [AOLSERVER] AOLServer 4.x blindly reporting X-Forwarded-For value in logs

2009-08-18 Thread Jeff Rogers
There is no built-in setting to log or not log forwarded headers. It's not difficult to change, but it requires a little programming. If you are comfortable with C, you can edit nslog/nslog.c and change the behaviour with X-Forwarded-For (it's at nslog.c:272 in my copy). You could disable

Re: [AOLSERVER] AOLServer 4.x blindly reporting X-Forwarded-For value in logs

2009-08-18 Thread Alexey Pechnikov
Hello! You can use HAProxy or other reverse-proxy for more performance and logging. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF

Re: [AOLSERVER] AOLServer 4.x blindly reporting X-Forwarded-For value in logs

2009-08-18 Thread Joseph Kondel
Just a heads up - One possible side-effect could be that if you have a proxy in place in front of your aolserver, you might lose the ability to track unique ip's, and just catch the proxy's ip. Most modern proxy's set the x- forwarded-for to enable you to delineate end-user ips. -j On

Re: [AOLSERVER] Aolserver as multithreaded TCL soc ket server ?

2009-08-18 Thread Bas Scheffers
As far as I am aware, the only way to do it is to implement a new socket driver in C. AOLserver can certainly handle this. There used to be nsftp, which did just that. Bas. On Tuesday, August 18, 2009 10:26pm, Nikolay Shulga nikolay.shu...@runway.lv said: Hello, Is it possible to