<p>Setting both the X-FORWARDED-FOR and CLIENT-IP at the same time (which <a href="https://addons.mozilla.org/en-US/firefox/addon/ipflood/">ipFlood</a> does) results in an HTTP 500.</p>
<p>Here is a demonstration with curl:</p>
<pre><code>$ curl -I -H "X-FORWARDED-FOR: 235.83.227.142" -H "CLIENT-IP: 253.83.227.142" https://www.openstreetmap.org/user/new?cookie_test=true | head -n1
HTTP/1.1 500 Internal Server Error
$ curl -I -H "CLIENT-IP: 253.83.227.142" https://www.openstreetmap.org/user/new?cookie_test=true | head -n1
HTTP/1.1 200 OK
$ curl -I -H "CLIENT-IP: 253.83.227.142" https://www.openstreetmap.org/user/new?cookie_test=true | head -n1
HTTP/1.1 200 OK
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/984">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLeDsPaidKl11ME70lWhSvwJdBmDUks5oQsJVgaJpZM4E6Uwr.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/984"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>