Re: client footprint identification for statistic purposes behind a NAT-mode router
Hi, problem solved! Thanks to all of you that gave me indications about this issue. As I learnt from you my problem was not likely to be a Tomcat configuration problem, but rather something else on my network configuration. I had NAT enabled for http requests as well as for the on-chip firewall policy at the router. It was not easy but finally I disabled NAT at firewall level and now everything is running allright and I get original IP addressess at the Tomcat log file. Thanks again. Cheers, 2007/10/3, Jorge Martinez [EMAIL PROTECTED]: Hi, I have tomcat 5.5 installed and would like to exploit the log records it is registering. My problem is that the webserver is behind a router with NAT activated, so what I see is the same host (actually the router) accessing hundreds of times to the website, instead of seeing hundreds of single (but different) users. Does any of you know anything about this issue? is Tomcat able to store original host IP in the log files? Any suggestion would be helpful. Thanks, Jorge -- Jorge Martinez 630934694
client footprint identification for statistic purposes behind a NAT-mode router
Hi, I have tomcat 5.5 installed and would like to exploit the log records it is registering. My problem is that the webserver is behind a router with NAT activated, so what I see is the same host (actually the router) accessing hundreds of times to the website, instead of seeing hundreds of single (but different) users. Does any of you know anything about this issue? is Tomcat able to store original host IP in the log files? Any suggestion would be helpful. Thanks, Jorge
Re: client footprint identification for statistic purposes behind a NAT-mode router
Thanks Chris, it would be good to know about the result of your test. I'm going to test what happens when accessing to Tomcat from the internal network though behind the router. Cheers, 2007/10/3, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, Jorge Martinez wrote: My problem is that the webserver is behind a router with NAT activated, so what I see is the same host (actually the router) accessing hundreds of times to the website, instead of seeing hundreds of single (but different) users. Hmm. I have my Tomcat fronted with Apache httpd and also have a (development) server behind a NAT-enabled router. From outside the router, IP addresses are logged appropriately (that is, it does not look like the router itself is making all the requests). I'll try to access Tomcat directly from the outside and see what the Tomcat access log files say. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHA6or9CaO5/Lv0PARAghCAKCdz7Tu7DqnhAxFp9gbmSLSj5zj8wCgtK/v 3W7rFyOsFN2l5zMANr5g7Uw= =vv8a -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jorge Martinez 630934694
Re: client footprint identification for statistic purposes behind a NAT-mode router
Thanks Len, My log entries correspond to clients from the internet. Local clients are logged as 'localhost', but I have not yet tested what happens with LAN clients. My problem is however internet clients. Cheers, 2007/10/3, Len Popp [EMAIL PROTECTED]: Are those log entries with the router's address coming from clients in the local network, or from the internet? With my NAT gateway, I see the correct IP addresses for clients coming in from the internet, but local clients that use the internet site name (www.mywhatever.com) show up as coming from the router's IP. -- Len On 10/3/07, Jorge Martinez [EMAIL PROTECTED] wrote: Hi, I have tomcat 5.5 installed and would like to exploit the log records it is registering. My problem is that the webserver is behind a router with NAT activated, so what I see is the same host (actually the router) accessing hundreds of times to the website, instead of seeing hundreds of single (but different) users. Does any of you know anything about this issue? is Tomcat able to store original host IP in the log files? Any suggestion would be helpful. Thanks, Jorge - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jorge Martinez 630934694
Re: client footprint identification for statistic purposes behind a NAT-mode router
I'll try Chris, at least I have somewhere to start with. Thanks again. Cheers, 2007/10/3, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, Jorge Martinez wrote: Thanks Chris, it would be good to know about the result of your test. I'm going to test what happens when accessing to Tomcat from the internal network though behind the router. Something else must be wrong with your host or network configuration: I always get the correct IP address. I'm just using the standard AccessLogValve(in TC 5.5). I merely uncommented said valve in the stock server.xml to test it out. Hope that helps, - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHA7DI9CaO5/Lv0PARAu5OAJ9gSBCznTVCV6+Bil7yNd06Otdw9ACgmVwp L62F/5lqJA757ZwF7DiZggQ= =azty -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jorge Martinez 630934694
Re: client footprint identification for statistic purposes behind a NAT-mode router
Hi Gabe, many thanks, I'll try that. Hope the problem is so easy to fix. Cheers, 2007/10/3, Gabe Wong [EMAIL PROTECTED]: Hi, I do not know what NAT router you are using, but I would check the configuration or manual to see that it is setup to forward source IP Addresses. Jorge Martinez wrote: Thanks Len, My log entries correspond to clients from the internet. Local clients are logged as 'localhost', but I have not yet tested what happens with LAN clients. My problem is however internet clients. Cheers, 2007/10/3, Len Popp [EMAIL PROTECTED]: Are those log entries with the router's address coming from clients in the local network, or from the internet? With my NAT gateway, I see the correct IP addresses for clients coming in from the internet, but local clients that use the internet site name (www.mywhatever.com) show up as coming from the router's IP. -- Len On 10/3/07, Jorge Martinez [EMAIL PROTECTED] wrote: Hi, I have tomcat 5.5 installed and would like to exploit the log records it is registering. My problem is that the webserver is behind a router with NAT activated, so what I see is the same host (actually the router) accessing hundreds of times to the website, instead of seeing hundreds of single (but different) users. Does any of you know anything about this issue? is Tomcat able to store original host IP in the log files? Any suggestion would be helpful. Thanks, Jorge - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Regards Gabe Wong Private JVM JAVA Hosting Automation http://www.ngasi.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jorge Martinez 630934694