Re: [Int-area] New Version Notification for draft-olteanu-intarea-socks-6-02.txt

Vladimir Olteanu <vladimir.olteanu@cs.pub.ro> Tue, 06 March 2018 19:44 UTC

Return-Path: <vladimir.olteanu@cs.pub.ro>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA10312D7E4 for <int-area@ietfa.amsl.com>; Tue, 6 Mar 2018 11:44:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NoKVdDv4aPu7 for <int-area@ietfa.amsl.com>; Tue, 6 Mar 2018 11:44:49 -0800 (PST)
Received: from vesa.cs.pub.ro (vesa.cs.pub.ro [141.85.227.187]) by ietfa.amsl.com (Postfix) with ESMTP id 0C314126BF3 for <int-area@ietf.org>; Tue, 6 Mar 2018 11:44:48 -0800 (PST)
IronPort-PHdr: 9a23:cGdRhRRFynKZsQtFsd3E2coKtNpsv+yvbD5Q0YIujvd0So/mwa6yYxGN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSU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gGDQYCAQGFGwyrTCaETINygiaFMYQFgWYpgk42gy4BAQIBAReBQDaFTQSIJ4VVhUyHHwmCDoRGiiSBbk6DZ4J4hWSJfYkFAg4nISaBLDMaUSGCQwmCWoFndQGJWweCQgEBAQ
X-IPAS-Result: A2CRAQAr755a/wPjVY1dGQEBAQEBAQEBAQEBAQcBAQEBAYQ2A20ojmyOVTJ7G5ZJIgEMgzWBVgKDJDgUAQIBAQEBAQECAWongjgkAYJGAQEBBAEBbAkCEAsOAwMBAgEnBycfCQgGDQYCAQGFGwyrTCaETINygiaFMYQFgWYpgk42gy4BAQIBAReBQDaFTQSIJ4VVhUyHHwmCDoRGiiSBbk6DZ4J4hWSJfYkFAg4nISaBLDMaUSGCQwmCWoFndQGJWweCQgEBAQ
X-IronPort-AV: E=Sophos;i="5.47,432,1515448800"; d="scan'208,217";a="2421045"
Received: from mail.cs.pub.ro (HELO vmail.cs.pub.ro) ([141.85.227.3]) by vesa.cs.pub.ro with ESMTP; 06 Mar 2018 21:44:46 +0200
Received: from localhost (localhost [127.0.0.1]) by vmail.cs.pub.ro (Postfix) with ESMTP id B36551A601E4; Tue, 6 Mar 2018 21:44:46 +0200 (EET)
Received: from vmail.cs.pub.ro ([127.0.0.1]) by localhost (vmail.cs.pub.ro [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id qeeqHSqZe72G; Tue, 6 Mar 2018 21:44:46 +0200 (EET)
Received: from vmail.cs.pub.ro (localhost [127.0.0.1]) by vmail.cs.pub.ro (Postfix) with ESMTPS id 939081A6020B; Tue, 6 Mar 2018 21:44:46 +0200 (EET)
Received: from [172.19.2.202] (unknown [141.85.233.142]) by vmail.cs.pub.ro (Postfix) with ESMTPSA id 8D53E1A601E4; Tue, 6 Mar 2018 21:44:46 +0200 (EET)
To: David Schinazi <dschinazi@apple.com>
Cc: "Int-area@ietf.org" <int-area@ietf.org>
References: <152029076645.12757.10745042892446753636.idtracker@ietfa.amsl.com> <0e68adaf-8241-b2b7-f20f-979f2a70eae3@cs.pub.ro> <607A52AC-9E01-4F2B-8A67-7238517614FD@apple.com>
From: Vladimir Olteanu <vladimir.olteanu@cs.pub.ro>
Message-ID: <b9d2ec74-334e-3e39-1b3c-455e21fb978e@cs.pub.ro>
Date: Tue, 06 Mar 2018 21:44:46 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <607A52AC-9E01-4F2B-8A67-7238517614FD@apple.com>
Content-Type: multipart/alternative; boundary="------------F36EC6ED50054A4A569100F0"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/aO8Uv_NxoAcNi8PNxlOJoT-W0ao>
Subject: Re: [Int-area] New Version Notification for draft-olteanu-intarea-socks-6-02.txt
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Mar 2018 19:44:53 -0000

Hi David,

Thanks for the observation. I'll rephrase 8.1 in the next version.

Further, the "SOCKS socket options" don't necessarily map onto 
setsockopts for a typical implementation using *nix sockets. For 
example, the TFO option would be handled as follows:
  * use sendto(...MSG_FASTOPEN...) or connectx() in case of CONNECT, or
  * call setsockopt(...SOL_TCP, TCP_FASTOPEN...) in case of BIND.

Cheers,
Vlad

On 03/06/2018 08:36 PM, David Schinazi wrote:
> Hi Vladimir,
>
> Thank for updating the draft.
>
> To be honest I'm pretty surprised to see socket options sent over the 
> wire here.
> Using the socket API is not a requirement to support TCP/IP and
> send data across the internet. Wouldn't it make more sense to send
> networking constructs over the wire instead of OS constructs?
>
> I understand the need to signal TFO support, but section 8.1 "Socket 
> Options"
> appears to be creating an IANA registry for OS constructs. The target 
> use-cases
> you describe (TFO and MPTCP) are networking constructs. Rephrasing this
> section as generic SOCKS options without mentioning sockets (which are an
> implementation detail) would address my concerns.
>
> Thanks,
> David Schinazi
>
>
>> On Mar 5, 2018, at 16:03, Vladimir Olteanu 
>> <vladimir.olteanu@cs.pub.ro <mailto:vladimir.olteanu@cs.pub.ro>> wrote:
>>
>> Hi,
>>
>> We've submitted a revision of the SOCKSv6 draft.
>>
>> We've added an extensible mechanism whereby clients can alter proxy's 
>> behavior, roughly in the style of setsockopt()/getsockopt(). 
>> (Individual socket options have to be standardized separately, and 
>> don't necessarily map 1:1 to the function calls. This is not a 
>> straight set/getsockopt() RPC.) We've included a few use cases:
>>  * TFO (previously handled by a field in the request)
>>  * discovery of MPTCP availability on the server side
>>  * changing the MPTCP scheduler
>>
>> We've also addressed another security issue caused by sending SOCKS 
>> requests via TLS early data.
>>
>> Cheers,
>> Vlad
>>
>>
>> -------- Forwarded Message --------
>> Subject: 	New Version Notification for 
>> draft-olteanu-intarea-socks-6-02.txt
>> Date: 	Mon, 05 Mar 2018 14:59:26 -0800
>> From: 	internet-drafts@ietf.org
>> To: 	Vladimir Olteanu <vladimir.olteanu@cs.pub.ro>, Dragos Niculescu 
>> <dragos.niculescu@cs.pub.ro>
>>
>>
>>
>> A new version of I-D, draft-olteanu-intarea-socks-6-02.txt
>> has been successfully submitted by Vladimir Olteanu and posted to the
>> IETF repository.
>>
>> Name:		draft-olteanu-intarea-socks-6
>> Revision:	02
>> Title:		SOCKS Protocol Version 6
>> Document date:	2018-03-05
>> Group:		Individual Submission
>> Pages:		23
>> URL:https://www.ietf.org/internet-drafts/draft-olteanu-intarea-socks-6-02.txt
>> Status:https://datatracker.ietf.org/doc/draft-olteanu-intarea-socks-6/
>> Htmlized:https://tools.ietf.org/html/draft-olteanu-intarea-socks-6-02
>> Htmlized:https://datatracker.ietf.org/doc/html/draft-olteanu-intarea-socks-6-02
>> Diff:https://www.ietf.org/rfcdiff?url2=draft-olteanu-intarea-socks-6-02
>>
>> Abstract:
>>     The SOCKS protocol is used primarily to proxy TCP connections to
>>     arbitrary destinations via the use of a proxy server.  Under the
>>     latest version of the protocol (version 5), it takes 2 RTTs (or 3, if
>>     authentication is used) before data can flow between the client and
>>     the server.
>>
>>     This memo proposes SOCKS version 6, which reduces the number of RTTs
>>     used, takes full advantage of TCP Fast Open, and adds support for
>>     0-RTT authentication.
>>
>>                                                                                    
>>
>>
>> Please note that it may take a couple of minutes from the time of submission
>> until the htmlized version and diff are available attools.ietf.org <http://tools.ietf.org>.
>>
>> The IETF Secretariat
>>
>> _______________________________________________
>> Int-area mailing list
>> Int-area@ietf.org <mailto:Int-area@ietf.org>
>> https://www.ietf.org/mailman/listinfo/int-area
>