Some sites don't like X-Forwarded-For: unknown

From: Arjan de Vet <[email protected]>
Date: Fri, 20 Feb 1998 00:41:54 +0100 (CET)

I got a complaint that http://www.low-spirit.de/ gave a "No Object Data"
error message. After some digging into HTTP headers I found out that this
site does not like the following header:

        X-Forwarded-For: unknown

which you get when using 'forwarded_for off'. The server immediately closes
the connection without any message.

I solved it by replacing "unknown" in http.c with "127.0.0.1". A more
sophisticated way would be using random IP numbers :-).

Arjan
Received on Thu Feb 19 1998 - 15:46:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:55 MST