Re: [babel] About ICMP and unnumbered routers

"STARK, BARBARA H" <bs7652@att.com> Mon, 03 August 2020 15:47 UTC

Return-Path: <bs7652@att.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 13B143A0CBC for <babel@ietfa.amsl.com>; Mon, 3 Aug 2020 08:47:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level:
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 JnFbmTO2mzO8 for <babel@ietfa.amsl.com>; Mon, 3 Aug 2020 08:47:38 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0b-00191d01.pphosted.com [67.231.157.136]) (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 574673A0CBB for <babel@ietf.org>; Mon, 3 Aug 2020 08:47:38 -0700 (PDT)
Received: from pps.filterd (m0049462.ppops.net [127.0.0.1]) by m0049462.ppops.net-00191d01. (8.16.0.42/8.16.0.42) with SMTP id 073FhA4T045153; Mon, 3 Aug 2020 11:47:33 -0400
Received: from alpi154.enaf.aldc.att.com (sbcsmtp6.sbc.com [144.160.229.23]) by m0049462.ppops.net-00191d01. with ESMTP id 32pnfa02tv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Aug 2020 11:47:33 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 073FlWMj019235; Mon, 3 Aug 2020 11:47:33 -0400
Received: from zlp30486.vci.att.com (zlp30486.vci.att.com [135.47.91.177]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 073FlRg0019086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 3 Aug 2020 11:47:27 -0400
Received: from zlp30486.vci.att.com (zlp30486.vci.att.com [127.0.0.1]) by zlp30486.vci.att.com (Service) with ESMTP id 5B97D40006BE; Mon, 3 Aug 2020 15:47:27 +0000 (GMT)
Received: from GAALPA1MSGEX1CE.ITServices.sbc.com (unknown [135.50.89.112]) by zlp30486.vci.att.com (Service) with ESMTPS id 3B1E74009E62; Mon, 3 Aug 2020 15:47:27 +0000 (GMT)
Received: from GAALPA1MSGEX1CB.ITServices.sbc.com (135.50.89.109) by GAALPA1MSGEX1CE.ITServices.sbc.com (135.50.89.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Mon, 3 Aug 2020 11:47:26 -0400
Received: from GAALPA1MSGEX1CB.ITServices.sbc.com ([135.50.89.109]) by GAALPA1MSGEX1CB.ITServices.sbc.com ([135.50.89.109]) with mapi id 15.01.2044.004; Mon, 3 Aug 2020 11:47:26 -0400
From: "STARK, BARBARA H" <bs7652@att.com>
To: 'Donald Eastlake' <d3e3e3@gmail.com>, 'Juliusz Chroboczek' <jch@irif.fr>
CC: 'Margaret' <mrcullen42@gmail.com>, 'Babel at IETF' <babel@ietf.org>, 'Théophile Bastian' <theophile.bastian@ens.fr>
Thread-Topic: [babel] About ICMP and unnumbered routers
Thread-Index: AQHWaQBJNnzZ1FL2Xk+wcpJTQt99MKkl2P6AgACur6A=
Date: Mon, 03 Aug 2020 15:47:26 +0000
Message-ID: <53db6ea1f66a40f5936106357157e25d@att.com>
References: <87pn88kgs0.wl-jch@irif.fr> <CAF4+nEGKM3_U49-79bD3eQs+SK8G4Q5oCr_WEYF8iP5+mdTDLQ@mail.gmail.com>
In-Reply-To: <CAF4+nEGKM3_U49-79bD3eQs+SK8G4Q5oCr_WEYF8iP5+mdTDLQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.70.105.245]
x-tm-snts-smtp: 970F40D2F77E86F502B62F007EEB629097A014023DC290D27532F070E336100E2
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-08-03_14:2020-08-03, 2020-08-03 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 bulkscore=0 clxscore=1011 suspectscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008030116
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/vaNjtCqSZC9JzBkNKgUk-Z5fL1U>
Subject: Re: [babel] About ICMP and unnumbered routers
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2020 15:47:40 -0000

Has an RFC 5735 169.254.0.0/16 IPv4 link local address been considered? Do the ICMP packets need to cross routed boundaries? [Sorry, I haven't been paying careful attention to the issue, so I haven't taken the time to understand it.]
Barbara

> -----Original Message-----
> From: Donald Eastlake
> 
> Hi Juliusz/David,
> 
> Thanks for the research. See below.
> 
> On Sun, Aug 2, 2020 at 3:08 PM Juliusz Chroboczek <jch@irif.fr> wrote:
> > Dear all,
> >
> > This mail is about the consequences of draft-bastian-babel-v4ov6-00 on
> > ICMPv4 generation.
> >
> > At last week's meeting, Margaret kindly pointed out that we didn't do our
> > homework, and that we didn't consider how ICMPv4 is sent out when the
> > sending router has no IPv4 addresses.  I've looked at a few RFCs, and here
> > are my tentative conclusions.
> >
> > RFC 1812 Section 2.2.7 says:
> >
> >    In this scheme, a router that
> >    has unnumbered point to point lines also has a special IP address,
> >    called a router-id in this memo.  The router-id is one of the
> >    router's IP addresses (a router is required to have at least one IP
> >    address).  This router-id is used as if it is the IP address of all
> >    unnumbered interfaces.
> >
> > So it looks like it was decided back in 1995 that all IPv4 routers need at
> > least one IPv4 address.  Much as I tried, I couldn't find anything that
> > would relax this requirement.  As expected, when an ICMPv4 packet is sent
> > over an unnumbered interface, the distinguished "router-id" address is
> > used as the source address:
> >
> >    the IP source address in an ICMP message originated by the router MUST
> >    be one of the IP addresses associated with the physical interface over
> >    which the ICMP message is transmitted.  If the interface has no IP
> >    addresses associated with it, the router's router-id (see Section
> >    [5.2.5]) is used instead.
> >
> > (This appears to be a typo -- there's nothing relevant in Section 5.2.5.)
> >
> > Interestingly, there appears to be nothing in RFC 1812 that specifies that
> > the router-id is globally unique; thus, what we could do would be to put
> > the same IPv4 address on all routers.  This would make traceroute a little
> > confusing (RFC 5837 might help), but it would solve both the problem with
> > ICMPv4 blackholes and compliance with RFC 1812.
> >
> > In the light of the above, and in the immortal words of Lenin, what shall we
> do?
> 
> > 1. Pick a private IPv4 (say 10.42.42.42) and put it on the loopback
> >    interface of all unnumbered routers.
> 
> I would recommend against this due to possible collisions.
> 
> > 2. Request a dedicated IPv4 address (the "all-routers anycast address") to
> >    be used as the loopback address of unnumbered routers.
> 
> I think this is the best way forward. Probably the "IPv4 dummy
> address" David Schinazi found would do fine. (If there is any problem
> with that, getting a new special use IPv4 address for this purpose
> would be pretty easy. The assignment requirement is "IETF Review"
> which means any document that goes through IETF Last call will do as
> the basis for a new assignment.
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.iana.org_assignments_iana-2Dipv4-2Dspecial-2Dregistry_iana-
> 2Dipv4-2Dspecial-2Dregistry.xhtml&d=DwICAg&c=LFYZ-
> o9_HUMeMTSQicvjIg&r=LoGzhC-8sc8SY8Tq4vrfog&m=3AJm3dEuSiQGZ-
> ZV79-GC1BPS_4jpUF5cvaTIlD5ZgI&s=b0I9NcTMzHIVkI9EZQ5GEcPBe-dg-
> xPXFNH5MtgyCH8&e= )
> 
> > 3. Update RFC 1812 to allow unnumbered routers and 0.0.0.0 as the source
> >    address of ICMPv4 packets.
> 
> Updating RFC 1812 seems like a more difficult path and possibly there
> are routers or middle boxes that discard packets with a 0.0.0.0 source
> as bogus. I don't know if the text is still valid but RFC 1122 says of
> 0.0.0.0 source:
> 
>                  This host on this network.  MUST NOT be sent, except as
>                  a source address as part of an initialization procedure
>                  by which the host learns its own IP address.
> 
> Thanks,
> Donald
> ===============================
>  Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
>  2386 Panoramic Circle, Apopka, FL 32703 USA
>  d3e3e3@gmail.com
> 
> > I'm interested in the comments of wise people.
> >
> > -- Juliusz
> 
> _______________________________________________
> babel mailing list
> babel@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.ietf.org_mailman_listinfo_babel&d=DwICAg&c=LFYZ-
> o9_HUMeMTSQicvjIg&r=LoGzhC-8sc8SY8Tq4vrfog&m=3AJm3dEuSiQGZ-
> ZV79-
> GC1BPS_4jpUF5cvaTIlD5ZgI&s=5Nh_1kZZZtr2sloYG14thQ3TVcrnB_0udm7dQ
> LdKRfg&e=