I am looking at the following headers in my Heroku apps. Not all of them get set. All of them can be faked (as far as I know).
request.env['HTTP_CLIENT_IP'] request.remote_ip request.env['HTTP_X_FORWARDED_FOR'] request.env['REMOTE_ADDR'] Paul On Sep 28, 2:45 am, Josh K <[email protected]> wrote: > Hi Guys, > > We have a web app deployed on Heroku which requires ip address logging > of each request, but we noticed that the ip address is always a > 10.*.*.* address (local) instead of a valid address from the > interwebs. After reading a little into this I found out that this may > be due Amazon LBS and there may be a box config work around available, > although I am not 100% sure on this. > > Can anyone at Heroku tell me if there is any way to get a requests ip > address, and if not currently, if there are plans to enable this > functionality? > > Many Thanks, > > Josh -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
