<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>The x-forwarded-for is a application level thing and it only applies to HTTP. In the case if AMQP, I doubt Amazon's LB operates at application level and understands the protocol. <span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">Instead, the LB operates at TCP/IP level establishing new TCP connection to Rabbit from its own IP and forwarding data between incoming connection and that Rabbit connection without any understanding what that data is.</span></div><div>Which means it cannot add any information what wasn't there already. </div><div><br></div><div>Regards<br></div><div><br>On 31 May 2013, at 20:30, Joe Vandermark <<a href="mailto:joe.vandermark@gmail.com">joe.vandermark@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>I have a similar issue/requirement.. Checking in to see if Mike figured this out or if anyone else has a similar need and solution.<br><br>On Monday, January 7, 2013 11:40:39 AM UTC-6, Mike wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0..8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><p style="font-size:14px;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">I have a rabbitMQ cluster running on EC2 behind an AWS load-balancer. In the rabbitMQ monitoring app, it shows the IP address of each machine that's currently connected to rabbitMQ. Since the clients are hitting rabbitMQ through the LB, it's showing the LBs IP address, instead of the client.</p><p style="font-size:14px;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">Is there a way to get the rabbitMQ monitoring plugin to show the x-forwarded-for request header, which contains the actual client IP address?</p></blockquote></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rabbitmq-discuss mailing list</span><br><span><a href="mailto:rabbitmq-discuss@lists..rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a></span><br><span><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a></span><br></div></blockquote>
This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this email without the author's prior permission. AlertMe.com Ltd. is not responsible for any personal views expressed in this message or any attachments that are those of the individual sender.<br/>
<br/>
AlertMe.com Ltd, 30 Station Road, Cambridge, CB1 2RE, UK.<br/>
Registered in England, Company number 578 2908, VAT registration number GB 895 9914 42.<br/>
</body></html>