users@glassfish.java.net

IP in node server access log always contains load balancer ip

From: <glassfish_at_javadesktop.org>
Date: Sun, 14 Mar 2010 10:42:09 PDT

Hi,

We are using SJSWS 7 as a load balancer with the glassfish load balancer plugin to direct traffic to the Glassfish node. For auditing purposes, we would like to capture the client's ip when access our web application on the node server. Currently, both the application's log and the access log for the glassfish node server only contain the load balancer's ip.

Does anyone know how i can obtain the correct http referrer on the node server? Do I have to do anything to the load balancer to pass the client's ip to the node?

Any help would be greatly appreciated!

Thanks!
Sal
[Message sent by forum member 'svelazquez' (el_guapo71_at_hotmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=391804