Re: [Softwires] ISP CGN logging inc. Destination ??

"Gottlieb, Jordan J" <Jordan.Gottlieb@charter.com> Fri, 11 May 2018 17:37 UTC

Return-Path: <Jordan.Gottlieb@charter.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 407DE129502; Fri, 11 May 2018 10:37:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 TR5NbVHrmfIr; Fri, 11 May 2018 10:37:30 -0700 (PDT)
Received: from mail.chartercom.com (mail.chartercom.com [24.176.92.28]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 16626126C2F; Fri, 11 May 2018 10:37:30 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.49,389,1520917200"; d="scan'208,217";a="317594535"
Received: from unknown (HELO SC58MEXGP016.CORP.CHARTERCOM.com) ([172.24.253.144]) by mail.chartercom.com with ESMTP; 11 May 2018 12:37:28 -0500
Received: from SC58MEXGP013.CORP.CHARTERCOM.COM (172.24.253.141) by SC58MEXGP016.CORP.CHARTERCOM.com (172.24.253.144) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 11 May 2018 12:37:27 -0500
Received: from SC58MEXGP013.CORP.CHARTERCOM.COM ([fe80::6839:2470:ec35:5be0]) by SC58MEXGP013.CORP.CHARTERCOM.com ([fe80::6839:2470:ec35:5be0%18]) with mapi id 15.00.1104.000; Fri, 11 May 2018 12:37:27 -0500
From: "Gottlieb, Jordan J" <Jordan.Gottlieb@charter.com>
To: "ianfarrer@gmx.com" <ianfarrer@gmx.com>
CC: "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "Rajiv Asati (rajiva)" <rajiva@cisco.com>, "Ramesh.R.Chandra@ril.com" <Ramesh.R.Chandra@ril.com>, "Yiu_Lee@comcast.com" <Yiu_Lee@comcast.com>, "softwires@ietf.org" <softwires@ietf.org>, "int-area@ietf.org" <int-area@ietf.org>
Thread-Topic: [Softwires] ISP CGN logging inc. Destination ??
Thread-Index: AQHT52u6R3ezHDuNekekT/JwVRSDyKQnwJxwgALIZoCAABkNsA==
Date: Fri, 11 May 2018 17:37:27 +0000
Message-ID: <c6439fe52b48401cbf6f1c936393a9ec@SC58MEXGP013.CORP.CHARTERCOM.com>
References: <56C7D96E-182F-4584-B190-DCD17957C01F@cisco.com> <95081DF2-FBE4-4B28-802E-13988B6DDF8D@gmx.com> <8433F1DD-3988-4DF6-B14D-3873B0F36CCB@cisco.com> <DE94262F-6C94-492A-B9F0-629160527B37@gmx.com> <ef2bbe951814477eae919a4abf9ae182@SHYDEXMBX08.in.ril.com> <77D9057C-0310-4D03-BCA9-DBFC17CE9055@Cable.Comcast.com> <6b552bbdcc4146aa97386eb609c70e27@SHYDEXMBX08.in.ril.com> <0041E033-2A33-40C8-AF67-B2FE050C4531@cisco.com> <787AE7BB302AE849A7480A190F8B93302DF16A24@OPEXCLILMA3.corporate.adroot.infra.ftgroup> <ae4f6b1ee54f43159c1457d97705a1ef@SC58MEXGP013.CORP.CHARTERCOM.com> <4E3518C7-BB69-4353-9C3C-DC5FF67180A3@gmx.com>
In-Reply-To: <4E3518C7-BB69-4353-9C3C-DC5FF67180A3@gmx.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.24.253.192]
Content-Type: multipart/alternative; boundary="_000_c6439fe52b48401cbf6f1c936393a9ecSC58MEXGP013CORPCHARTER_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/softwires/QLX0t3j5yUP-uIKwwViO03IYwvQ>
X-Mailman-Approved-At: Fri, 11 May 2018 17:06:49 -0700
Subject: Re: [Softwires] ISP CGN logging inc. Destination ??
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/softwires/>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 May 2018 17:37:35 -0000

Hi Ian,

Agree and understand why CE is not always managed by the provider.  I suggested this as I have heard that there is a provider out there that was using MAP-T for public WiFi and who had full management access to the CE.  Without managing the CE there is no differentiate device (other than attempting to fingerprint which is not likely to result with the desired source IP/port)  behind a NAPT device without some additional layer on a per-client-device basis.

Quick answers to your questions:
Would the pre-BR device still identify flows, just at a different offset within the header?
Yes pre-BR device(s) Netflow data will have applicable src/dst port information and src/dst IPv4 information embedded within the IPv6 addresses.  You are just using plain old IPv6 Netflow data and extracting the IPv4 addresses that MAP-T bit-offsets within the IPv6 address.

Would the metadata conversion take place on the same device?
This should occur as augment to the SPs existing Netflow collection infrastructure.  I see no reason to add these use cases to generic SP routing infrastructure.

I would like to clarify a couple of items regarding my Netflow suggestion.  First, I am suggesting Netflow as it is typically already in use in most service provider networks and could be leveraged without significant investment.  Netflow records are processed off the device as the provider is probably already doing this with their existing Netflow collector.

Another approach would be to take the Netflow records north of the BR in pure IPv4 form.  There is no conversion required here to obtain the source IPv4/port and destination IPv4/port.  Tying it to the subscriber requires is a little more work using the mapping rules to derive the originating subscriber by their IPv6 prefix allocations.  The drawback to this approach is that you could possibly miss some peer-to-peer traffic in the case where the BR is hairpinning all traffic (no FMRs).  Benefit to this approach is that it supports a MAP-E implementation where the pre-BR does not.

Both approaches will get you all the source/destination address and port metadata as well as the IPv6 unique identifier for the subscriber.  What you don’t get is any visibility to the addressing/port utilization for each subscriber device residing behind their gateway.

A while back I hacked (not the prettiest Python) together some tools that I built in Python3 that can do all the described bit manipulations (https://github.com/ejordangottlieb/pyswmap).  I have examples that demonstrate some of what I have described for extracting and doing some of the MAP calculations.

Thanks,

Jordan

From: ianfarrer@gmx.com [mailto:ianfarrer@gmx.com]
Sent: Friday, May 11, 2018 2:28 AM
To: Gottlieb, Jordan J
Cc: mohamed.boucadair@orange.com; Rajiv Asati (rajiva); Ramesh.R.Chandra@ril.com; Yiu_Lee@comcast.com; softwires@ietf.org; int-area@ietf.org
Subject: Re: [Softwires] ISP CGN logging inc. Destination ??

Hi Jordan,

Please see inline below.

Thanks,
Ian


On 9. May 2018, at 21:38, Gottlieb, Jordan J <Jordan.Gottlieb@charter.com<mailto:Jordan.Gottlieb@charter.com>> wrote:

If I understand this correctly it appears that requirement #1 would dictate the capability must be deployed on the CE.  The way I read it you are attempting to retain the pre-NAPT client address and port.  For the particular use case, is the CPE managed by the service provider?  If so, why not originate the logging from the CPE as it has the necessary visibility and state maintenance to meet all the requirements?

[if – This is a possibility in some networks, but in many countries (most of Europe AFIAK], SP’s must allow customers to attach their own equipment so this can’t be considered a secure device for meeting data retention regulations.]

There was also a comment in this thread regarding UDP and session completion.  I don’t think this is practical on the BR as support for asymmetrical routing could result in incomplete session information on a particular BR (you would have to piece it together) as exit transit BR could be different from the return transit BR.  The only device with a complete view of the flow is the CE in this case as well.

[if – I agree that the collection is complicated if you have multiple BRs, but as stated above, I don’t see the CE being a viable solution for many deployments.]

Assuming CPE is not an option, MAP-T , and that requirement #1 is not the privately addressed customer endpoint (laptop, tablet, smartphone, etc..) one could use netflow pre-BR (IPv6) and some simple program to convert to the required metadata.  Destination address is trivial as it is a fixed set of bits within the DMR(s).  Source address is not hard as long as the conversion program has an accurate list of active mapping rules.  Obviously sampling rate comes into play but I believe we have the same issue with IPFIX.

[if - I’m not sure I follow this proposal. Would the pre-BR device still identify flows, just at a different offset within the header? Would the metadata conversion take place on the same device?]




Cheers,

Jordan

From: Softwires [mailto:softwires-bounces@ietf.org] On Behalf Of mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>
Sent: Wednesday, May 09, 2018 1:31 AM
To: Rajiv Asati (rajiva); Ramesh.R.Chandra@ril.com<mailto:Ramesh.R.Chandra@ril.com>; Yiu_Lee@comcast.com<mailto:Yiu_Lee@comcast.com>
Cc: softwires@ietf.org<mailto:softwires@ietf.org>; int-area@ietf.org<mailto:int-area@ietf.org>
Subject: Re: [Softwires] ISP CGN logging inc. Destination ??

Hi Rajiv,

What concerns me with this requirement is that it nullifies one of the motivations for stateless address sharing:
https://tools.ietf.org/html/draft-ietf-softwire-stateless-4v6-motivation-05#section-3.1.3(Logging - No Need for Dynamic Binding Notifications)

especially, this part:

   Some Service Providers have a requirement to use only existing
   logging systems and to avoid introducing new ones (mainly because of
   Capital Expenditure (CAPEX) considerations).  This requirement is
   easily met with stateless solutions.

Cheers,
Med

De : Softwires [mailto:softwires-bounces@ietf.org] De la part de Rajiv Asati (rajiva)
Envoyé : mardi 8 mai 2018 23:43
À : Ramesh.R.Chandra@ril.com<mailto:Ramesh.R.Chandra@ril.com>; Yiu_Lee@comcast.com<mailto:Yiu_Lee@comcast.com>
Cc : softwires@ietf.org<mailto:softwires@ietf.org>; int-area@ietf.org<mailto:int-area@ietf.org>
Objet : Re: [Softwires] [EXTERNAL] Re: ISP CGN logging inc. Destination ??

Agree with Ramesh. DHCP(v6) helps with logging source IP assignment, but that’s it.

The requirement here is about keeping track of not only source IP+port, but also destination IP+port per connection. DHCP(v6) doesn’t apply here.

--
Cheers,
Rajiv

From: "Ramesh.R.Chandra@ril.com<mailto:Ramesh.R.Chandra@ril.com>" <Ramesh.R.Chandra@ril.com<mailto:Ramesh.R.Chandra@ril.com>>
Date: Tuesday, May 8, 2018 at 1:15 AM
To: "Yiu_Lee@comcast.com<mailto:Yiu_Lee@comcast.com>" <Yiu_Lee@comcast.com<mailto:Yiu_Lee@comcast.com>>
Cc: "ianfarrer@gmx.com<mailto:ianfarrer@gmx.com>" <ianfarrer@gmx.com<mailto:ianfarrer@gmx.com>>, Rajiv Asati <rajiva@cisco.com<mailto:rajiva@cisco.com>>, Softwires-wg list <softwires@ietf.org<mailto:softwires@ietf.org>>, "int-area@ietf.org<mailto:int-area@ietf.org>" <int-area@ietf.org<mailto:int-area@ietf.org>>
Subject: RE: [EXTERNAL] Re: [Softwires] ISP CGN logging inc. Destination ??

Not really. Need IPv4 because desitination IP is on IPv4.

Regds
ramesh chandra
M#: +91 90829 61303
O#: +91 22 7965 9762

-----Original Message-----
From: Lee, Yiu [mailto:Yiu_Lee@comcast.com]
Sent: 07 May 2018 16:46
To: Ramesh R Chandra
Cc: ianfarrer@gmx.com<mailto:ianfarrer@gmx.com>; rajiva@cisco.com<mailto:rajiva@cisco.com>; softwires@ietf.org<mailto:softwires@ietf.org>; int-area@ietf.org<mailto:int-area@ietf.org>
Subject: Re: [EXTERNAL] Re: [Softwires] ISP CGN logging inc. Destination ??

Just a quick thought. Will the dhcpv6 logs help?

Sent from mobile device, pardon possible typo.

On May 7, 2018, at 7:06 AM, "Ramesh.R.Chandra@ril.com<mailto:Ramesh.R.Chandra@ril.com>" <Ramesh.R.Chandra@ril.com<mailto:Ramesh.R.Chandra@ril.com>> wrote:
Dear Ian,  thanks for clarifications.
Regulator in India mandated to preserve the following details for each flow.
1.    Source IP + Port (private for end subscriber device)
2.    Destination IP + Port (public)
3.    Translated IP + port (public)
4.    Date and time
There is no brainer and all this is available in NAT44. MAP being stateless, no such data available from MAP-BR. We are exploring alternate option on BR to create this data in MAP.
Pls advise.
Regds
ramesh
-----Original Message-----
From: ianfarrer@gmx.com<mailto:ianfarrer@gmx.com> [mailto:ianfarrer@gmx.com]
Sent: 04 May 2018 17:28
To: Rajiv Asati (rajiva)
Cc: Softwires-wg list; int-area@ietf.org<mailto:int-area@ietf.org>; Ramesh R Chandra
Subject: Re: [Softwires] ISP CGN logging inc. Destination ??
Hi Rajiv,
Please see inline.
Cheers,
Ian
On 4. May 2018, at 12:01, Rajiv Asati (rajiva) <rajiva@cisco.com<mailto:rajiva@cisco.com>> wrote:
Ian,
Thanks for sharing the URL. While not explicit, “all metadata” would include both source and destination A+P. Is that the right interpretation?
[if - My understanding is that per-flow logging is necessary to meet
the requirement, but I’m not familiar enough with the legislation to
know what exactly needs to be stored.]
If an ISP were to use “binding” mode on the BR, then without using net flow/IPFIX, How could the compliance be achieved ?
[if - If there’s address sharing and the requirement is to provide an exact match to a data retention request (in some countries, a list of e.g. 16 users is OK), then AFAICS, you have to use IPFIX.
The implementation problem for this is compounded by the lack of state
table on most BR implementations (e.g. how do you know when a UDP
session has completed without state for that flow?)]
"Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s).
are confidential and may be privileged. If you are not the intended
recipient. you are hereby notified that any review. re-transmission.
conversion to hard copy. copying. circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient. please notify the sender immediately by return email.
and delete this message and any attachments from your system.
Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email.
The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."
_______________________________________________
Softwires mailing list
Softwires@ietf.org<mailto:Softwires@ietf.org>
https://www.ietf.org/mailman/listinfo/softwires
"Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s).
are confidential and may be privileged. If you are not the intended recipient. you are hereby notified that any
review. re-transmission. conversion to hard copy. copying. circulation or other use of this message and any attachments is
strictly prohibited. If you are not the intended recipient. please notify the sender immediately by return email.
and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email.
The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."

The contents of this e-mail message and
any attachments are intended solely for the
addressee(s) and may contain confidential
and/or legally privileged information. If you
are not the intended recipient of this message
or if this message has been addressed to you
in error, please immediately alert the sender
by reply e-mail and then delete this message
and any attachments. If you are not the
intended recipient, you are notified that
any use, dissemination, distribution, copying,
or storage of this message or any attachment
is strictly prohibited. _______________________________________________
Softwires mailing list
Softwires@ietf.org<mailto:Softwires@ietf.org>
https://www.ietf.org/mailman/listinfo/softwires

E-MAIL CONFIDENTIALITY NOTICE: 
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.