RE: Non-Last Small IPv6 Fragments

Ron Bonica <rbonica@juniper.net> Thu, 10 January 2019 19:32 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5A12130FFC for <ipv6@ietfa.amsl.com>; Thu, 10 Jan 2019 11:32:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.254
X-Spam-Level:
X-Spam-Status: No, score=-5.254 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KHOP_DYNAMIC=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 ABA8TQT_duVL for <ipv6@ietfa.amsl.com>; Thu, 10 Jan 2019 11:32:38 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 AD056131002 for <ipv6@ietf.org>; Thu, 10 Jan 2019 11:32:38 -0800 (PST)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0AJRIve029159; Thu, 10 Jan 2019 11:32:38 -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=XRIa44/NnFD/mZiT8/8E1mYxv3Qzb9VAMAn02Douszs=; b=GsKW5m4eIwzmU+AIUaPVKc4v2TxWQr9BMdWswMjAisLTqkhL8gXNZYbr0uyADRu1SQQF UkraQeZI5LGwK1hEYiADl9Fck9zChEI/JTxGZc1Xhq9mvcUjEI4HhNkQRKS7QU0HVaHt BUlz/Z2uXfMROepQ4ViLBjGiCuVXPaOm+7N9dyzV325OtpB5pM7a2RYMAVAH0kD/MBgM xYxiGGc9KlrngEiU30l+tFYHzp9F2gGos/cQ0dMYu4S2NRUlBajaTEyccsMilOrf5TYC AFsyXehyVrzn+G0JEQGs7Xmv8S8mdX8JFwR7ewLNKExgRZutv9Rpvze3MxCvAGJbQ3O/ 8Q==
Received: from nam01-by2-obe.outbound.protection.outlook.com (mail-by2nam01lp2058.outbound.protection.outlook.com [104.47.34.58]) by mx0a-00273201.pphosted.com with ESMTP id 2px9wp07ry-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 10 Jan 2019 11:32:38 -0800
Received: from BYAPR05MB4245.namprd05.prod.outlook.com (20.176.252.26) by BYAPR05MB5048.namprd05.prod.outlook.com (20.177.230.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.6; Thu, 10 Jan 2019 19:32:36 +0000
Received: from BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::7598:d648:d84f:9304]) by BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::7598:d648:d84f:9304%3]) with mapi id 15.20.1516.015; Thu, 10 Jan 2019 19:32:35 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Bob Hinden <bob.hinden@gmail.com>, Timothy Winters <twinters@iol.unh.edu>
CC: IPv6 List <ipv6@ietf.org>
Subject: RE: Non-Last Small IPv6 Fragments
Thread-Topic: Non-Last Small IPv6 Fragments
Thread-Index: AQHUqPnhfVKjIVRV7USb44QrUExkh6WoxzKAgAAaJXA=
Date: Thu, 10 Jan 2019 19:32:35 +0000
Message-ID: <BYAPR05MB42458F851962F26AE1E15CC4AE840@BYAPR05MB4245.namprd05.prod.outlook.com>
References: <CAOSSMjV0Vazum5OKztWhAhJrjLjXc5w5YGxdzHgbzi7YVSk7rg@mail.gmail.com> <2AB3F16C-FC0E-4EF7-B1ED-1A97F2CEC69B@gmail.com>
In-Reply-To: <2AB3F16C-FC0E-4EF7-B1ED-1A97F2CEC69B@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.1.0.61
dlp-reaction: no-action
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR05MB5048; 6:ndYk/0uh+zm58WiT07F6BMTNXXIJ2yOFy31VzonqiANaILAvtjTp2OK8Zl3YtevDbjn91iHZTmQPG0qU/2giso0/4Gk6eNEizgLtiLYFrsqtgm10rVOihR99S2nPhs7P3yU65Fv1FsGGm1PnyT0hLNTLoXifzLWPo1ldkGxw6GQ8I/SeHknOTUxoh0uBxAWXkvsChd/8ZqzyjJMHX6TzFcecZXbJ9DCN8DdccIdZHHcv2GR+dBIU+tF7nr84lbtLviQYLws9/8/zwXWuLwB13d/CO16pn8lpAoEydc6W+oHKWIk47bqayFoa6DZSiwIWG31wZ/ZDfaeNilFTJ+8oZEe1FNTgi6qvr3LwxacnJWqVpZ7wcT2HfGcdwHLgHupGP6Cjv9Fr7QXsR4s35Z9rz0SypjlPWPghM2xNSbw5hQl/ZD3JAeEG1lgJOjeR9ArgHkOD892+dhbO+xMn+udR+Q==; 5:5gJ1LJDdI/2V4Ijk9sivEzk9h/+tPNaYNo3+vK31TfLC9j6H/GVNKKCfcOpNcqcNK0ElWiKmNT6kOPedZx0wsRdoTXno84utvmgoymEc961g5IbjFAo37pIRTMF2Zu9vcyJLrFQNdylDn7YW1zMSPpgt0yOzSDNt39Xf5JvpzTkp+vxYWbMR0IApeZIDWc/r6xS5xNez93oFPc73i2dbAQ==; 7:TWBB6WOt0V9XC3ek8hUX66QQzQlEhdOoOI7C4lsIleMJDsnYwLKkkP+l5AfsqbZEptL9mS77LeJ3LC6rGwVeb3fp79QY4IDHLu97cuE5URnxDfUcohxq/dOLq+N+1PiRY8nPHUZ9tdMVWW+ikbI4Ug==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: d4ea66a5-4176-43d7-d44c-08d677325fda
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:BYAPR05MB5048;
x-ms-traffictypediagnostic: BYAPR05MB5048:
x-microsoft-antispam-prvs: <BYAPR05MB5048756B0B18DDCF5DF44E96AE840@BYAPR05MB5048.namprd05.prod.outlook.com>
x-forefront-prvs: 0913EA1D60
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(396003)(346002)(366004)(376002)(39860400002)(199004)(189003)(316002)(53936002)(39060400002)(9686003)(229853002)(4326008)(2171002)(110136005)(86362001)(478600001)(256004)(14454004)(6246003)(105586002)(106356001)(11346002)(71200400001)(476003)(71190400001)(55016002)(99286004)(446003)(486006)(25786009)(6436002)(305945005)(66066001)(76176011)(7736002)(8936002)(8676002)(81156014)(81166006)(5660300001)(74316002)(33656002)(97736004)(6346003)(102836004)(186003)(4744005)(26005)(3846002)(2906002)(6116002)(7696005)(6506007)(68736007); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB5048; H:BYAPR05MB4245.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: uzcCkojU/epAplykCVK56R56GoqHgu+9Z8kTufL+qRKtjvDyt+Bxh9hZvV2r//93FxhFCh6ibZ+3BLP8f/AUDAXIe79Ozx/sLamPLPQ9xGjdtgafGycSsBPt+XlGQZg00jHCGbvft29uAoBfywaLWTfwr8Xm9900UNMs2MKyBSvlFclsGiGK87rlHGDpn7Lq3Vhr7d6Y0HRUXub+rBCHEjNM15FPXjFl/uMfAo6IRsyybyILZki9K5pMYhTtY8RsxEVU3rgGGEWBo5aSs9e/BPiL5LlnK09rhkY8nLFo2EinCCMFjr7/Cf36lg0kZVQj
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: d4ea66a5-4176-43d7-d44c-08d677325fda
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2019 19:32:35.8349 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB5048
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-10_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=837 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901100151
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/A6BFPhy_gf-ctk4_fIdNs3iEcts>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Jan 2019 19:32:41 -0000

> I read some of the reports on the link, but am still not clear what the
> underlying problem is.   Why does Linux have a problem with receving
> intermediate fragments less than 1280?
> 

Hi Bob,

Might we be defending against an attack in which a packet contains:

- An IPv6 header (40 bytes)
- A Fragment Header (8 bytes)
- A TCP header (20 bytes)
- TCP Payload (1200 bytes)

This packet doesn't need to be fragmented at all because the total length is only 1268 bytes. However, a mischievous source node divides the packet into 1200 fragments. The first fragment contains an IPv6 header, a fragment header, the TCP header, and one byte of the TCP payload. Each subsequent fragment contains the IPv6 header, a fragment header, and one byte of TCP payload.

Are reassembly algorithms clever enough to protect against such attacks? If so, I don't see the problem either. But if not, we may have a problem.

                                                                                           Ron