W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2011

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

From: Andreas Petersson <andreas@sbin.se>
Date: Thu, 23 Jun 2011 12:23:10 +0200
To: Karl Dubost <karld@opera.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20110623122310.2e180518@hetzer>
On Wed, 22 Jun 2011 13:03:29 -0400
Karl Dubost <karld@opera.com> wrote:

> Hi Andreas,
> 
> Le 7 avr. 2011 ā 05:32, Andreas Petersson a écrit :
> > I recently submitted a draft for standardizing a replacement for the
> > X-Forwarded-For header field. 
> 
> Did you have time for a second version?
> 
> For the group 
> http://tools.ietf.org/html/draft-petersson-forwarded-for-00
> 
> -- 
> Karl Dubost - http://dev.opera.com/
> Developer Relations & Tools, Opera Software
> 
> 

Well. I've done a draft for the BNF-section. I managed to run into
Henrik Nordström from Squid at an IPv6 seminar in Stockholm, so I've
also been discussing somewhat with him.

I will write the draft around a BNF that looks something like this, 
opinions are welcome.

-----
Appendix A.  Forwarded-For BNF definition

   This appendix defines the Forwarded-For header field.

       Forwarded: = "Forwarded" ":" LWS Forwarded-v
       Forwarded-v = 1#kv-v

       kv-v = OWS kv *( OWS ";" OWS kv ) OWS
       kv   = for-kv | by-kv | proto-kv | host-kv | ext-kv | private-kv

       for-kv     = "for=" node
       by-kv      = "by="  node
       proto-kv   = "proto=" ( "http" | "https" )
       host-kv    = "host=" host
       ext-kv     =  extension "=" ext-value
       private-kv = "x-" extension "=" ext-value

       node = nodename [ ":" node-port ]
       nodename = IPv4address | IP-literal |
                   "unknown" | "hidden" | obfnode
       obfnode = "_" 1*( ALPHA | DIGIT )
       node-port = port | obfport
       port = 1*5DIGIT
       obfport = 1*( ALPHA | DIGIT )
       extension = 1*( ALPHA | DIGIT | "-" )
       ext-value = 1*( ... )  ;; FIXME: exclude ; and CRLF


----


Best regards,
 Andreas Petersson,
 Opera Software
Received on Thursday, 23 June 2011 10:23:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:41 GMT