Re: [Int-area] [BEHAVE] Revealing identity of TCP client connection when sharing IPv4 address

"Dan Wing" <dwing@cisco.com> Tue, 31 August 2010 03:56 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: int-area@core3.amsl.com
Delivered-To: int-area@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9AEAF3A68C7 for <int-area@core3.amsl.com>; Mon, 30 Aug 2010 20:56:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.461
X-Spam-Level:
X-Spam-Status: No, score=-110.461 tagged_above=-999 required=5 tests=[AWL=0.138, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, 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 aMzRLG8baLXz for <int-area@core3.amsl.com>; Mon, 30 Aug 2010 20:56:10 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 741273A6860 for <int-area@ietf.org>; Mon, 30 Aug 2010 20:56:10 -0700 (PDT)
Authentication-Results: sj-iport-6.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EALYZfEyrR7Hu/2dsb2JhbACUa4t/caJym3WCboJJBIQ7
X-IronPort-AV: E=Sophos;i="4.56,296,1280707200"; d="scan'208";a="580984547"
Received: from sj-core-5.cisco.com ([171.71.177.238]) by sj-iport-6.cisco.com with ESMTP; 31 Aug 2010 03:56:41 +0000
Received: from dwingWS ([10.32.240.194]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id o7V3uf0s010657; Tue, 31 Aug 2010 03:56:41 GMT
From: Dan Wing <dwing@cisco.com>
To: matthew@matthew.at
References: <0e7b01cb44a2$5454b7a0$fcfe26e0$@com> <9374_1282802737_4C760431_9374_115857_1_94C682931C08B048B7A8645303FDC9F31A5A65E9F5@PUEXCB1B.nanterre.francetelecom.fr> <08d901cb4800$494a5840$dbdf08c0$@com> <4C7BE9AB.4090503@isi.edu> <0aa201cb486c$7a1b2be0$6e5183a0$@com> <4C7BF25D.4040108@isi.edu> <0ab901cb486f$ea083fd0$be18bf70$@com> <4C7C1C8A.20201@matthew.at> <0c8401cb48b0$35dab240$a19016c0$@com> <4C7C6EAF.9040607@matthew.at>
In-Reply-To: <4C7C6EAF.9040607@matthew.at>
Date: Mon, 30 Aug 2010 20:56:41 -0700
Message-ID: <0cad01cb48c0$851c3490$8f549db0$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: ActIt7TQUI+n0fgqRLyFrq3GPNRfogACDCsQ
Content-Language: en-us
Cc: int-area@ietf.org, 'JACQUENET Christian NCPI/NAD/TIP' <christian.jacquenet@orange-ftgroup.com>
Subject: Re: [Int-area] [BEHAVE] Revealing identity of TCP client connection when sharing IPv4 address
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 31 Aug 2010 03:56:11 -0000

> -----Original Message-----
> From: Matthew Kaufman [mailto:matthew@matthew.at]
> Sent: Monday, August 30, 2010 7:54 PM
> To: Dan Wing
> Cc: 'Joe Touch'; int-area@ietf.org; 'JACQUENET Christian NCPI/NAD/TIP'
> Subject: Re: [Int-area] [BEHAVE] Revealing identity of TCP client
> connection when sharing IPv4 address
> 
> 
>   On 8/30/2010 6:59 PM, Dan Wing wrote:
> >
> > CX-ID is not related to legal inquiries.
> >
> > Rather, CX-ID allows someone running a server to know the same amount
> > of information no matter if the subscriber's ISP operates a NAT
> > (and thus is sharing an IP address with multiple subscribers and
> > sends CX-ID), or if the subscriber's ISP is not operating a NAT (and
> > thus each subscriber gets their own IPv4 address for NNNNN hours,
> > where NNNNN is chosen by the ISP [short values of NNNNN are used by
> > some ISPs rotate IP addresses amongst subscribers to thwart
> subscriber-
> > operated servers]).
> 
> I don't believe it does this. Looking at the IPv4 source address tells
> me a whole lot about the responsible party closest to me. Looking at
> the
> CX-ID tells me... nothing. Unless I have an agreement with the same
> party who is sourcing traffic with that IPv4 address wherein they tell
> me useful things about how they assign CX-IDs.

Yes, I agree an out-of-band agreement such as that might be useful
or might be necessary.

We might also consider some sort of encoding of the CX-ID ("this is
their internal IPv4 address" or "this is the internal VLAN" or
"this is an opaque identifier that is always assigned to this
subscriber").

> And I only care about
> TCP. But for that, we could have a protocol that is more secure *and*
> more reliable *and* doesn't burn up option space... a good starting
> point would be the equivalent of running identd on the NAT box.

Yes, I have considered that as well.  

However, that is a new protocol and adds more latency for that
query; the server would want to wait until the 3-way handshake
completes and then ask the NAT 'who sent that?'  CX-ID is effectively 
as useful as doing that, but CX-ID does not incur the additional
latency.

> Of course all the reasons that identd is pointless apply here as well.

Agreed.

> > My point was that an ISP has no reason, themselves, to operate
> > multiple levels of NAT.  It only costs money.  Tunnels to the 'big
> > NAT' (closest to the Internet) are cheaper and accomplish exactly
> > the same thing, because the peer-to-peer traffic cannot be short-
> > cut between the smaller NATs unless the p2p software is really
> > smart and also able to learn the IP address and port mapping of
> > the intermediate NAT devices.
> And there won't be small ISPs who buy NATed transit from bigger ISPs
> because...?

Those are different administrative domains.  Different companies.
And, yes, they may well start to exist.

As I mentioned, -01 will include text discussing nested NATs and how
they could work with nested CX-IDs.

-d