Re: [spring] SRv6 Network Programming and Link Local Source Addresses

Ron Bonica <rbonica@juniper.net> Mon, 02 December 2019 15:58 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5827912080D for <spring@ietfa.amsl.com>; Mon, 2 Dec 2019 07:58:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=GmsKBIzc; dkim=pass (1024-bit key) header.d=juniper.net header.b=QP2W9Lbn
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 iNmgrQBu3CRs for <spring@ietfa.amsl.com>; Mon, 2 Dec 2019 07:58:53 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5E2A120800 for <spring@ietf.org>; Mon, 2 Dec 2019 07:58:52 -0800 (PST)
Received: from pps.filterd (m0108161.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB2Fvvvr007804; Mon, 2 Dec 2019 07:58:51 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=PPS1017; bh=+v6+8WRuULbXsrZwbFcXfN5QcNTjZAUpNGt0AAceNeE=; b=GmsKBIzc/84Frr8HzUYpsQ19ZfCo7EDO0IKs8D8OD9DXT/tVNDVo3IKjyV/P41r/dIsf KreGsPctKdMxE/SQA1Ws6VEclCPpxcImgwybizW+x8px7H7icmJgbckZ9zL7kcW9aT2R aeAOKewKzOWDlbIkJY77UEESTxHunxlbov82GGygtR4zlazfpdpGL0b7QSWH7YIwwCKF +zauElF0ZDN0/uvbVxPabWh4mqQMLRntcWyVuLlEFp0ExkK7lb+pUvU0EJWdHuzb4dFl mMk1yhtjfJbv70HT1Q02FP2I4iRDdn536g5jvPqLWcJuLAXM4wnP/bHeUH9Z6KIt7o/5 lw==
Received: from nam03-co1-obe.outbound.protection.outlook.com (mail-co1nam03lp2053.outbound.protection.outlook.com [104.47.40.53]) by mx0b-00273201.pphosted.com with ESMTP id 2wkre12vpn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Dec 2019 07:58:51 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YuUJzPfO5Gc7tfVDAtUG+BFwu/Tz93bXDpqMwHszTUIZdDn4AdD2ZfCH2naqw74/9x1nYrXeVaAfgcZiS+Jx8t2oLl6tws63pFf+kkYHFJU/i/gDTGKy+sNnv8YR99N7pKdiqdmgfok6kkdbRhWwRKpg7NkYwYV33ZPXUTJteT+5zTWy6THqOtqBopbEqFYuJSaC5D4a5LK9Uf5LUGR/5b06aX72Gh9Pi647cz6V8uUlFySSk4sHKfUsrLgptplnVyXl14lKZir1ORMjymPiSIl9smV4kaITye5ZUdT+SH/QNYCNr+ZfeuDl8dxORi4zHEQoHHkvLdtZGkrwsQZ4+A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+v6+8WRuULbXsrZwbFcXfN5QcNTjZAUpNGt0AAceNeE=; b=h2mQnjXt3Vb16DWBnGlSQjwVOdT3W2tWEMy3xyrsM5zZ28enLB19WRNlX4WZIDi6NZuI7Io5BEgST7sYaPQi1UMm+EIWv9vsdZlrFyzWUMndNBIOCEfm6ALjjiKNKwwjOnzzyfTyYLKeFYtWmhNA/Fj5JOXFjrBNcTdS8VZN0BlLQoFkZGryjYCkEEM8mlFJ133OY/eXyCAoA3tgnJDrIuz/EBAWTNpv8G4Qby54K3R5UmIEW0gm6+KptKnFpaoTQ5HI5NVaUwyVivEpJ/5cRTxao320RS2U1kzpHaUQxJj7oESUYSfUxV7XhKqM/dt3SdRUzgCNzcYpPgQPFGO7hg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+v6+8WRuULbXsrZwbFcXfN5QcNTjZAUpNGt0AAceNeE=; b=QP2W9LbnbWrrAMi5TGN/TOsIOViHNe8SwLddUyUI97zAzRvU+XvmmUhjUbyAhelMjvUNBXER5n8zwzhQCNRGBCpp5kbbS5PYvNtzycVb1s/iKpb0he/uBuGDV1LD4w1RTPAZ7Amc235MQz9+eUNxqmnm/QiQKnKMim3RcwtIFBQ=
Received: from BN7PR05MB5699.namprd05.prod.outlook.com (20.176.28.88) by BN7PR05MB4371.namprd05.prod.outlook.com (52.133.223.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.5; Mon, 2 Dec 2019 15:58:47 +0000
Received: from BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::185e:d297:6499:4987]) by BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::185e:d297:6499:4987%7]) with mapi id 15.20.2516.003; Mon, 2 Dec 2019 15:58:47 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Bob Hinden <bob.hinden@gmail.com>
CC: Mark Smith <markzzzsmith@gmail.com>, SPRING WG <spring@ietf.org>
Thread-Topic: [spring] SRv6 Network Programming and Link Local Source Addresses
Thread-Index: AdWnvRd0lqtmH80YQu+C6Oz5BkM5rgA0iXcAAAHtYYAAAH2owAAAaB+AACLhNsAAAGgsgAAAEqow
Content-Class:
Date: Mon, 02 Dec 2019 15:58:47 +0000
Message-ID: <BN7PR05MB5699E56B4195DBD06F479FB9AE430@BN7PR05MB5699.namprd05.prod.outlook.com>
References: <BN7PR05MB5699A179E7206F3899564234AE410@BN7PR05MB5699.namprd05.prod.outlook.com> <F42D9CF3-DB62-4402-86B6-B48843959A84@gmail.com> <CAO42Z2zv9D7cncX2EfS=Amkbx9cbqNrRytZPdj5YP+h4DsSMGg@mail.gmail.com> <BN7PR05MB5699616A8A4F8DFD876C8352AE400@BN7PR05MB5699.namprd05.prod.outlook.com> <CBB0837B-C743-46A4-86C1-28C96A336E06@gmail.com> <BN7PR05MB5699F8930082179B3B1A28B3AE430@BN7PR05MB5699.namprd05.prod.outlook.com> <1E03C1DB-980A-4BFE-9DCD-56C26BDC8B77@gmail.com>
In-Reply-To: <1E03C1DB-980A-4BFE-9DCD-56C26BDC8B77@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Owner=rbonica@juniper.net; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2019-12-02T15:58:45.6947264Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Business Use Only; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=df73b346-cb9b-4965-b038-cca4bdcd9e37; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic
dlp-product: dlpe-windows
dlp-version: 11.3.2.8
dlp-reaction: no-action
x-originating-ip: [66.129.241.11]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 1c7614a5-1fd6-4f8d-de3e-08d777408439
x-ms-traffictypediagnostic: BN7PR05MB4371:
x-microsoft-antispam-prvs: <BN7PR05MB4371AA93D8797E4F2D2BFF79AE430@BN7PR05MB4371.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0239D46DB6
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(396003)(346002)(366004)(39860400002)(136003)(51444003)(189003)(199004)(13464003)(7696005)(446003)(54906003)(256004)(99286004)(66066001)(25786009)(33656002)(2906002)(9686003)(229853002)(6246003)(55016002)(3846002)(6116002)(66946007)(66476007)(66556008)(64756008)(66446008)(86362001)(76116006)(76176011)(316002)(4326008)(8936002)(478600001)(14444005)(6436002)(6306002)(186003)(81166006)(81156014)(305945005)(7736002)(11346002)(5660300002)(26005)(102836004)(14454004)(52536014)(966005)(71200400001)(6506007)(6916009)(53546011)(8676002)(71190400001)(74316002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN7PR05MB4371; H:BN7PR05MB5699.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: GXeEb9AWIq0OnNdo7/o2rvUFKrLMS7fShg/BI0m7MDR1upfm/D1Gw5iXSZIL7p6LmEnVymFUKRcU0nV0ybts35xDYieIFN3WOwaXGGBcPD/75OIaU+BK7olZzvjKoNKIM51W+b+RwxTw7sxkmbdCZac6b6IBXGxDY2p0GWDkGrwhua9hp0xMsj8BmtHZ/sE195oe1P7z7DC2qzx/C/yOEBEgNdAeQGs8TQj+GNLV3PAOxxOg7cs0yKs4Fs5cMgMSZA0H7FGUuOP21OxMdM1VefA4HY6u1hjvCpbSvp8vaoocVeD+fkTesxCiASx0hRiJ+uuYlkaa+iPAucBtyJ2AwCuVMrOQyPMH/IbbYL8YEU+AItAYjn9IS7yDIaq/YOc3CYh8xspdkUOAJuIUTOh1eMxQfcRzyZPbNtxb15MUen6GT491u3b9QX6aiuO/thUNmOrBa4zhugWYW8HLutW41xwDW7mQhg4D4qPhZUPE8y8=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 1c7614a5-1fd6-4f8d-de3e-08d777408439
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2019 15:58:47.3663 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: cmNMg5j6c0QDxPl7K7mjyr4TmRYUTW3fNwYiGrPffA3tA7VSa238uXvA1LJzxbM2Jk+/DUutVprzKFlfH5L1Tw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB4371
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-02_03:2019-11-29,2019-12-02 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 clxscore=1015 impostorscore=0 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912020141
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/YcRE_CNg2MTuVPBoSvp8rPnrYe0>
Subject: Re: [spring] SRv6 Network Programming and Link Local Source Addresses
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Dec 2019 15:58:55 -0000

Bob,

Before we debate presentation too much, we should let Pablo answer the original question. Will the packet be dropped or forwarded?

If the packet will be dropped, how is the reader of Section 4.2 to know this? Normally, pseudocode is taken literally, and the pseudocode in Section 4.2 suggests that the packet will be forwarded.

One way to wiggle out of this problem is to include a sentence at the beginning of Section 4 saying, "When the following pseudocode contradicts RFC 4291 or 8200, RFCs 4291 and 8200 take precedence.

                                                                                                              Ron




Juniper Business Use Only

-----Original Message-----
From: Bob Hinden <bob.hinden@gmail.com> 
Sent: Monday, December 2, 2019 10:47 AM
To: Ron Bonica <rbonica@juniper.net>
Cc: Bob Hinden <bob.hinden@gmail.com>; Mark Smith <markzzzsmith@gmail.com>; SPRING WG <spring@ietf.org>
Subject: Re: [spring] SRv6 Network Programming and Link Local Source Addresses

Ron,

> On Dec 2, 2019, at 7:36 AM, Ron Bonica <rbonica@juniper.net> wrote:
> 
> Bob,
> 
> Take a look at Section 4.2. The pseudocode is pretty specific.

Please explain.  I don’t see that.

Thanks,
Bob


> 
>                                            Ron
> 
> 
> 
> Juniper Business Use Only
> 
> -----Original Message-----
> From: Bob Hinden <bob.hinden@gmail.com>
> Sent: Sunday, December 1, 2019 5:56 PM
> To: Ron Bonica <rbonica@juniper.net>
> Cc: Bob Hinden <bob.hinden@gmail.com>; Mark Smith <markzzzsmith@gmail.com>; SPRING WG <spring@ietf.org>
> Subject: Re: [spring] SRv6 Network Programming and Link Local Source Addresses
> 
> Ron,
> 
>> On Dec 1, 2019, at 2:47 PM, Ron Bonica <rbonica@juniper.net> wrote:
>> 
>> Mark, Bob,
>> 
>> Yes, I agree that routers should not forward packets with link local source addresses.
> 
> or Destination addresses.
> 
>> 
>> Pablo,
>> 
>> Maybe we should update section 4.2 of the network programming draft to reflect this?
> 
> I was thinking that unless network programming has text that might cause one to think it overrides the defined behavior from rfc4291 for link-local addresses, I am not sure it has to be mentioned.
> 
> Bob
> 
> 
>> 
>>                                                                 Ron
>> 
>> 
>> From: Mark Smith <markzzzsmith@gmail.com>
>> Sent: Sunday, December 1, 2019 5:31 PM
>> To: Bob Hinden <bob.hinden@gmail.com>
>> Cc: Ron Bonica <rbonica@juniper.net>; SPRING WG <spring@ietf.org>
>> Subject: Re: [spring] SRv6 Network Programming and Link Local Source Addresses
>> 
>> 
>> 
>> On Mon, 2 Dec 2019, 08:35 Bob Hinden, <bob.hinden@gmail.com> wrote:
>> Ron,
>> 
>>> On Nov 30, 2019, at 12:36 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
>>> 
>>> Pablo,
>>> 
>>> 
>>> 
>>> Consider the packet (SA,DA) (S3, S2, S1; SL) where:
>>> 
>>> 
>>> 
>>>      • SA is link-local (fe80)
>>>      • DA, S3, S2, and S1 are all END.X
>>> 
>>> 
>>> Section 4.2 suggests that this packet will be delivered over multiple hops to its destination, regardless of its link-local source address.
>> 
>> I would think that RFC2460 Section 2.5.6. "Link-Local IPv6 Unicast Addresses” covers this:
>> 
>>   Link-Local addresses are for use on a single link.  Link-Local
>>   addresses have the following format:
>> 
>>   |   10     |
>>   |  bits    |         54 bits         |          64 bits           |
>>   +----------+-------------------------+----------------------------+
>>   |1111111010|           0             |       interface ID         |
>>   +----------+-------------------------+----------------------------+
>> 
>>   Link-Local addresses are designed to be used for addressing on a
>>   single link for purposes such as automatic address configuration,
>>   neighbor discovery, or when no routers are present.
>> 
>>   Routers must not forward any packets with Link-Local source or
>>   destination addresses to other links.
>> 
>> I think that's RFC4291.
>> 
>> RFC4007, "IPv6 Scoped Address Architecture" does too, more generally and probably more formally, in particular section 9, "Forwarding".
>> 
>> Regards,
>> Mark.
>> 
>> 
>> 
>> Bob
>> 
>> 
>>> 
>>> 
>>> 
>>> Is this the case?
>>> 
>>> 
>>> 
>>>                                                             Ron
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Juniper Business Use Only
>>> _______________________________________________
>>> spring mailing list
>>> spring@ietf.org
>>> https://www.ietf.org/mailman/listinfo/spring
>> 
>> _______________________________________________
>> spring mailing list
>> spring@ietf.org
>> https://www.ietf.org/mailman/listinfo/spring
>> 
>> Juniper Business Use Only