IP passthrough?

Mark Smith smitty at gmail.com
Wed Oct 17 13:23:11 UTC 2007

> My application logs the IP addresses of visitors, and bans users who try
> to abuse the system.  However, after using Perlbal, all requests end up
> going through the Perlbal server, and so on the web server end, there's only
> one source IP, the Perlbal server's.
> Is there a way to fix this problem so that my application can still ban
> IPs as needed? Maybe a HTTP_X_FORWARDED_FOR header?

IIRC Perlbal does this already automatically.  X-Forwarded-For is set to the
source IP address of the client as long as you haven't set
trusted_upstream_proxies to something and the incoming request matches it.

Mark Smith / xb95
smitty at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/perlbal/attachments/20071017/956f00b1/attachment-0001.htm

More information about the perlbal mailing list