Re: X-Forwarded-For

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 24 Apr 2000 18:30:58 +0200

David Surtees wrote:

> 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:

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

Looks ok.

--
Henrik Nordstrom
Squid hacker
Received on Mon Apr 24 2000 - 10:33:18 MDT

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