Re: [BEHAVE] one week WGLC, draft-ietf-behave-ftp64-05

Iljitsch van Beijnum <iljitsch@muada.com> Tue, 21 December 2010 22:59 UTC

Return-Path: <iljitsch@muada.com>
X-Original-To: behave@core3.amsl.com
Delivered-To: behave@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9BC9C3A6AC8 for <behave@core3.amsl.com>; Tue, 21 Dec 2010 14:59:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.784
X-Spam-Level:
X-Spam-Status: No, score=-101.784 tagged_above=-999 required=5 tests=[AWL=0.815, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H3FRMEZoTBnC for <behave@core3.amsl.com>; Tue, 21 Dec 2010 14:59:02 -0800 (PST)
Received: from sequoia.muada.com (unknown [IPv6:2001:1af8:2:5::2]) by core3.amsl.com (Postfix) with ESMTP id 92A7E3A6A6F for <behave@ietf.org>; Tue, 21 Dec 2010 14:59:02 -0800 (PST)
Received: from [192.168.0.193] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id oBLN0tTF060498 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 22 Dec 2010 00:00:56 +0100 (CET) (envelope-from iljitsch@muada.com)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="us-ascii"
From: Iljitsch van Beijnum <iljitsch@muada.com>
In-Reply-To: <9B57C850BB53634CACEC56EF4853FF653447D195@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Date: Wed, 22 Dec 2010 00:00:51 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <9C2CFA50-4870-4B37-A15B-524B8DC8289E@muada.com>
References: <0cac01cb58ea$32d19a60$9874cf20$@com> <9B57C850BB53634CACEC56EF4853FF65343005F2@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com> <B166ACF7-FA96-4954-8411-A86BC7923A76@muada.com> <9B57C850BB53634CACEC56EF4853FF653447D195@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
To: Dave Thaler <dthaler@microsoft.com>
X-Mailer: Apple Mail (2.1082)
Cc: "draft-ietf-behave-ftp64@tools.ietf.org" <draft-ietf-behave-ftp64@tools.ietf.org>, 'Behave WG' <behave@ietf.org>, "behave-chairs@tools.ietf.org" <behave-chairs@tools.ietf.org>
Subject: Re: [BEHAVE] one week WGLC, draft-ietf-behave-ftp64-05
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/behave>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Dec 2010 22:59:03 -0000

On 21 dec 2010, at 19:11, Dave Thaler wrote:

>> As such, an ALG MUST NOT use any
>> characters outside of the 7-bit ASCII range in the text that it generates.
>> However, an ALG MUST transparently forward commands and responses
>> containing UTF-8 encoded text when those occur.

> I think the options for an FTP64 are

> a) always reject LANG command with an error-response (RFC 2640 section 4.2)
>    In this solution, I think it should process the FEAT response and remove
>    the fact that the LANG command is supported, or it may break certain
>    clients that may expect it to succeed when the FEAT says it will.

I don't like this, because it's too tricky. I don't know of any implementations that support RFC 2640, and if those are not tested against this solution can easily create subtle bugs.

> b) reject the LANG command with an error-response whenever the FTP64
>    cannot generate text in the specified language.   In this solution,
>    I think it should process the FEAT response and remove any language
>    tags that it doesn't support, and remove the fact that the LANG command
>    is supported if the list becomes empty.

See above.

> c) appear to violate the section 4.1 MUST and generate text in a language
>    other than what the client expects.   This is what the draft currently implies
>    and I think this is broken.

I don't think there is any solution that conforms to the spirit of RFC 2640: that would be to provide text in the negotiated language. Rejecting language negotiation may be correct protocol-wise, but it really doens't help the user to get the text from the server in a non-desired language just because the ALG can't generate responses in that language.

I'm going to ask on the ftpext list to see if anyone knows about RFC 2640 implementations. If not, then the most prudent course of action would be to move RFC 2640 to historic, IMO.