<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>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.
</div>
<div> </div>
<div>Is there a way to fix this problem so that my application can still ban IPs as needed? Maybe a <font face="Courier New">HTTP_X_FORWARDED_FOR </font>header? </div>
</blockquote></div><br>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.
<br><br clear="all"><br>-- <br>Mark Smith / xb95<br><a href="mailto:smitty@gmail.com">smitty@gmail.com</a>