Re: I-D draft-petersson-forwarded-for-00.txt

I like it. Producing it is easy, and there are less special cases for parsing than the format I suggested.


On 19/04/2011, at 12:22 AM, Andreas Petersson wrote:

> On Fri, 8 Apr 2011 11:00:15 +0200
> Willy Tarreau <> wrote:
>> On Fri, Apr 08, 2011 at 06:49:32PM +1000, Mark Nottingham wrote:
>>> While we're at it, I'd like to see extensibility points added; there are a bunch of bits of per-hop metadata that would be nice to allow in here, instead of defining separate headers. For example, in some use cases it'd be good to identify the receiving address, as well as the sending one.
>>> E.g.,
>>> Forwarded-For:; by=,; by=
>> Agreed. I'm used to see that info almost as commonly as the x-f-f header,
>> because people who want one generally want the other one too. In haproxy
>> it's implemented in the x-original-to header. The format above is much
>> better, but I suspect that some users will already complain that it's
>> harder to parse for them...
>> Willy
> What happens if someone wants to send the forwarded-by-information, but
> not the forwarded-for-information?
> Does that never occur? 
> There seems to be an X-Forwarded-By in use. Maybe it would be better
> to have a header:
> Forwarded: for=, for=;by=
> Forwarded: for=;by=;proto=https
> and thereby let all parameters being equal?
> /Andreas Petersson 

Mark Nottingham

Received on Monday, 18 April 2011 23:02:06 UTC