X-Forwarded-For

From: David Surtees <dsurtees@dont-contact.us>
Date: Thu, 20 Apr 2000 12:24:21 +0100

Hi,

hope this isn't an FAQ - I've dug around without success.

I need to set X-Forwarded-For: to be a valid IP address on our network, but
for privacy reasons I don't want to set forwarded_for to 'on'.

Is my only option to hand edit http.c and change:

        strListAdd(&strFwd, (cfd < 0 ? "unknown" : fd_table[cfd].ipaddr),

to
        strListAdd(&strFwd, (cfd < 0 ? "128.x.x.x" : fd_table[cfd].ipaddr),

then recompile ?

(sorry if it's a dumb question - I'm not a programmer !!)

regards,
David

-- 
Dr. David Surtees
Newcastle University
UK
Received on Thu Apr 20 2000 - 05:28:21 MDT

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