Re: [v6ops] Please review draft-donley-behave-deterministic-cgn

Chris Grundemann <C.Grundemann@cablelabs.com> Tue, 27 December 2011 21:25 UTC

Return-Path: <C.Grundemann@cablelabs.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5A9B21F8A91 for <v6ops@ietfa.amsl.com>; Tue, 27 Dec 2011 13:25:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.551
X-Spam-Level: **
X-Spam-Status: No, score=2.551 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, HELO_EQ_MODEMCABLE=0.768, HOST_EQ_MODEMCABLE=1.368, J_CHICKENPOX_13=0.6]
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 kybCm9+Edn0t for <v6ops@ietfa.amsl.com>; Tue, 27 Dec 2011 13:25:45 -0800 (PST)
Received: from ondar.cablelabs.com (ondar.cablelabs.com [192.160.73.61]) by ietfa.amsl.com (Postfix) with ESMTP id 50C2021F8A57 for <v6ops@ietf.org>; Tue, 27 Dec 2011 13:25:45 -0800 (PST)
Received: from kyzyl.cablelabs.com (kyzyl [10.253.0.7]) by ondar.cablelabs.com (8.14.5/8.14.5) with ESMTP id pBRLPgRa001890; Tue, 27 Dec 2011 14:25:42 -0700
Received: from srvxchg.cablelabs.com (10.5.0.15) by kyzyl.cablelabs.com (F-Secure/fsigk_smtp/303/kyzyl.cablelabs.com); Tue, 27 Dec 2011 14:25:42 -0700 (MST)
X-Virus-Status: clean(F-Secure/fsigk_smtp/303/kyzyl.cablelabs.com)
Received: from srvxchg.cablelabs.com ([10.5.0.15]) by srvxchg ([10.5.0.15]) with mapi; Tue, 27 Dec 2011 14:25:42 -0700
From: Chris Grundemann <C.Grundemann@cablelabs.com>
To: "George, Wes" <wesley.george@twcable.com>, Fred Baker <fred@cisco.com>, v6ops v6ops WG <v6ops@ietf.org>
Date: Tue, 27 Dec 2011 14:25:39 -0700
Thread-Topic: [v6ops] Please review draft-donley-behave-deterministic-cgn
Thread-Index: AczE3hYrxNASJmabRUaOCTV/UHGuUg==
Message-ID: <CB1F8312.3E6A%c.grundemann@cablelabs.com>
In-Reply-To: <34E4F50CAFA10349A41E0756550084FB11D94DA3@PRVPEXVS04.corp.twcable.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.14.0.111121
acceptlanguage: en-US
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Approved: ondar
Cc: Behave Chairs <behave-chairs@tools.ietf.org>, "draft-donley-behave-deterministic-cgn@tools.ietf.org" <draft-donley-behave-deterministic-cgn@tools.ietf.org>
Subject: Re: [v6ops] Please review draft-donley-behave-deterministic-cgn
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Dec 2011 21:25:46 -0000

Thanks for the feedback Wes,

I'm digging in to prepare a -01 so am reviewing all the comments to dateŠ
Comments inline below.

Cheers,
~Chris


On 10/11/11 2:43 PM, "George, Wes" <wesley.george@twcable.com> wrote:

>I'm not sure why this draft is classified as experimental and not
>informational or even standards track formally updating RFC6264 and/or
>shirasaki-nat444.
>
>After reading this:
>http://www.ietf.org/old/2009/u/ietfchair/info-exp.html I'm still not sure
>why. Can someone involved in the discussion apply the clue brick?

I'll allow those more versed in the intricacies of IETF doc types step in
here as to the preferred classification - I do not believe that we are
married to experimental if another class is deemed more appropriate.

>In terms of the meat of the document, I think that the document needs to
>cover the case where ports are not allocated sequentially (such as in
>order to reduce the determinisim and make it harder for a rogue entity to
>guess the next port, or for privacy reasons). It may work basically the
>same way as when a subscriber exceeds their pre-allocated ports, but the
>draft should explicitly cover this.

I may be misunderstanding but I believe this is covered in Section 2, Step
2, which reads in part:

"Port allocation could be made sequentially (e.g. the first block goes to
address 1, the second block to address 2, etc.), staggered (e.g. address 1
receives ports n*(C+D), address 2 receives ports 1+n*(C+D), etc.), or
through some other deterministic algorithm left to CGN implementation.
Subscribers could be restricted to ports from a single IPv4 address, or
could be allocated ports across all addresses in a pool, for example."

>Also, it would be good to discuss failover cases - how much (if any)
>state has to be maintained between CGNs in order to ensure adequate
>logging information is available during common failover cases (failure
>within the CGN instance, failure between two standalone CGN instances,
>etc). I'm not suggesting discussion of how to make a CGN fail over, I'm
>only talking about the considerations unique to this implementation.

I'm not opposed to adding a section covering failover but I believe that
it would be fairly simple.

Since the reservations are deterministic, knowing the outside IP should
lead you to the proper CGN instance (whether in failure mode or not) and
having the IP and port will allow the reverse mapping on that instance
(again, does not matter if the instance is the primary or secondary).

This holds true if the instances are active/passive and a primary failure
causes sessions to break and re-connect over the secondary, or in an
active/active cluster arrangement where the outside IP pool is shared
between multiple active CGN instances.

Perhaps I'm missing something though, and this is more complicated than I
propose.

>Lastly - the draft should recommend (possibly even a MUST) that
>implementers should provide a means to reverse the mapping algorithm. One
>of the challenges for any mapping algorithm is that one must understand
>it well enough to reverse it, and either do manual calculations to
>determine the mapping, or write a tool to do it. The path chosen largely
>depends on the frequency of the requests for that type of information. It
>makes far more sense for the implementer to make their mapping available
>in both directions so that there is no guesswork on the part of the
>operator as to whether they are reverse-engineering the mapping properly
>to arrive at the correct result.

I will talk about this with the other authors, however, I tend to agree
that this should at least be suggested, if not required.

>Thanks,

Thank you!

>Wes George
>
>
>> -----Original Message-----
>> From: v6ops-bounces@ietf.org [mailto:v6ops-bounces@ietf.org] On Behalf
>> Of Fred Baker
>> Sent: Tuesday, October 11, 2011 9:52 AM
>> To: v6ops v6ops WG
>> Cc: Behave Chairs; draft-donley-behave-deterministic-cgn@tools.ietf.org
>> Subject: [v6ops] Please review draft-donley-behave-deterministic-cgn
>>
>> Operators subject to law enforcement subpoenas and using Carrier Grade
>> NAT are having difficulties with the syslog rate for per-connection
>> logging. Chris Donley has proposed a simplification; the provider
>> allocates a deterministic set of source ports to his subscribers, and
>> only needs to log exceptions. Research in the area suggests that usage
>> of source ports is pareto distributed; a typical user has a requirement
>> on the order of 4 port numbers in simultaneous use (median), but port
>> scans and other large volume uses drive the average quite a bit higher.
>>
>> They haven't asked for it, but I suspect the behave chairs would
>> appreciate operational commentary on the draft.
>>
>> http://tools.ietf.org/html/draft-donley-behave-deterministic-cgn
>>   "Deterministic Address Mapping to Reduce Logging in Carrier Grade
>> NATs",
>>   Chris Donley, Chris Grundemann, Vikas Sarawat, Karthik Sundaresan,
>>   26-Sep-11
>>
>> _______________________________________________
>> v6ops mailing list
>> v6ops@ietf.org
>> https://www.ietf.org/mailman/listinfo/v6ops
>
>This E-mail and any of its attachments may contain Time Warner Cable
>proprietary information, which is privileged, confidential, or subject to
>copyright belonging to Time Warner Cable. This E-mail is intended solely
>for the use of the individual or entity to which it is addressed. If you
>are not the intended recipient of this E-mail, you are hereby notified
>that any dissemination, distribution, copying, or action taken in
>relation to the contents of and attachments to this E-mail is strictly
>prohibited and may be unlawful. If you have received this E-mail in
>error, please notify the sender immediately and permanently delete the
>original and any copy of this E-mail and any printout.