Re: WGLC: draft-ietf-appsawg-http-forwarded-02.txt - section 5.1

Amos Jeffries <squid3@treenet.co.nz> Sun, 06 May 2012 01:46 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E97D21F851B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 5 May 2012 18:46:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.636
X-Spam-Level:
X-Spam-Status: No, score=-9.636 tagged_above=-999 required=5 tests=[AWL=0.363, BAYES_00=-2.599, J_CHICKENPOX_24=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uEuHpb--f2MJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 5 May 2012 18:46:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C44FE21F850C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 5 May 2012 18:46:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SQqWT-0005s2-Cu for ietf-http-wg-dist@listhub.w3.org; Sun, 06 May 2012 01:44:29 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1SQqWG-0005rB-Gt for ietf-http-wg@listhub.w3.org; Sun, 06 May 2012 01:44:16 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SQqWA-0002lu-8Q for ietf-http-wg@w3.org; Sun, 06 May 2012 01:44:14 +0000
Received: from [192.168.1.102] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 42A7BE6ED4 for <ietf-http-wg@w3.org>; Sun, 6 May 2012 13:43:39 +1200 (NZST)
Message-ID: <4FA5D74A.4020900@treenet.co.nz>
Date: Sun, 06 May 2012 13:43:38 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <4FA02AEA.1080407@isode.com> <0A15D230-F8D2-498F-894B-86A3C987C456@mnot.net> <aae9c9339c5d775b57e0371b609b9334@treenet.co.nz> <20120504113403.5a65e4ff@hetzer>
In-Reply-To: <20120504113403.5a65e4ff@hetzer>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SQqWA-0002lu-8Q ea127ff97d045a55704ad290e0d174e5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC: draft-ietf-appsawg-http-forwarded-02.txt - section 5.1
Archived-At: <http://www.w3.org/mid/4FA5D74A.4020900@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13523
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SQqWT-0005s2-Cu@frink.w3.org>
Resent-Date: Sun, 06 May 2012 01:44:29 +0000

On 4/05/2012 9:34 p.m., Andreas Petersson wrote:
> On Wed, 02 May 2012 14:32:59 +1200
> Amos Jeffries<squid3@treenet.co.nz>  wrote:
>> ** section 5.1, must it be an interface label?
>>
>> what about interception ports where the TCP details are not related to
>> the interface in any way and both details needed?

With the TPROXY/divert socket features in recent kernels replacing NAT 
there is a big disconnection of the TCP details and application 
listening port details.

For example an application can be listening on 192.168.1.1:3129  and 
receiving TCP packets with src 10.1.1.1:12345 dst 10.2.3.4:80. Which of 
the three IP:port values is best added to the header?

I know this only affects interception proxies which we dont *realy* want 
to cater for specifically. But it does bring up a clarity issue with the 
texts.

>> what about interfaces labelled with non-alphanumeric characters?

Using squid as an example:

   http_port 127.0.0.1:3128 name=localhost-3128
   http_port 127.0.0.1:3129 name=localhost-3129

"-" character is not matching the alpha-numeric ABNF requirements. Also 
the admin might have entered any UTF-8 characters from whatever language 
they use as the label.

> Hi,
>
> Can you explain how you mean/give some examples?
>
>   /andreas
>


AYJ