
From nobody Wed May  1 02:29:10 2019
Return-Path: <marcus.dansarie.nilsson@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC15A1200C1 for <ntp@ietfa.amsl.com>; Wed,  1 May 2019 02:29:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 XezbUWtdFtlt for <ntp@ietfa.amsl.com>; Wed,  1 May 2019 02:29:07 -0700 (PDT)
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1A991200B2 for <ntp@ietf.org>; Wed,  1 May 2019 02:29:06 -0700 (PDT)
Received: by mail-wm1-x32a.google.com with SMTP id j13so6640111wmh.2 for <ntp@ietf.org>; Wed, 01 May 2019 02:29:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=sender:subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jJ604heeWHmJ2R4hzfBIJ7JusXRb3FEQSeRE/22JAOE=; b=o5nrmQq4gbctLcWux5ztTQBOwKpK2YDcM31Ww70+Tz8CFMB/E/rgh685RRLEyGBs8n Omot+LEu8+u/sZWrRH2PTzFnZHK9UdqtFWrYBuoCV9axQXyGkGK+bB+UbDrBYEfh5D7c uy/LPvB2THplTnJ3ZAZW4ozoRtTUcK2X1M29LLf4TK3bCpqMJA3uV9Rc8p7NN+Ok9VgT QbAf4DB3kHB/z790riMANXP1xNkHBBxUsRXBPtObzI/sXw6o20SEBmivni1X+xhsFYaV BHAzbQKl0G6rkkhTDFLwJ8GhmDeu27G+MG1osIVGBcnkVDeCv1sHmC3JMJ9KFNA/O01v diTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=jJ604heeWHmJ2R4hzfBIJ7JusXRb3FEQSeRE/22JAOE=; b=RAgk/QeoOtcblLiSfW/1d+5S9rVUWF2P3F9urZ6KSTp1Phf0ceOpMj22D28U+hyLZB M3ASaUFaKMTrkQJb2Zo7r3nlNCT2f5aETxbDPz4PA6SPG8OFX2mOaf7mpkfETmEwtHTN kVvq2rHDQ0Bn2+WZwzqkj2jEKvQ/UkdaXWLeLS0n7AEM6Pf7pUpwlYQnqnYxRR6Uldk/ 5AW4KiwTGOat2qOB1wZCnsa+PUlr2jcogxcdCqAbuJz4O6n0iCRNJAHSUYqQeud8+vJV W9krerggrKy1WxqdK/51dxasNjPur3nlBAVoYmwDdSQOH6A3UYDBsSz18NJmfyFenmIs dUAQ==
X-Gm-Message-State: APjAAAUamyl1fHYXho20izHrgk7V451Lbqt1OB0vi9JLoptj/IqdZyWy IkRWZkEGxBH8AusFgLpzMMzSt2kHRIQ=
X-Google-Smtp-Source: APXvYqyLt4mt9bLQJ60KnR+DFqTo6zC91kA90voXl614ZYo7wUH44Mt9R9rZOMHJUwXJtm5CBHT+Yg==
X-Received: by 2002:a1c:cb85:: with SMTP id b127mr6505010wmg.76.1556702944751;  Wed, 01 May 2019 02:29:04 -0700 (PDT)
Received: from [10.43.0.103] ([5.83.99.44]) by smtp.gmail.com with ESMTPSA id y133sm6777399wmd.2.2019.05.01.02.29.03 for <ntp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 May 2019 02:29:03 -0700 (PDT)
Sender: Marcus Dansarie <marcus.dansarie.nilsson@gmail.com>
To: "ntp@ietf.org" <ntp@ietf.org>
References: <20190422080620.6323340605C@ip-64-139-1-69.sjc.megapath.net> <9ae82731-6c9c-6c66-6088-2e2a760e6fdd@dansarie.se> <CAN2QdAHAoM01-typ5m+EP03c3dx5O1AEbda1t-t3iY5bvMLrgQ@mail.gmail.com>
From: Marcus Dansarie <marcus@dansarie.se>
Openpgp: preference=signencrypt
Autocrypt: addr=marcus@dansarie.se; prefer-encrypt=mutual; keydata= mQINBFawEn4BEAC8YukDy8f3eczlE8WAcuctrjsNltPCLZDzcj3vBmiayXlXuPULOopqeuw4 +oaZqj4KqvdFBA1mzvwPll7IHePuwAoJYJr48IbIXc9MRjtLoFtd0KnhiVPUS8F2cmfzSJ8E FEv92sz6UT8/tlLEu6sNqr6/caYUivspuW5wf4f6nkSE+6rao9Nx9X03r289IPNBSZv+Y/Ym jWHDPpbT8WLUJZ+A8RsW/1oza609oAzqTkclmnRzip8wZZWNg3Q55P7onBmTIOrEz13My9r5 DWCMHyxXgFL1RJ9YW0t4yRkRm+HvOn3Vesk3m8CCGA6esHV0IPZmBOxJr3l+UQYuDiTgFufr WMpu5MvlyKGHS4fNd505DyyJY2G6eQLLrOq3nZy4qoZSL42TMxzYglexg+H6P/YsIIShk5Ch h/hNphXjrElDWhbGT5JiRWIivgSj/gq5QVBbDLR3b25n9PA0byGemfcEHLkii6EKyH7GW6v9 sgmvCmPfEfppYcOP2g9Jdt8RPitx0UBjoCzW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hflXAiZp9CM2HWlb7e2zXe8vChJorEf+9w3t/jyvQzCtOf12jUM1 xr99DODBAEtJ0/tUfSsGvfETmAhYD2tjRmVwzB7jRq6U4bc5jtcYEL5YKEWBIvJDVvzE3iu/ HHjc83bIIyqxeYyT3uClTWPVP5OEWBxGUas7u3hlxxmSzGjpXUDBZyoeC+Q6Q3WUp6zOSg+/ yVwD/KBQQ/Sy6vOfvgh6PmsP1D5xCZSl6UWnxSi8lTtAcjUjHyG1qCudR/pmDv0OL5Ul8PeF 87DBMz4Y0our+MslzlvhrmI90XcKAyHrukdnanS+gle61a44uFwtUGPTvCtSW4AQLR1uixc8 qaHsQNmXpQQOIt6nudcOCisXa1c6P/WU8I94u9BmCjTWRQ==
Message-ID: <55579214-0fc5-b608-5367-460a3bc5967c@dansarie.se>
Date: Wed, 1 May 2019 11:29:03 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CAN2QdAHAoM01-typ5m+EP03c3dx5O1AEbda1t-t3iY5bvMLrgQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/thbX1ALzAmX6hcfDZSazEUkGjRc>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-18.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 May 2019 09:29:09 -0000

On 2019-05-01 02:02, Watson Ladd wrote:
> I do not read 5.7 as encouraging using multiple cookie placeholder
> fields to send a single cookie back. I actually misread the
> specification and thought it required the cookie extension to be
> longer then the cookie sent in response. Perhaps this should be
> rewarded to encourage the server to send the minimum of {1+cookies
> requested, 1+number of cookies that fit in total length of cookie
> placeholder fields}.

You are right in not reading 5.7 that way. There's no wording in there
suggesting that. What I described was a way that a client implementation
could resolve the situation.

What 5.7 currently says about this is "The number of NTS Cookie
extension fields included SHOULD be equal to, and MUST NOT exceed, one
plus the number of valid NTS Cookie Placeholder extension fields
included in the request." I think this, in essence, is saying the same
thing as what you suggest.

Kind regards,
Marcus


From nobody Wed May  1 10:33:40 2019
Return-Path: <watson@cloudflare.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E20C11200FE for <ntp@ietfa.amsl.com>; Wed,  1 May 2019 10:33:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 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_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.com
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 fbtXkY_FbPZR for <ntp@ietfa.amsl.com>; Wed,  1 May 2019 10:33:32 -0700 (PDT)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5E191200F8 for <ntp@ietf.org>; Wed,  1 May 2019 10:33:31 -0700 (PDT)
Received: by mail-qt1-x836.google.com with SMTP id e2so20041322qtb.4 for <ntp@ietf.org>; Wed, 01 May 2019 10:33:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uLoL/2+viV8varcDYmUqz530gBpm5o2rsFCYvBM/iU8=; b=CvHMDb6c8JEj3VKM5UbbpJxIXENGn1KiLHjVMHgZEZPgeAzWk/XZl61xm70XZWtJBq +ejVZoLc+QcHULt4/mgFKvQdtY+al19ECHIJA+K6pEgqR0KQ/hp8VwzJeKKPn7LNrYby oEBZUu1HMEL1iNb60//kFtHPc6RHz4c+jhVeg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uLoL/2+viV8varcDYmUqz530gBpm5o2rsFCYvBM/iU8=; b=QBAtibeLoC4qLQBlfxbN6vtA34/v7WkF+FONvXTVYNU8/p9kd9emZEZ0b6Yd5xjdUB Io0yiBDdneNnKse9iV4fZYmYFgzT4TQPBHL50Td5UX9XvdV8VItpDiHsPbHEWxFzpzfB oNNs4Ye4/nCzGKf06Vugfa6ldLEvshar3VD8B5vBgQZCSsAVWge1rUY+FG4tSCuQpfas i7ET6BJ+GlI/gsdWjT/7TWcunX1Iu26Q7qFHvu5vBOLbi6veGeXLAjJhPmyNQSLbsyfv uMSfhsPF+oPN+LwFeUod7zP2ALCqDPLc2cmmp5mRVQ8yq8VbRCppw/yPPfT/OZiMqvIM Xyvw==
X-Gm-Message-State: APjAAAXo0F+50CqjBtYaJEzMUarKnf/lfv9lvnrpVztd2y2dENX6jeq/ EQpPml1trLWsG0yXKm5BB8M9Y/JlBx1rZ/muRpKMZzPb/bQ=
X-Google-Smtp-Source: APXvYqxYYsMtcz+55+Yoo3dCpEKSgcyiJpBTVrom3WBtiJuMOePT4QXhEL6ikDlzWeaoOqadI892ggTOwfOd6fbeGp4=
X-Received: by 2002:ac8:925:: with SMTP id t34mr59684507qth.30.1556732010885;  Wed, 01 May 2019 10:33:30 -0700 (PDT)
MIME-Version: 1.0
References: <20190422080620.6323340605C@ip-64-139-1-69.sjc.megapath.net> <9ae82731-6c9c-6c66-6088-2e2a760e6fdd@dansarie.se> <CAN2QdAHAoM01-typ5m+EP03c3dx5O1AEbda1t-t3iY5bvMLrgQ@mail.gmail.com> <55579214-0fc5-b608-5367-460a3bc5967c@dansarie.se>
In-Reply-To: <55579214-0fc5-b608-5367-460a3bc5967c@dansarie.se>
From: Watson Ladd <watson@cloudflare.com>
Date: Wed, 1 May 2019 10:33:20 -0700
Message-ID: <CAN2QdAHs=Nmpc1XJNEB0Za8CFP=kwPfnWDLb-HisOiC-P-U1VQ@mail.gmail.com>
To: Marcus Dansarie <marcus@dansarie.se>
Cc: "ntp@ietf.org" <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/yhZ1rmV-aJYVLMmzz_37DziGM6s>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-18.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 May 2019 17:33:34 -0000

On Wed, May 1, 2019 at 2:29 AM Marcus Dansarie <marcus@dansarie.se> wrote:
>
> On 2019-05-01 02:02, Watson Ladd wrote:
> > I do not read 5.7 as encouraging using multiple cookie placeholder
> > fields to send a single cookie back. I actually misread the
> > specification and thought it required the cookie extension to be
> > longer then the cookie sent in response. Perhaps this should be
> > rewarded to encourage the server to send the minimum of {1+cookies
> > requested, 1+number of cookies that fit in total length of cookie
> > placeholder fields}.
>
> You are right in not reading 5.7 that way. There's no wording in there
> suggesting that. What I described was a way that a client implementation
> could resolve the situation.
>
> What 5.7 currently says about this is "The number of NTS Cookie
> extension fields included SHOULD be equal to, and MUST NOT exceed, one
> plus the number of valid NTS Cookie Placeholder extension fields
> included in the request." I think this, in essence, is saying the same
> thing as what you suggest.

It certainly permits it, but it doesn't say you should include as many
cookies as you can without inflating the size. Maybe it should?
>
> Kind regards,
> Marcus
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


From nobody Thu May 16 11:21:29 2019
Return-Path: <odonoghue@isoc.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61539120283; Thu, 16 May 2019 11:21:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isoc.org
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 uct-sqqt-cbq; Thu, 16 May 2019 11:21:14 -0700 (PDT)
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690065.outbound.protection.outlook.com [40.107.69.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD47212024F; Thu, 16 May 2019 11:21:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.org; s=selector1;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9YLmd1/UBbenvCk5fbONkh/iHPFdR5k44dfNhVnSUdE=; b=dhIW61eHjwvt0hUhVlSACny3STvtbuQ6BfSadtWJ3BWLwf0FYaQZ9/6sOYbjFbjvBAIm9MwFPC2Gctwc+YNQhOKLO4V2EboLv0kbymw+7KqhD9jAqWOQrdYB8FSzQV/MYGF6+rx71aar3cp/VOjCMK3obcAReOSoIGrGO2v8t0U=
Received: from BYAPR06MB6069.namprd06.prod.outlook.com (20.178.51.90) by BYAPR06MB5541.namprd06.prod.outlook.com (20.178.55.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Thu, 16 May 2019 18:21:03 +0000
Received: from BYAPR06MB6069.namprd06.prod.outlook.com ([fe80::7046:cdfb:b774:3c78]) by BYAPR06MB6069.namprd06.prod.outlook.com ([fe80::7046:cdfb:b774:3c78%6]) with mapi id 15.20.1878.028; Thu, 16 May 2019 18:21:03 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: "ntp@ietf.org" <ntp@ietf.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: NTP WG Virtual Interim, Wednesday 29 May, 2019; 15:30 - 17:00 UTC 
Thread-Index: AQHVDBQeDESweMsRJki0kUJE9LmDgg==
Date: Thu, 16 May 2019 18:21:03 +0000
Message-ID: <E706A485-640D-4643-9C5A-1C0A88D77A4E@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
x-originating-ip: [157.157.87.71]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ef43fe02-92ec-44ed-c55b-08d6da2b417e
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:BYAPR06MB5541; 
x-ms-traffictypediagnostic: BYAPR06MB5541:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <BYAPR06MB55418A014DEF5F89E8CED1BDC20A0@BYAPR06MB5541.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4125;
x-forefront-prvs: 0039C6E5C5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(366004)(396003)(136003)(346002)(376002)(199004)(189003)(497574002)(68736007)(36756003)(110136005)(91956017)(478600001)(2616005)(186003)(966005)(66946007)(26005)(64756008)(6436002)(6486002)(33656002)(5660300002)(76116006)(66476007)(66556008)(66446008)(476003)(14454004)(73956011)(486006)(8676002)(4743002)(83716004)(305945005)(3846002)(316002)(6116002)(8936002)(2501003)(25786009)(6512007)(2906002)(99286004)(7736002)(81156014)(81166006)(102836004)(6306002)(86362001)(6506007)(71190400001)(450100002)(71200400001)(82746002)(53936002)(256004)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR06MB5541; H:BYAPR06MB6069.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: isoc.org does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 6Eyh5dibroVi8VYk5H4bV3KpSXtyaCFizSQNEeZJEI4Flkx4VuJuCjgyjpVoa11HP+D8F+6Li53ER1i70voLKNktz8CqRB+it1VVomhvBQnpJhMcMTap0UIwPoYwuuaxyvhf2zeYHGIxHuKsoTi6frWG9cxj4q/lUNWqtC7htUz5VVYjsXnmxYGcx2iC90uUw3vkz0Cz5998vY6ZrWv8LvSmwOgcyozC2Uo16VtGbyV5+0lkurLrkFW0MwCg63NdZSxqmXEN68PvkEy4vxLuad82Cv17OIQkqjCROEN1EilCqN99MpjYb6a0Ly4P8C/zu/t0L4aVhR5chUZuwIAfl3BcBmlciz0xcxzjrJGDv2JcYyGGXaZ5b4driCMZvjaKWjIrr8lGJdJZ3dyTrc4NkozyuWz40/I8a0SK7+qspkM=
Content-Type: text/plain; charset="us-ascii"
Content-ID: <D9405DAB3F5FE04E918376CC098669EE@namprd06.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-Network-Message-Id: ef43fe02-92ec-44ed-c55b-08d6da2b417e
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2019 18:21:03.5160 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR06MB5541
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ZW_fERRRieKq8VeP7hw87si1xO0>
Subject: [Ntp] NTP WG Virtual Interim, Wednesday 29 May, 2019; 15:30 - 17:00 UTC
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 May 2019 18:21:18 -0000

Folks,

The Network Time Protocol (ntp) Working Group will hold a virtual interim m=
eeting on Wednesday 29 May 2019 from 15:30 - 17:00 UTC.  The focus of this =
meeting will be to progress a number of working group documents. Below is a=
 DRAFT agenda. Please send specific agenda requests to Dieter and me. Pleas=
e note that drafts that have been updated since the last meeting (at IETF 1=
04) will get priority.=20

Thanks,
Karen

Draft Agenda:

1.  Administrative and Agenda Bashing
2.  TICTOC quick document status=20
3.  NTP quick document status=20
4.  Discussion on documents (working group and individual) that have been u=
pdated
5.  AOB (Any Other Business?)=20

The meeting will be held on Zoom. You can join via the link or by calling i=
n using the provided phone numbers.

Topic: NTP Working Group Virtual Interim
Time: May 29, 2019 3:30 PM GMT

Join Zoom Meeting
https://isoc.zoom.us/j/732277904

One tap mobile
+16465588656,,732277904# US (New York)
+16699006833,,732277904# US (San Jose)

Dial by your location
        +1 646 558 8656 US (New York)
        +1 669 900 6833 US (San Jose)
Meeting ID: 732 277 904
Find your local number: https://zoom.us/u/acFGQPnJDK


From nobody Mon May 20 23:34:01 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C5EC120019 for <ntp@ietfa.amsl.com>; Mon, 20 May 2019 23:33:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 XDRW3iotCy8F for <ntp@ietfa.amsl.com>; Mon, 20 May 2019 23:33:56 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B4CD120092 for <ntp@ietf.org>; Mon, 20 May 2019 23:33:56 -0700 (PDT)
Received: from [192.168.0.49] (unknown [178.233.231.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 765F08722F; Tue, 21 May 2019 08:33:51 +0200 (CEST)
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com>
To: "ntp@ietf.org" <ntp@ietf.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJcN+uAGIrklwJlVpRSbKbFtGC6In592lhu7 wnK8cgyP5cTU+vva9+g6P1wehi4bylXdlKc6mMphbtSA+T3WBNP557+mh3L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Bi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
X-Forwarded-Message-Id: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com>
Message-ID: <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com>
Date: Tue, 21 May 2019 02:21:22 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/xSCu5Vhb3zoWcqEjUMmzP8pOdW4>
Subject: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 May 2019 06:33:59 -0000

Folks,

We have published a rev of our I-D on NTP port randomization, based on
the feedback we've received so far:
https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-01.txt

At this point we'd like the wg to consider our document for wg adoption.

Thanks!

Cheers,
Guillermo & Fernando




-------- Forwarded Message --------
Subject: New Version Notification for
draft-gont-ntp-port-randomization-01.txt
Date: Mon, 20 May 2019 23:10:47 -0700
From: internet-drafts@ietf.org
To: Fernando Gont <fgont@si6networks.com>, Guillermo Gont
<ggont@si6networks.com>


A new version of I-D, draft-gont-ntp-port-randomization-01.txt
has been successfully submitted by Fernando Gont and posted to the
IETF repository.

Name:		draft-gont-ntp-port-randomization
Revision:	01
Title:		Port Randomization in the Network Time Protocol Version 4
Document date:	2019-05-20
Group:		Individual Submission
Pages:		7
URL:
https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-01.txt
Status:
https://datatracker.ietf.org/doc/draft-gont-ntp-port-randomization/
Htmlized:
https://tools.ietf.org/html/draft-gont-ntp-port-randomization-01
Htmlized:
https://datatracker.ietf.org/doc/html/draft-gont-ntp-port-randomization
Diff:
https://www.ietf.org/rfcdiff?url2=draft-gont-ntp-port-randomization-01

Abstract:
   The Network Time Protocol can operate in several modes.  Some of
   these modes are based on the receipt of unsolicited packets, and
   therefore require the use of a service/well-known port as the local
   port number.  However, in the case of NTP modes where the use of a
   service/well-known port is not required, employing such well-known/
   service port unnecessarily increases the ability of attackers to
   perform blind/off-path attacks, since knowledge of such port number
   is typically required for such attacks.  This document formally
   updates RFC5905, recommending the use of port randomization for those
   modes where use of the NTP service port is not required.




Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat



From nobody Tue May 21 12:20:27 2019
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E2F5E1201EC; Tue, 21 May 2019 12:20:14 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IESG Secretary <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.96.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <155846641484.2716.15139229886458968911@ietfa.amsl.com>
Date: Tue, 21 May 2019 12:20:14 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/cfooRAqXAogJgZsadGB7AGh-uuk>
Subject: [Ntp] Network Time Protocol (ntp) WG Virtual Meeting: 2019-05-29
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 May 2019 19:20:18 -0000

The Network Time Protocol (ntp) Working Group will hold
a virtual interim meeting on 2019-05-29 from 15:30 to 17:00 UTC.

Draft Agenda:

1.  Administrative and Agenda Bashing
2.  TICTOC quick document status
3.  NTP quick document status
4.  Discussion on documents (working group and individual) that have been updated
5.  AOB (Any Other Business?) 

Information about remote participation:
Join Zoom Meeting: https://isoc.zoom.us/j/732277904

One tap mobile
+16465588656,,732277904# US (New York)
+16699006833,,732277904# US (San Jose)

Dial by your location
       +1 646 558 8656 US (New York)
       +1 669 900 6833 US (San Jose)
Meeting ID: 732 277 904
Find your local number: https://zoom.us/u/acFGQPnJDK


From nobody Thu May 23 09:12:34 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6240D12014E; Thu, 23 May 2019 09:12:25 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.96.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <155862794526.17149.9219714784706451618@ietfa.amsl.com>
Date: Thu, 23 May 2019 09:12:25 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IPFyy5sJ6mAJXsAmPPORxQpziyQ>
Subject: [Ntp] I-D Action: draft-ietf-ntp-interleaved-modes-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 May 2019 16:12:26 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : NTP Interleaved Modes
        Authors         : Miroslav Lichvar
                          Aanchal Malhotra
	Filename        : draft-ietf-ntp-interleaved-modes-02.txt
	Pages           : 12
	Date            : 2019-05-23

Abstract:
   This document extends the specification of Network Time Protocol
   (NTP) version 4 in RFC 5905 with special modes called the NTP
   interleaved modes, that enable NTP servers to provide their clients
   and peers with more accurate transmit timestamps that are available
   only after transmitting NTP packets.  More specifically, this
   document describes three modes: interleaved client/server,
   interleaved symmetric, and interleaved broadcast.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-interleaved-modes/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-ntp-interleaved-modes-02
https://datatracker.ietf.org/doc/html/draft-ietf-ntp-interleaved-modes-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-interleaved-modes-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Fri May 24 14:50:18 2019
Return-Path: <watson@cloudflare.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8156D1200C1 for <ntp@ietfa.amsl.com>; Fri, 24 May 2019 14:50:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.com
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 iVLPt55tk6Rn for <ntp@ietfa.amsl.com>; Fri, 24 May 2019 14:50:14 -0700 (PDT)
Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE7FE120089 for <ntp@ietf.org>; Fri, 24 May 2019 14:50:13 -0700 (PDT)
Received: by mail-qk1-x732.google.com with SMTP id d10so9663044qko.4 for <ntp@ietf.org>; Fri, 24 May 2019 14:50:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=/T90dgMzI/WcjauB1W1QRmsemhUFAmcUUNJLe0kr+HU=; b=bktVvF5WN5S2vU6DnH0/0KWY5RDfojrxz0Gin4o89kp7+1S+PMiLWT04UR/XY+FZJ0 Gg57iycm1lZ31YaNwEMfC7ILZRbDucs2X9i7RtWSxxEGiGUeFd6rJkX204MFqggd5nAO EaomqoeCam+Tfb2dKb0k/fJnJmmg7HMYXWVSI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/T90dgMzI/WcjauB1W1QRmsemhUFAmcUUNJLe0kr+HU=; b=eIOkrzKZfN2g/tAMZsqU8HldGovLmRv8IDP9RXRJZnCNTdY4/qaYJpETgwyBQYmo1G lujYLILcaVTcV1VCa2wFhC+kCk8tjWRcU/iXmns7MOsHTf84rH64nsPc0sQezQB+QHnz JwMamyp73ec5J1ptWx9lY+fq/9sDAQxj6RpPUojCwvpGiXg7d2eZzu/6P6/jBGfxFlYd U7k5EuUjwOIT8Rlp18PD0bj3ivX5iveho2Tl48ElR8d/QwlkJnYCSujEWOGKgehJAy/1 shxX+ySPvCyuKGuSn/tolthdcjRd0T6q3dNC8ukxjzR+Mj+hIoHuHxAsDcyXYwmy6dLE bxYg==
X-Gm-Message-State: APjAAAVFYeF99v8/HACQr3mt6ORFqpJtAYGZ/5+/bFkudx7zN9rV6xm4 BA4iJF2rPPMXeQ7dgbzWNcThPNEJCoXBBkt9lRsIf/abRzQ=
X-Google-Smtp-Source: APXvYqxiIrl4h4zm/zPSMfBj/ClMWKHnHL7u4haBKhHUzi+yEt8c4DPaiu4CptlJGt/i+gIIapJ3bbD5cXu6yrAsS4I=
X-Received: by 2002:a37:a652:: with SMTP id p79mr79604561qke.73.1558734612970;  Fri, 24 May 2019 14:50:12 -0700 (PDT)
MIME-Version: 1.0
From: Watson Ladd <watson@cloudflare.com>
Date: Fri, 24 May 2019 14:50:02 -0700
Message-ID: <CAN2QdAGOsN8FtdukCbPwT8EVJCQRw2UQS4n8E5aQcNnWNY3iqQ@mail.gmail.com>
To: NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/9EH9w9O02OEUSy72gpZqSjreB98>
Subject: [Ntp] Whatever happened to the last call on draft-ietf-ntp-using-nts-for-ntp?
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 May 2019 21:50:16 -0000

Dear all,

I just realized my inbox is rather empty right now. Are we planning to
conclude this last call at the virtual interim? It seems like there is
not much more to say.

Sincerely,
Watson


From nobody Mon May 27 10:03:43 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ntp@ietf.org
Delivered-To: ntp@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A555A120044; Mon, 27 May 2019 10:03:41 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ntp@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.97.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ntp@ietf.org
Message-ID: <155897662160.809.5527655773398720605@ietfa.amsl.com>
Date: Mon, 27 May 2019 10:03:41 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Lpd4wahWhuFKhiMMmAqcxhVvZkI>
Subject: [Ntp] I-D Action: draft-roughtime-aanchal-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 May 2019 17:03:42 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol WG of the IETF.

        Title           : Roughtime
        Authors         : Aanchal Malhotra
                          Adam Langley
                          Watson Ladd
	Filename        : draft-roughtime-aanchal-02.txt
	Pages           : 11
	Date            : 2019-05-27

Abstract:
   This document specifies Roughtime - a protocol that aims to achieve
   rough time synchronization while detecting servers that provide
   inaccurate time and providing cryptographic proof of their
   malfeasance.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-roughtime-aanchal/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-roughtime-aanchal-02
https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-roughtime-aanchal-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Tue May 28 08:01:27 2019
Return-Path: <nosretep.samoht@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A25012017A for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 08:01:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.com
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 w2kxQYqMxJiJ for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 08:01:23 -0700 (PDT)
Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 194D5120229 for <ntp@ietf.org>; Tue, 28 May 2019 08:01:23 -0700 (PDT)
Received: by mail-wr1-x42a.google.com with SMTP id c2so5413943wrm.8 for <ntp@ietf.org>; Tue, 28 May 2019 08:01:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=EYRLhyvZjEPDwsLy3KNPPoHa8PkRMY5n3uq9IhZA4pE=; b=mSNpAiICYTUfJkpFEzlkGOBOxfMgwl6fyZIkPASkWL/4kn1VIng9oqnMGLP+gGuzVN wDMXp4BGDGErDkBLCaVzFaTFH3noRD8IF9AvozxDpbobMflNzN4pe3pdTNMu2HP5nd6C V8QPCNl0+IM+wT94SToNSYAsIVpE+06xb03WjkeeZfShmWdZSFQ4ps5Y6Sovb2mUrtAF aKeieD5pfJZyhNTN3Oo1CXERBEMibHAqSIYfAZtdFQX+dYocsJ+ECjivdXy23crVg+95 xa30BVmA2ZGnFWAhdR+7DH0KRAKmrZFcYxMdHXhgkdTeUUK2Zsc5crJ9LgqxZCYOBYwe sNDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EYRLhyvZjEPDwsLy3KNPPoHa8PkRMY5n3uq9IhZA4pE=; b=Q497XFiNLQe7AHfGIX41aQUzKzUlczUFYKxw/4N6biuX6yDloDfOVd+xTiGe8LG2T9 2TiEH0o3A8jx49QiKK5feLmTDaS+wEAqaRI/JP0dBOlbjLPUYKTfWFvwIBZQEdPQOKpQ ZwzAdmVSOsZcX/0cGUG94sVXexNridQSf6tWDexTSaY0M8LKI4TtT5F7Wf2ruEbVyHBn 2cI0Gy/yUjaYc1ct+47e6xAwQagrQqDwxt8b9yHznis251v7HK/a2+P8YcXZHMPfKhey DN52vPncYH7ebzAQx8iyNPsuxLlN9M6Kua1U7XX6rOCQouaVx3S9VlsPH3D0sHWbFeiZ FEWA==
X-Gm-Message-State: APjAAAUmmsvCj8GgTl4b4SuC4ic6PjTmSun/L2awitqDZ1nFXEqV3tnB smIFuEXl5cuqGYzHhZ0ETJiD0GcY
X-Google-Smtp-Source: APXvYqyu+ErCNndp6IaPfzwfcMr3JSpu5b4G53XSR41jRv3mwTy4LcaAMSGKI/FDsPHRmKPcKO/Wlg==
X-Received: by 2002:adf:9e4c:: with SMTP id v12mr408783wre.312.1559055680749;  Tue, 28 May 2019 08:01:20 -0700 (PDT)
Received: from ROADKILL.local ([132.185.158.35]) by smtp.gmail.com with ESMTPSA id a2sm9134443wrg.69.2019.05.28.08.01.19 for <ntp@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 28 May 2019 08:01:20 -0700 (PDT)
From: Thomas Peterson <nosretep.samoht@gmail.com>
To: ntp@ietf.org
References: <155897662160.809.5527655773398720605@ietfa.amsl.com>
Message-ID: <2351e209-4ab5-c336-cd48-5d792901574f@gmail.com>
Date: Tue, 28 May 2019 16:01:19 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Thunderbird/67.0
MIME-Version: 1.0
In-Reply-To: <155897662160.809.5527655773398720605@ietfa.amsl.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/qc_JUiAj4Le1XUsdsgqJ00NfXso>
Subject: Re: [Ntp] I-D Action: draft-roughtime-aanchal-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 May 2019 15:01:26 -0000

Thank you for publishing a new version of the draft.

Some feedback based on your new changes, the existing concerns raised 
prior not withstanding:

* Nit: "... violations are greater then a second the loss..." should be 
"greater than a second"
* You have not provided sufficient information for implementations on 
how to actually calculate time, only citing a single, out-of-publication 
reference. Besides Wikipedia and a humor page[0] stored on the Internet 
Archive, I have been unable to find a definitive source that describes 
MJD. Could you please in a future version describe in detail how an 
implementation take the time received and perform the necessary 
computation to something that could be applied to a system clock.
* Would it not be more appropriate to break up the MIDP value so the MJD 
day and time offset from midnight be pout into separate keys?
* Is there a specific reason why the document has now a mixture of "bit" 
and "byte"? For example, MIDP is 8 _bytes_, but RADI is 32 _bits_. It's 
reasonable to assume that a reader can distinguish, but having a mixture 
such as this could lead to errors in implementations due to reader error.

Regards

0: 
https://web.archive.org/web/20070606064704/http://vms.tuwien.ac.at/info/humour/vms-base-time-origin.txt

On 27/05/2019 17:03, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Network Time Protocol WG of the IETF.
> 
>          Title           : Roughtime
>          Authors         : Aanchal Malhotra
>                            Adam Langley
>                            Watson Ladd
> 	Filename        : draft-roughtime-aanchal-02.txt
> 	Pages           : 11
> 	Date            : 2019-05-27
> 
> Abstract:
>     This document specifies Roughtime - a protocol that aims to achieve
>     rough time synchronization while detecting servers that provide
>     inaccurate time and providing cryptographic proof of their
>     malfeasance.
> 
> 1
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-roughtime-aanchal/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-roughtime-aanchal-02
> https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-02
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-roughtime-aanchal-02
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 


From nobody Tue May 28 12:41:13 2019
Return-Path: <mayer@ntp.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 422D71200A3 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 12:41:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.889
X-Spam-Level: 
X-Spam-Status: No, score=-1.889 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_SPF_PERMERROR=0.01, 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 Werd6MDkT4Km for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 12:41:10 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [IPv6:2001:470:1:205::234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 502EF1200CC for <ntp@ietf.org>; Tue, 28 May 2019 12:41:10 -0700 (PDT)
Received: from l34097ous.rpega.com (unknown [198.22.153.34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45D42s4B2GzL7N for <ntp@ietf.org>; Tue, 28 May 2019 19:41:09 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com>
From: Danny Mayer <mayer@ntp.org>
Message-ID: <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org>
Date: Tue, 28 May 2019 15:41:08 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/n09Sb61WkH03lSRtamkELXwEQN4>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 May 2019 19:41:12 -0000

I'm formally objecting to adopting this draft since it accomplishes
nothing. RFC5905 specifically states in Section 8 paragraph 5 that the
origin timestamp should be checked with what was sent from the NTP
Client: "A packet is bogus if the origin timestamp t1 in the packet does
not match the xmt state variable T1. "

The origin timestamp is a 64-bit quantity that must be returned by the
server that is providing timestamps for the NTP Client to process. An
offpath attacker would have a hard time guessing even the correct number
of seconds never mind the other 32 bits of the timestamp. Randomizing
the port number adds another 16 bits which is overkill when you cannot
even guess the first 64 bits.

Furthermore you should try and have more than one source which would add
a minimum of another 64 bits of nonce.

While we are at it the CERT specified in the draft is similarly invalid
because of the above.

Danny

On 5/21/19 2:21 AM, Fernando Gont wrote:
> Folks,
>
> We have published a rev of our I-D on NTP port randomization, based on
> the feedback we've received so far:
> https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-=
01.txt
>
> At this point we'd like the wg to consider our document for wg adoption=
=2E
>
> Thanks!
>
> Cheers,
> Guillermo & Fernando
>
>
>
>
> -------- Forwarded Message --------
> Subject: New Version Notification for
> draft-gont-ntp-port-randomization-01.txt
> Date: Mon, 20 May 2019 23:10:47 -0700
> From: internet-drafts@ietf.org
> To: Fernando Gont <fgont@si6networks.com>, Guillermo Gont
> <ggont@si6networks.com>
>
>
> A new version of I-D, draft-gont-ntp-port-randomization-01.txt
> has been successfully submitted by Fernando Gont and posted to the
> IETF repository.
>
> Name:		draft-gont-ntp-port-randomization
> Revision:	01
> Title:		Port Randomization in the Network Time Protocol Version 4
> Document date:	2019-05-20
> Group:		Individual Submission
> Pages:		7
> URL:
> https://www.ietf.org/internet-drafts/draft-gont-ntp-port-randomization-=
01.txt
> Status:
> https://datatracker.ietf.org/doc/draft-gont-ntp-port-randomization/
> Htmlized:
> https://tools.ietf.org/html/draft-gont-ntp-port-randomization-01
> Htmlized:
> https://datatracker.ietf.org/doc/html/draft-gont-ntp-port-randomization=

> Diff:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-gont-ntp-port-randomization-0=
1
>
> Abstract:
>    The Network Time Protocol can operate in several modes.  Some of
>    these modes are based on the receipt of unsolicited packets, and
>    therefore require the use of a service/well-known port as the local
>    port number.  However, in the case of NTP modes where the use of a
>    service/well-known port is not required, employing such well-known/
>    service port unnecessarily increases the ability of attackers to
>    perform blind/off-path attacks, since knowledge of such port number
>    is typically required for such attacks.  This document formally
>    updates RFC5905, recommending the use of port randomization for thos=
e
>    modes where use of the NTP service port is not required.
>
>
>
>
> Please note that it may take a couple of minutes from the time of submi=
ssion
> until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>
>


From nobody Tue May 28 17:35:16 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8149C1200B5 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 17:35:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.399
X-Spam-Level: 
X-Spam-Status: No, score=-0.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 ZnmbG6p6TNwo for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 17:35:13 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA01212004D for <ntp@ietf.org>; Tue, 28 May 2019 17:35:12 -0700 (PDT)
Received: from [192.168.1.2] (unknown [46.2.87.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 0702989154; Wed, 29 May 2019 02:35:08 +0200 (CEST)
To: Danny Mayer <mayer@ntp.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJcN+uAGIrklwJlVpRSbKbFtGC6In592lhu7 wnK8cgyP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13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com>
Date: Tue, 28 May 2019 19:08:05 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/p5FpKeuozVMycDdFrXFdjrql27o>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 00:35:15 -0000

Hi, Danny,

On 28/5/19 15:41, Danny Mayer wrote:
> I'm formally objecting to adopting this draft since it accomplishes
> nothing. 

The claim is, of course, incorrect. You might make your own assessment
regarding you think the existing ___ is already good enough. That
doesn't mean port randomization accomplishes nothing.

In fact, port randomization is a best current practice (RFC6056 / BCP
156). So I'd argue that you should actually make a case for predictable
port numbers, rather than the other way around.

We have had plenty of evidence that employing predictable numeric ids is
a bad idea. It is quite interesting that in 2019 (after dealing with
predictable TCP ISNs, predictable DNS TxIDs, predictable IPv{4,6} frag
ids, etc.), there are still folks arguing in favor of employing
predictable numeric identifiers...

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Tue May 28 17:42:22 2019
Return-Path: <gem@rellim.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4A4D41200CD for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 17:42:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.1
X-Spam-Level: 
X-Spam-Status: No, score=-1.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_ALL=0.8, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 fgUKWJ6_S6sl for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 17:42:19 -0700 (PDT)
Received: from rellim.com (spidey.rellim.com [204.17.205.8]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 433CF12008F for <ntp@ietf.org>; Tue, 28 May 2019 17:42:19 -0700 (PDT)
Received: from localhost (spidey.rellim.com [204.17.205.8]) by rellim.com (Postfix) with ESMTPSA id 2AAB4201CC4 for <ntp@ietf.org>; Tue, 28 May 2019 17:42:18 -0700 (PDT)
Date: Tue, 28 May 2019 17:42:08 -0700
From: "Gary E. Miller" <gem@rellim.com>
To: ntp@ietf.org
Message-ID: <20190528174208.11253a67@rellim.com>
In-Reply-To: <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com>
Organization: Rellim
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/M_+cLrHjOL/ZLrR06=8vkbx"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/YWIGLHEVyblumtmFF8BiLZ3eoA4>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 00:42:20 -0000

--Sig_/M_+cLrHjOL/ZLrR06=8vkbx
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Fernando!

On Tue, 28 May 2019 19:08:05 -0400
Fernando Gont <fgont@si6networks.com> wrote:

> On 28/5/19 15:41, Danny Mayer wrote:
> > I'm formally objecting to adopting this draft since it accomplishes
> > nothing.  =20
>=20
> The claim is, of course, incorrect. You might make your own assessment
> regarding you think the existing ___ is already good enough. That
> doesn't mean port randomization accomplishes nothing.

I guess you missed this discussion recently on time-nuts:

http://lists.febo.com/pipermail/time-nuts_lists.febo.com/2019-May/096536.ht=
ml

Different NTP source ports yield varying quality results.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can=E2=80=99t measure it, you can=E2=80=99t improve it." - Lord=
 Kelvin

--Sig_/M_+cLrHjOL/ZLrR06=8vkbx
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAEBCgAdFiEEDImNR/2vUKZZKLG0LmvF3i7oaj4FAlzt1WAACgkQLmvF3i7o
aj5VLQ/8Ch3KnMk31eDzbwwlaV6LKuTKeZG65/UGiUwpKAygXF4bAIzeIMn1UH0e
BYuRv/QQeQSg7bfuE/B7iiP9m2SbsOtsZz/+cgFU2CsqsQO/Vv7dtDnf+aXB0ysy
0SQxafzOfLFlvk/FezEIpIG7uHj9y1O5muLlhroRmn202t4O4FcbHZEqYLOqsR1B
qsb8JSj7NLeNJecH3ursPh8X8G2B8remTzRsHWWdgkOsoVwkYLR7eW+MPg/CjA9Z
Wje5iJhmekW7DgWewoF38vyqkZyLwPn10eAeObZkoIN44vdBq7U52bVUt61fLUmn
N9sW+nGIna0eCRf0nZn/0RFfApv0RY5nbo6I2A4lTb6VBgG+kb5XM5OtNlQENCRL
gjgC8VkbGeuXjgV97f5VPTq3rBJB6TaaGMicruZy8eXkmDBkReTCLd1F/noAHaxJ
b3bugMOLla25azQib4OXRhOJONLB/U0Wi4lM5+RNZ6qP+A5kC+ip1eUlFrddYACU
bpCV0L+Kdls13ooalcUmXQQMLoGgvyUqRzhHYjSwCaqZjs1N5cL0Nlr/HMFnPxUW
NhIQn4I2F+gv5jBCVSPK2W9zaSZSfzZ6kfyysc4KuoFuHA+BEMtlHKZNXmadElO1
u0CYjHVzJFhglqfEbzinmU1sApKoXv4Urrz1rwZE21cWCLHGtFo=
=Bu/r
-----END PGP SIGNATURE-----

--Sig_/M_+cLrHjOL/ZLrR06=8vkbx--


From nobody Tue May 28 19:57:01 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 868F41200FB for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 19:57:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 uoNUdLCfVdzO for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 19:56:58 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2D931200D8 for <ntp@ietf.org>; Tue, 28 May 2019 19:56:57 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 30852894F9; Wed, 29 May 2019 04:56:47 +0200 (CEST)
To: "Gary E. Miller" <gem@rellim.com>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJcN+uAGIrklwJlVpRSbKbFtGC6In592lhu7 wnK8cgyP5cTU+vva9+g6P1wehi4bylXdlKc6mMphbtSA+T3WBNP557+mh3L62l4pGaEGidcZ DLYT2Ud18eAJmxU3HnM8P3iZZgeoK7oqgb53/eg96vkONXNIOwARAQABtCVGZXJuYW5kbyBH b250IDxmZ29udEBzaTZuZXR3b3Jrcy5jb20+iQJBBBMBAgArAhsjBQkSzAMABgsJCAcDAgYV CAIJCgsEFgIDAQIeAQIXgAUCTmylpQIZAQAKCRCuJQ1VHU50kv7wD/9fuNtTfxSLk3B3Hs3p ixTy8YXVjdkVwWlnJjFd7BOWmg7sI+LDhpjGfT6+ddOiwkumnvUZpObodj4ysH0i8c7P4C5t F9yu7WjklSlrB5Rth2CGChg5bKt541z2WHkFFxys9qBLmCSYDeKQkzLqhCjIUJ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q+ 29NlQLnVPjCRCKbaz9k6RJ2oIti55YUI6zSsL3lmlOXsRbXN5bRswFczkNSCJxJMlDiyAUIC WOay7ymzvgzPa+BY/mYn94vRaurDQ4/ljOfj6oqgfjts+dJev4Jj89vp8MQI3KJpZPEAEQEA AYkCJQQYAQIADwUCTmyjaAIbDAUJEswDAAAKCRCuJQ1VHU50km4xEACho45PZrUjY4Zl2opR DFNo5a6roTOPpgwO9PcBb3I5F8yX2Dnew+9OhgWXbBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com>
Date: Tue, 28 May 2019 22:56:39 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <20190528174208.11253a67@rellim.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/NUbxqzzDpDp2ESc81SATfLlhjtQ>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 02:57:01 -0000

Hi, Gary,

On 28/5/19 20:42, Gary E. Miller wrote:
> Yo Fernando!
> 
> On Tue, 28 May 2019 19:08:05 -0400
> Fernando Gont <fgont@si6networks.com> wrote:
> 
>> On 28/5/19 15:41, Danny Mayer wrote:
>>> I'm formally objecting to adopting this draft since it accomplishes
>>> nothing.   
>>
>> The claim is, of course, incorrect. You might make your own assessment
>> regarding you think the existing ___ is already good enough. That
>> doesn't mean port randomization accomplishes nothing.
> 
> I guess you missed this discussion recently on time-nuts:
> 
> http://lists.febo.com/pipermail/time-nuts_lists.febo.com/2019-May/096536.html
> 
> Different NTP source ports yield varying quality results.

So... this would be an argument for "randomize the source port on a
per-session basis, but not on a per-request basis", right?

Thanks a lot!

Cheers,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Tue May 28 20:20:32 2019
Return-Path: <msa@latt.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C16601200DE for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 20:20:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 szlIuMNV2efM for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 20:20:29 -0700 (PDT)
Received: from puck.nether.net (puck.nether.net [IPv6:2001:418:3f4::5]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 413E5120075 for <ntp@ietf.org>; Tue, 28 May 2019 20:20:29 -0700 (PDT)
Received: from [IPv6:2607:fb90:5a9c:4507:253a:e452:b4f0:262f] (unknown [IPv6:2607:fb90:5a9c:4507:253a:e452:b4f0:262f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by puck.nether.net (Postfix) with ESMTPSA id 620A9540515; Tue, 28 May 2019 23:20:26 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (1.0)
From: "Majdi S. Abbas" <msa@latt.net>
X-Mailer: iPhone Mail (16E227)
In-Reply-To: <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com>
Date: Tue, 28 May 2019 20:20:24 -0700
Cc: "Gary E. Miller" <gem@rellim.com>, ntp@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com>
To: Fernando Gont <fgont@si6networks.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/FCbQf2j9-1PVNNTO2JLpMx36m8Q>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 03:20:31 -0000

Fernando,

    Randomizing the source port is pointless.  As Danny has noted, t1 alread=
y acts as a 2^64 nonce on each client mode chime request.  This sufficiently=
 hardens the unauthenticated case to an off path attacker.  If additional se=
curity is required, authentication (via classic PSK, or NTS modes) should be=
 used.

    Per session randomization doesn't resolve these issues -- the stated rat=
ionale for both the draft and filed CVE is hardening to off path attacks, wh=
ich we've just covered.

    "Because it's best practice" isn't a reason -- it's a crutch to save a d=
raft that was filed due to an insufficient understanding of RFC 5905 and cur=
rent implementations of NTPv4.  The true best practice here is authenticatio=
n, and it does not seem to be a worthwhile effort
to restructure existing implementations to add 16 bits to
the existing nonce with work like NTS
pending to cover the client/server use case.

     Cheers,

     --msa


From nobody Tue May 28 21:18:50 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BF4F120052 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 21:18:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 cKV_KxyiEZ3R for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 21:18:46 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4849D120043 for <ntp@ietf.org>; Tue, 28 May 2019 21:18:46 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id EB555897AD; Wed, 29 May 2019 06:18:42 +0200 (CEST)
To: "Majdi S. Abbas" <msa@latt.net>
Cc: "Gary E. Miller" <gem@rellim.com>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6Tm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Jj89vp8MQI3KJpZPEAEQEA AYkCJQQYAQIADwUCTmyjaAIbDAUJEswDAAAKCRCuJQ1VHU50km4xEACho45PZrUjY4Zl2opR DFNo5a6roTOPpgwO9PcBb3I5F8yX2Dnew+9OhgWXbBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com>
Date: Wed, 29 May 2019 00:18:28 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/aZZU9txG8jXt2M6lz7w0MBOGOeY>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 04:18:49 -0000

On 28/5/19 23:20, Majdi S. Abbas wrote:
> 
> Randomizing the source port is pointless.  As Danny has noted, t1
> already acts as a 2^64 nonce on each client mode chime request.  This
> sufficiently hardens the unauthenticated case to an off path
> attacker.  If additional security is required, authentication (via
> classic PSK, or NTS modes) should be used.

Using predictable numeric identifiers is a bad habit. We have plenty of
history in this area and, as noted, it's quite interesting to see folks
pushing in this direction in 2019, when the tendency has been to
actually move away from predictable numeric IDs (TCP ISNs, transport
protocol numbers, DNS TxIDs, Frag IDs, etc.).

Using predictable port numbers makes it easy for an attacker to infer
the "session id". You are just considering one possible attack scenario.



> Per session randomization doesn't resolve these issues -- the stated
> rationale for both the draft and filed CVE is hardening to off path
> attacks, which we've just covered.

If tomorrow a flaw were found in an NTP implementation, that happened
e.g. prior to the validation of the origin timestamp, I guess you are
going to argue that "that was out of scope"?



> "Because it's best practice" isn't a reason -- it's a crutch to save
> a draft that was filed due to an insufficient understanding of RFC
> 5905  and current implementations of NTPv4. 

Please enlighten me:
Could you please explain why NTP needs a well-known transport protocol
number when operating in client/server mode?



> The true best
practice here is authentication, and it does not seem to be a worthwhile
effort
> to restructure existing implementations to add 16 bits to the
> existing nonce with work like NTS pending to cover the client/server
> use case.

Of the implementations I've checked, there's only one that doesn't do it.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Tue May 28 21:39:38 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C880F120099 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 21:39:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 StpaSb1Jbvra for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 21:39:35 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08FE6120019 for <ntp@ietf.org>; Tue, 28 May 2019 21:39:35 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id C7E788980B; Wed, 29 May 2019 06:39:31 +0200 (CEST)
To: "Majdi S. Abbas" <msa@latt.net>
Cc: "Gary E. Miller" <gem@rellim.com>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJcN+uAGIrklwJlVpRSbKbFtGC6In592lhu7 wnK8cgyP5cTU+vva9+g6P1wehi4bylXdlKc6mMphbtSA+T3WBNP557+mh3L62l4pGaEGidcZ DLYT2Ud18eAJmxU3HnM8P3iZZgeoK7oqgb53/eg96vkONXNIOwARAQABtCVGZXJuYW5kbyBH b250IDxmZ29udEBzaTZuZXR3b3Jrcy5jb20+iQJBBBMBAgArAhsjBQkSzAMABgsJCAcDAgYV CAIJCgsEFgIDAQIeAQIXgAUCTmylpQIZAQAKCRCuJQ1VHU50kv7wD/9fuNtTfxSLk3B3Hs3p ixTy8YXVjdkVwWlnJjFd7BOWmg7sI+LDhpjGfT6+ddOiwkumnvUZpObodj4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) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/BEC-Of9Udaga_PAaQ_vuTzD3QnM>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 04:39:37 -0000

On 28/5/19 23:20, Majdi S. Abbas wrote:
> Fernando,
> 
>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
> 
>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
> 
>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  

Oh, by the way. While you enlighten me why you need a fixed well-known
port number for the client, and how necessary this is, please also
elaborate on how I'm running multiple NTP clients behind a NAT box.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Tue May 28 22:20:37 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 525BD120047 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:20:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 tVVELkxODtrA for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:20:30 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 77F8E120045 for <ntp@ietf.org>; Tue, 28 May 2019 22:20:30 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DJvK02yRzL7T; Wed, 29 May 2019 05:20:28 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime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teUttxtIte64m/F9/7GEIZAxTUcLyOq/7bP4le h39jBckwc62iYzeK/VkU/bMMh2D68Z3QylMnhhcW27BcgQHPKsHhmFa2SNytYcuQiSdf9+pj 4i32ETz1nJAvYAAqgTF/0PL+8ZNQoEpe/n9woMKrlZrqD4EgFmhQ3bNVhlaXz1nuTZDrwPt1 yMxBuUNbCF4jFnaruwrSiGTRoIfUZQwAjQglahrV4/mcjfnvbNoseHX0PKd9q+wjg7MIjWqr f2CI8Fa6MdanqwYphz43I2yXANKFZuMWsWqyQYlvGuPUlUUcAL3stp24RkzDB1Q+JS0IZJST T2JSu0aTfUdWVNqr2UI19eX+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org>
Date: Tue, 28 May 2019 22:20:27 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/NDncZ07FGHe8b31sND-CDY-Tfeg>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 05:20:34 -0000

On 5/28/2019 9:37 PM, Fernando Gont wrote:
> On 28/5/19 23:20, Majdi S. Abbas wrote:
>> Fernando,
>>
>>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
>>
>>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
>>
>>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  
> 
> Oh, by the way. While you enlighten me why you need a fixed well-known
> port number for the client, and how necessary this is, please also
> elaborate on how I'm running multiple NTP clients behind a NAT box.

Nobody seems to be saying there is benefit to *only* using the
well-known port number when sending a client request.  People are saying
that requiring this in all cases doesn't buy any significant benefit.

Of course it's fine if NTP client goes thru a NAT gateway.

So here's a related question for you:

Is there benefit to knowing if you are being attacked?

> Thanks,

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Tue May 28 22:22:00 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24DB0120090 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:21:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 3Z1PGvbLW4eP for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:21:56 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9ABBE120047 for <ntp@ietf.org>; Tue, 28 May 2019 22:21:56 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DJx025dszL7T; Wed, 29 May 2019 05:21:56 +0000 (UTC)
From: Harlan Stenn <stenn@nwtime.org>
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+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W27BcgQHPKsHhmFa2SNytYcuQiSdf9+pj 4i32ETz1nJAvYAAqgTF/0PL+8ZNQoEpe/n9woMKrlZrqD4EgFmhQ3bNVhlaXz1nuTZDrwPt1 yMxBuUNbCF4jFnaruwrSiGTRoIfUZQwAjQglahrV4/mcjfnvbNoseHX0PKd9q+wjg7MIjWqr f2CI8Fa6MdanqwYphz43I2yXANKFZuMWsWqyQYlvGuPUlUUcAL3stp24RkzDB1Q+JS0IZJST T2JSu0aTfUdWVNqr2UI19eX+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <5571d399-dcf8-58de-ce32-356bc1fc8120@nwtime.org>
Date: Tue, 28 May 2019 22:21:54 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/l9ev2B9wooVrhnDp6bSdxfTlPlE>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 05:21:58 -0000

On 5/28/2019 10:20 PM, Harlan Stenn wrote:
> 
> 
> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>> Fernando,
>>>
>>>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
>>>
>>>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
>>>
>>>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  
>>
>> Oh, by the way. While you enlighten me why you need a fixed well-known
>> port number for the client, and how necessary this is, please also
>> elaborate on how I'm running multiple NTP clients behind a NAT box.
> 
> Nobody seems to be saying there is benefit to *only* using the
> well-known port number when sending a client request.  People are saying
> that requiring this in all cases doesn't buy any significant benefit.

I was unclear above - "this" refers to always requiring a random port
for sending client requests.

H
--
> Of course it's fine if NTP client goes thru a NAT gateway.
> 
> So here's a related question for you:
> 
> Is there benefit to knowing if you are being attacked?
> 
>> Thanks,
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Tue May 28 22:56:39 2019
Return-Path: <tglassey@earthlink.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70F001200E5 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:56:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.135
X-Spam-Level: 
X-Spam-Status: No, score=-2.135 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.415, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earthlink.net; domainkeys=pass (2048-bit key) header.from=tglassey@earthlink.net header.d=earthlink.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 UtI7uBUxrbvR for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:56:34 -0700 (PDT)
Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) (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 82259120045 for <ntp@ietf.org>; Tue, 28 May 2019 22:56:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1559109394; bh=kw6OUWVWgezZtepb6Mns/d+m5TF4NZ8GtZ/4 noRVnlU=; h=Received:To:From:Cc:Subject:Date:MIME-Version: Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP; b=Q9YkSFx8P OjtSd5nMlFwDPyZm3ZCRVA75M4PuE52zebwk2zoEOxP9Skr4VVjTSm5j+u36tB8JUEe bv/hf72EAPqSb2zoHPoK+YDu98ziCracYYwu7SsAS1WroM3yyR4kKAZ04NlYykMVHvS pYbcJZmhvrmtpG29tDGJRzOuu66Cymm4vF+LQCrNhgjLYar/toWlTg0SmJHEncHijAr Birni7vhw2X8M4DTKNUyHB9LvTnyDlYHYm+XMjpOsjWBrxXl7xXri/oPjktVES9vEF3 HwIiEajTC+PpHfHLra1bedQAPvkZFRckQ8pk97ahHh8vIcQ9Dpz/a0aj4/gy0cTqg==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=gStYHY9ApsXdsCj0Y+pgY8OuqFW1F66s0G0Z93sMKoN4tQg3zT3bt2mWRrhnpDkyP2Q6xTQj+8z4Xx33HmunwU5Yd7U1IyicVkFXJPJ1HH61m4ISftkIs2FSjM8Af31bq0C+4yGlh93hCC6qDQ2SjIniZz4u+s4cgPNu2XvuYZXm1xC7dhr7qPUpDnlLaB0gysEAcDydYo09+EnE1/Fdrby6Ha+IHuNki/lQyBAzrygF8FTrp2KgmtqlZHYoMImtYIXJlETzeXiuvfnpBiGZjrNKPX2bO1slZVcmj59JmQ9D/CbVmLNlNH9mUvKGXDPQAhxfnhuIYp2uE7N4NBDL0g==; h=Received:To:From:Cc:Subject:Date:MIME-Version:Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP;
Received: from [86.57.142.199] (helo=[100.64.204.92]) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from <tglassey@earthlink.net>) id 1hVrZY-0008NP-7W; Wed, 29 May 2019 01:56:24 -0400
To: "=?utf-8?B?TWFqZGkgUy4gQWJiYXM=?=" <msa@latt.net>, "=?utf-8?B?RmVybmFuZG8gR29udA==?=" <fgont@si6networks.com>
From: "=?utf-8?B?dGdsYXNzZXlAZWFydGhsaW5rLm5ldA==?=" <tglassey@earthlink.net>
Cc: ntp@ietf.org,"=?utf-8?B?R2FyeSBFLiBNaWxsZXI=?=" <gem@rellim.com>
Date: Wed, 29 May 2019 08:56:22 +0300
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_0_1559109382899"
Message-ID: <E1hVrZY-0008NP-7W@elasmtp-galgo.atl.sa.earthlink.net>
X-ELNK-Trace: 01b7a7e171bdf5911aa676d7e74259b7b3291a7d08dfec79f928f7178d99c0065e736a6a95c8d681350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 86.57.142.199
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/93wANT5yvjYhqQaM0UwRzQMrz-g>
Subject: Re: [Ntp]  =?utf-8?q?New_rev_of_the_NTP_port_randomization_I-D_=28Fwd?= =?utf-8?q?=3A_New_Version_Notification_for_draft-gont-ntp-port-randomizat?= =?utf-8?q?ion-01=2Etxt=29?=
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 05:56:37 -0000

------=_Part_0_1559109382899
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

UG9ydCByYW5kb21pemF0aW9uIGlzIHVzZWQgdG8gYmxvY2sgcG9ydCBzcG9vZmluZyBtaXRtIGF0
dGFja3MgYXMgcGFydCBvZiBhIGxhcmdlciBhdWRpdCBmcmFtZXdvcmsuIAoKSXQgaXMgcGFydCBv
ZiBhIGRlbGl2ZXJ5IGJhc2VkIGFzc3VyYW5jZSBwcm9jZXNzIG5vdCBhbiBpbmZvcm1hdGlvaW4g
aW50ZWdyaXR5IHByb2Nlc3MgbGlrZSBhIHdob3BwaW5nIG5vbmNlIGlzLiAKCktlZXBpbmcgdGhl
IGNvbX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
dXNlZC4KClBlciBzZXNzaW9uIHJhbmRvbWl6YXRpb24gZG9lc24ndCByZXNvbHZlIHRoZXNlIGlz
c3VlcyAtLSB0aGUgc3RhdGVkIHJhdGlvbmFsZSBmb3IgYm90aCB0aGUgZHJhZnQgYW5kIGZpbGVk
IENWRSBpcyBoYXJkZW5pbmcgdG8gb2ZmIHBhdGggYXR0YWNrcywgd2hpY2ggd2UndmUganVzdCBj
b3ZlcmVkLgoKIkJlY2F1c2UgaXQncyBiZXN0IHByYWN0aWNlIiBpc24ndCBhIHJlYXNvbiAtLSBp
dCdzIGEgY3J1dGNoIHRvIHNhdmUgYSBkcmFmdCB0aGF0IHdhcyBmaWxlZCBkdWUgdG8gYW4gaW5z
dWZmaWNpZW50IHVuZGVyc3RhbmRpbmcgb2YgUkZDIDU5MDUgYW5kIGN1cnJlbnQgaW1wbGVtZW50
YXRpb25zIG9mIE5UUHY0LiAgVGhlIHRydWUgYmVzdCBwcmFjdGljZSBoZXJlIGlzIGF1dGhlbnRp
Y2F0aW9uLCBhbmQgaXQgZG9lcyBub3Qgc2VlbSB0byBiZSBhIHdvcnRod2hpbGUgZWZmb3J0CnRv
IHJlc3RydWN0dXJlIGV4aXN0aW5nIGltcGxlbWVudGF0aW9ucyB0byBhZGQgMTYgYml0cyB0bwp0
aGUgZXhpc3Rpbmcgbm9uY2Ugd2l0aCB3b3JrIGxpa2UgTlRTCnBlbmRpbmcgdG8gY292ZXIgdGhl
IGNsaWVudC9zZXJ2ZXIgdXNlIGNhc2UuCgpDaGVlcnMsCgotLW1zYQoKX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbnRwIG1haWxpbmcgbGlzdApudHBAaWV0
Zi5vcmcKaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9udHA=


------=_Part_0_1559109382899
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

PGRpdiBzdHlsZT0i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0_1559109382899--


From nobody Tue May 28 22:58:44 2019
Return-Path: <tglassey@earthlink.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B49691200E5 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:58:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.135
X-Spam-Level: 
X-Spam-Status: No, score=-2.135 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.415, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earthlink.net; domainkeys=pass (2048-bit key) header.from=tglassey@earthlink.net header.d=earthlink.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 9vSgji2WmYWR for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:58:38 -0700 (PDT)
Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) (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 E0C2D12008B for <ntp@ietf.org>; Tue, 28 May 2019 22:58:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1559109518; bh=Iq94COJP4a6lT/Em5OVGKm3oyCgKZjjh24DR KMrLihk=; h=Received:To:From:Subject:Date:MIME-Version:Content-Type: Message-ID:X-ELNK-Trace:X-Originating-IP; b=GfhMVL5qOWa3mMfV8b0a64 MOkefHQabmNMRr5iSFgEDV1MY89ioYCNaIBtmBbtxKcPMu3EMaDyC0QkA+5Yt/HjlO2 T7NOTWUHYyEdi2BR3yj+ZruLvIJXW2OScVyhmFlImrrvZtNJ/jpEgRFenU+G7A7Twly 9/KjNDhoaHLkuRiOnuDKe/bQQ61ovYySOjC3WjhfA4b3OPcEIRwyJKiDRyeIXEuO4xw LeV5kcx6XfIllnDwsP1enn8qdOad1am7RMqAa6nH6S2Z6Ybo7O8k0JMM3jRHlyKfJlI QIxzlnB5N8hzCNqYi4/1AQkvLmYOUFePJZRvTxOINrBq85q4tmWA==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=Ywef3QRnvofQRvziyJNXsbMemrXfFJAi6FBaJIxDXcnBdgsUwUhbd4xuHnvEyqj4fAnP71mu26WZli34O/Hgkmha76O8RVjaOkMTRt4gM19jmGyzhehuwm9JXRXHtTGDbC4ud0f06drjp47hODRSi93Jua27DvJ5d/Cr1vKFghO4E0gw1ytZDqNOnSRVwS+HIpMrDQaCR2MkVDoz1m3CvRaA2VkWwZWp4N0ekZhjxfdT9Id52v9aCMkPOxZsTc4Co6UpNTJH3ZsLVVPVi/hDFUXyKcLFMJcg+3r8lJEPgz1KAg90vt0lSx3oCi0v5yfP/e0IHMsrL2ZErGs98kRw7g==; h=Received:To:From:Subject:Date:MIME-Version:Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP;
Received: from [86.57.142.199] (helo=[100.64.204.92]) by elasmtp-kukur.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from <tglassey@earthlink.net>) id 1hVrbd-000Dp4-8Q; Wed, 29 May 2019 01:58:33 -0400
To: "=?utf-8?B?SGFybGFuIFN0ZW5u?=" <stenn@nwtime.org>,ntp@ietf.org
From: "=?utf-8?B?dGdsYXNzZXlAZWFydGhsaW5rLm5ldA==?=" <tglassey@earthlink.net>
Date: Wed, 29 May 2019 08:58:31 +0300
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_0_1559109511855"
Message-ID: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net>
X-ELNK-Trace: 01b7a7e171bdf5911aa676d7e74259b7b3291a7d08dfec7928a240d0c814595ce294a4fa76af68e2350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 86.57.142.199
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/c4p-AkSa2wPbQeysMzGBuRDUj2g>
Subject: Re: [Ntp]  =?utf-8?q?New_rev_of_the_NTP_port_randomization_I-D_=28Fwd?= =?utf-8?q?=3A_New_Version_Notification_for_draft-gont-ntp-port-randomizat?= =?utf-8?q?ion-01=2Etxt=29?=
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 05:58:41 -0000

------=_Part_0_1559109511855
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

WWVzIEhhcmxlbiBpZiB5b3Uga25vdyB5b3UgYXJlIGJlaW5nIGF0dGFja2VkIHRoZSBzZXJ2ZXIg
Y2FuIHNldCBpdHNlbGYgYXMgdW5hdmFpbGFibGUgb3IgdW50cnVzdGFibGUgdW50aWwgaXQgcmVj
ZXJ0aWZpZXMuIEluZm9ybWF0aW9uIGludGVncml0eSBpcyBrZXkgZm9yIGhpc3RvcmljYWwgYXVk
aXRpbmcgb2YgdGltZXN0YW1wcyAKCi8vdHNnCgpT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GhlcmUncyBhIHJlbGF0ZWQgcXVlc3Rpb24gZm9yIHlvdToKCklzIHRoZXJlIGJlbmVmaXQg
dG8ga25vd2luZyBpZiB5b3UgYXJlIGJlaW5nIGF0dGFja2VkPwoKPiBUaGFua3MsCgotLSAKSGFy
bGFuIFN0ZW5uLCBOZXR3b3JrIFRpbWUgRm91bmRhdGlvbgpodHRwOi8vbnd0aW1lLm9yZyAtIGJl
IGEgTWVtYmVyIQoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18KbnRwIG1haWxpbmcgbGlzdApudHBAaWV0Zi5vcmcKaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFp
bG1hbi9saXN0aW5mby9udHA=


------=_Part_0_1559109511855
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6ICdDYWxpYnJpJywgJ3NhbnMtc2VyaWYnOyI+PGRpdiBk
aXI9Imx0ciI+CjxkaXYgZGlyPSJsdHIiPlllcyBIYXJsZW4gaWYgeW91IGtub3cgeW91IGFyZSBi
ZWluZyBhdHRhY2tlZCB0aGUgc2VydmVyIGNhbiBzZXQgaXRzZWxmIGFzIHVuYXZhaWxhYmxlIG9y
IHVudHJ1c3RhYmxlIHVudGlsIGl0IHJlY2VydGlmaWVzLiBJbmZvcm1hdGlvbiBpbnRlZ3JpdHkg
aXMga2V5IGZvciBoaXN0b3JpY2FsIGF1ZGl0aW5nIG9mIHRpbWVzdGFtcHMmbmJzcDs8L2Rpdj48
ZGl2IGRpcj0ibHRyIj48YnI+PC9kaXY+PGRpdiBkaXI9Imx0ciI+Ly90c2c8L2Rpdj48ZGl2IGRp
cj0ibHRyIj48YnI+PC9kaXY+PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+U2VudCBmcm9t
IG15IEhUQywgc28gcGxlYXNlIGV4Y3VzZSBhbnkgdHlwb3MuPC9kaXY+PC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0IG51
bWJlciB3aGVuIHNlbmRpbmcgYSBjbGllbnQgcmVxdWVzdC4gIFBlb3BsZSBhcmUgc2F5aW5nCnRo
YXQgcmVxdWlyaW5nIHRoaXMgaW4gYWxsIGNhc2VzIGRvZXNuJ3QgYnV5IGFueSBzaWduaWZpY2Fu
dCBiZW5lZml0LgoKT2YgY291cnNlIGl0J3MgZmluZSBpZiBOVFAgY2xpZW50IGdvZXMgdGhydSBh
IE5BVCBnYXRld2F5LgoKU28gaGVyZSdzIGEgcmVsYXRlZCBxdWVzdGlvbiBmb3IgeW91OgoKSXMg
dGhlcmUgYmVuZWZpdCB0byBrbm93aW5nIGlmIHlvdSBhcmUgYmVpbmcgYXR0YWNrZWQ/CgomZ3Q7
IFRoYW5rcywKCi0tIApIYXJsYW4gU3Rlbm4sIE5ldHdvcmsgVGltZSBGb3VuZGF0aW9uCjxhIGhy
ZWY9Imh0dHA6Ly9ud3RpbWUub3JnIj5odHRwOi8vbnd0aW1lLm9yZzwvYT4gLSBiZSBhIE1lbWJl
ciEKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCm50cCBt
YWlsaW5nIGxpc3QKbnRwQGlldGYub3JnCjxhIGhyZWY9Imh0dHBzOi8vd3d3LmlldGYub3JnL21h
aWxtYW4vbGlzdGluZm8vbnRwIj5odHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZv
L250cDwvYT4KPC9wcmU+PC9kaXY+


------=_Part_0_1559109511855--


From nobody Tue May 28 22:59:09 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EB281200E5 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:59:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 inq_OA8dG7RA for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:59:05 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 82A18120045 for <ntp@ietf.org>; Tue, 28 May 2019 22:59:05 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DKls0LZ4zL7T; Wed, 29 May 2019 05:59:05 +0000 (UTC)
To: ntp@ietf.org
References: <E1hVrZY-0008NP-7W@elasmtp-galgo.atl.sa.earthlink.net>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkxJMyH2th7q0Nmz3aX4A0K4yE0Ba9/5Dr7ctpF15BrMF aEo4s5lwI6tUnkgMWo265mMzCz4mAPV/ac0w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DynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <91474fde-a5f6-8053-7146-f337d4906091@nwtime.org>
Date: Tue, 28 May 2019 22:59:02 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <E1hVrZY-0008NP-7W@elasmtp-galgo.atl.sa.earthlink.net>
Content-Type: text/plain; charset=windows-1252
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/RXxDXjZ7FbQ9a-f6I0CO9ngeEH8>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 05:59:08 -0000

On 5/28/2019 10:56 PM, tglassey@earthlink.net wrote:
> Port randomization is used to block port spoofing mitm attacks as part
> of a larger audit framework. 

MITM attacks don't really count here.  A MITM can see the packets, so
the choice of port number doesn't make any difference there.

H
--
> It is part of a delivery based assurance process not an informatioin
> integrity process like a whopping nonce is. 
> 
> Keeping the components of the trust model separate has value. The real
> issue is how big the port smash threat is. 
> 
> //tsg
> 
> Sent from my HTC, so please excuse any typos.
> 
> ----- Reply message -----
> From: "Majdi S. Abbas" <msa@latt.net>
> To: "Fernando Gont" <fgont@si6networks.com>
> Cc: <ntp@ietf.org>, "Gary E. Miller" <gem@rellim.com>
> Subject: [Ntp] New rev of the NTP port randomization I-D (Fwd: New
> Version Notification for draft-gont-ntp-port-randomization-01.txt)
> Date: Wed, May 29, 2019 06:20
> 
> Fernando,
> 
>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
> 
>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
> 
>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  The true best practice here is authentication, and it does not seem to be a worthwhile effort
> to restructure existing implementations to add 16 bits to
> the existing nonce with work like NTS
> pending to cover the client/server use case.
> 
>      Cheers,
> 
>      --msa
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Tue May 28 23:06:36 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 69DE91200F7 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 23:06:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 V_ZuPxqcn0A6 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 23:06:32 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 80416120045 for <ntp@ietf.org>; Tue, 28 May 2019 23:06:32 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DKwR6hfBzL7T; Wed, 29 May 2019 06:06:31 +0000 (UTC)
To: "tglassey@earthlink.net" <tglassey@earthlink.net>, ntp@ietf.org
References: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkx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X+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <c5f6dec6-1086-bd98-59a1-0cd9742d9da5@nwtime.org>
Date: Tue, 28 May 2019 23:06:30 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IGH09dV6HvvM5y6xdq_be8QiQy4>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 06:06:34 -0000

On 5/28/2019 10:58 PM, tglassey@earthlink.net wrote:
> Yes Harlen if you know you are being attacked the server can set itself
> as unavailable or untrustable until it recertifies. Information
> integrity is key for historical auditing of timestamps 

What about attacks against the client?

Is there benefit to the client knowing it is being attacked?

H
--
> //tsg
> 
> Sent from my HTC, so please excuse any typos.
> 
> ----- Reply message -----
> From: "Harlan Stenn" <stenn@nwtime.org>
> To: <ntp@ietf.org>
> Subject: [Ntp] New rev of the NTP port randomization I-D (Fwd: New
> Version Notification for draft-gont-ntp-port-randomization-01.txt)
> Date: Wed, May 29, 2019 08:20
> 
> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>> Fernando,
>>>
>>>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
>>>
>>>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
>>>
>>>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  
>> 
>> Oh, by the way. While you enlighten me why you need a fixed well-known
>> port number for the client, and how necessary this is, please also
>> elaborate on how I'm running multiple NTP clients behind a NAT box.
> 
> Nobody seems to be saying there is benefit to *only* using the
> well-known port number when sending a client request.  People are saying
> that requiring this in all cases doesn't buy any significant benefit.
> 
> Of course it's fine if NTP client goes thru a NAT gateway.
> 
> So here's a related question for you:
> 
> Is there benefit to knowing if you are being attacked?
> 
>> Thanks,
> 
> -- 
> Harlan Stenn, Network Time Foundation
> http://nwtime.org - be a Member!
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 00:07:46 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D8911200DE for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:07:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 UC_bmEapTbDc for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:07:42 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24F72120044 for <ntp@ietf.org>; Wed, 29 May 2019 00:07:41 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 2A76F89B35; Wed, 29 May 2019 09:07:38 +0200 (CEST)
To: "tglassey@earthlink.net" <tglassey@earthlink.net>, "Majdi S. Abbas" <msa@latt.net>
Cc: ntp@ietf.org, "Gary E. Miller" <gem@rellim.com>
References: <E1hVrZY-0008NP-7W@elasmtp-galgo.atl.sa.earthlink.net>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8o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EACho45PZrUjY4Zl2opR DFNo5a6roTOPpgwO9PcBb3I5F8yX2Dnew+9OhgWXbBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <75319338-9435-5f60-a548-a03cd310dc28@si6networks.com>
Date: Wed, 29 May 2019 02:57:39 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <E1hVrZY-0008NP-7W@elasmtp-galgo.atl.sa.earthlink.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/rvrhfcHo28I8332aOTMuVTJjy28>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 07:07:44 -0000

On 29/5/19 01:56, tglassey@earthlink.net wrote:
> Port randomization is used to block port spoofing mitm attacks as part
> of a larger audit framework. 
> 
> It is part of a delivery based assurance process not an informatioin
> integrity process like a whopping nonce is. 
> 
> Keeping the components of the trust model separate has value. 

As noted elsewhere, it also allows for other things such as filtering
attack packets in the network (stateful filtering).

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 00:07:51 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CAF681200DE for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:07:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 NV37BuOnbNhm for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:07:43 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D0A6120074 for <ntp@ietf.org>; Wed, 29 May 2019 00:07:43 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id EB51C89B32; Wed, 29 May 2019 09:07:40 +0200 (CEST)
To: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <5571d399-dcf8-58de-ce32-356bc1fc8120@nwtime.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k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SgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <2b3f0e5d-fdfd-4d08-ed2c-f672c5258065@si6networks.com>
Date: Wed, 29 May 2019 02:59:22 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <5571d399-dcf8-58de-ce32-356bc1fc8120@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/1khLir3kwTYrFHSYVLWsu9ltPV0>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 07:07:45 -0000

On 29/5/19 01:21, Harlan Stenn wrote:
> 
> 
> On 5/28/2019 10:20 PM, Harlan Stenn wrote:
>>
>>
>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>>> Fernando,
>>>>
>>>>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
>>>>
>>>>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
>>>>
>>>>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  
>>>
>>> Oh, by the way. While you enlighten me why you need a fixed well-known
>>> port number for the client, and how necessary this is, please also
>>> elaborate on how I'm running multiple NTP clients behind a NAT box.
>>
>> Nobody seems to be saying there is benefit to *only* using the
>> well-known port number when sending a client request.  People are saying
>> that requiring this in all cases doesn't buy any significant benefit.
> 
> I was unclear above - "this" refers to always requiring a random port
> for sending client requests.

The draft says "SHOULD" -- i.e., do it unless you have a very good
reason not to.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 00:07:59 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14D83120074 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:07:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 SBs7x73mYXTN for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:07:45 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96430120044 for <ntp@ietf.org>; Wed, 29 May 2019 00:07:44 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 84F5189B36; Wed, 29 May 2019 09:07:42 +0200 (CEST)
To: Harlan Stenn <stenn@nwtime.org>, "tglassey@earthlink.net" <tglassey@earthlink.net>, ntp@ietf.org
References: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net> <c5f6dec6-1086-bd98-59a1-0cd9742d9da5@nwtime.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLb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MLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <059808b4-b74b-0741-8b62-5a60752195c7@si6networks.com>
Date: Wed, 29 May 2019 03:07:11 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <c5f6dec6-1086-bd98-59a1-0cd9742d9da5@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/JJC2tTFykOrU93M1nl04Iw8ZMQo>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 07:07:46 -0000

On 29/5/19 02:06, Harlan Stenn wrote:
> 
> 
> On 5/28/2019 10:58 PM, tglassey@earthlink.net wrote:
>> Yes Harlen if you know you are being attacked the server can set itself
>> as unavailable or untrustable until it recertifies. Information
>> integrity is key for historical auditing of timestamps 
> 
> What about attacks against the client?
> 
> Is there benefit to the client knowing it is being attacked?

If you want that, you are free to run a NIDS. You get attack detection,
without leaking the "session ID".

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 00:17:56 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 20AA1120044 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:17:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 XoTOlN37WtTI for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:17:54 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C9731200DE for <ntp@ietf.org>; Wed, 29 May 2019 00:17:54 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id B688889B8C; Wed, 29 May 2019 09:17:50 +0200 (CEST)
To: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9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wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com>
Date: Wed, 29 May 2019 03:17:46 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/BmdbcSJlTrTetOdmWiRPmqsndPE>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 07:17:56 -0000

On 29/5/19 01:20, Harlan Stenn wrote:
> 
> 
> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>> Fernando,
>>>
>>>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
>>>
>>>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
>>>
>>>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  
>>
>> Oh, by the way. While you enlighten me why you need a fixed well-known
>> port number for the client, and how necessary this is, please also
>> elaborate on how I'm running multiple NTP clients behind a NAT box.
> 
> Nobody seems to be saying there is benefit to *only* using the
> well-known port number when sending a client request.  People are saying
> that requiring this in all cases doesn't buy any significant benefit.

Employing predictable numeric IDs is bad practice. The current
requirement (which cannot even be complied to in IPv4-NATed networks),
requires a fixed well-known port for clients. i.e., the spec mandates
against a BCP (port randomization) and on the well-known concept that
employing predictable IDs is asking for trouble.

Our document reverses that: It recommends what's is known to be a good
practice, and gives you room (it's a "SHOULD", not a "MUST") if you have
a really good reason not to randomize the client port.


As noted in some other message, the analysis so far has focused on
attack packets that might get tossed if the org timer is not valid.
There might also be implementation bugs (e.g., buffer overflows, or
whatever) that happen before that.



> Of course it's fine if NTP client goes thru a NAT gateway.

That's an indication that the current requirement in the spec is bogus.
In fact, if you actually mandated it (e.g., the server were to require
that the client port be 123), deployed clients would break.



> So here's a related question for you:
> 
> Is there benefit to knowing if you are being attacked?

That's orthogonal to this. You don't need to leak the session ID in
order to run a NIDS. -- and, no matter what you have in mind, I'll
repeat the above: the requirement is in "SHOULD" level -- you can go
against it if you have a really good reason to.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 00:47:24 2019
Return-Path: <mlichvar@redhat.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E83D6120100 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:47:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 LgI3wR-LoJrU for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 00:47:20 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 620F612001A for <ntp@ietf.org>; Wed, 29 May 2019 00:47:20 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8998D30024C9; Wed, 29 May 2019 07:47:19 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 961AB6148C; Wed, 29 May 2019 07:47:18 +0000 (UTC)
Date: Wed, 29 May 2019 09:47:16 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Fernando Gont <fgont@si6networks.com>
Cc: "Gary E. Miller" <gem@rellim.com>, ntp@ietf.org
Message-ID: <20190529074716.GG11346@localhost>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com>
User-Agent: Mutt/1.11.3 (2019-02-01)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 29 May 2019 07:47:19 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Jb9sUUrT5vhm6EvSnADn6RaQDvg>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 07:47:23 -0000

On Tue, May 28, 2019 at 10:56:39PM -0400, Fernando Gont wrote:
> > http://lists.febo.com/pipermail/time-nuts_lists.febo.com/2019-May/096536.html
> > 
> > Different NTP source ports yield varying quality results.
> 
> So... this would be an argument for "randomize the source port on a
> per-session basis, but not on a per-request basis", right?

I think it's actually an argument for randomizing the port on each
request. If there are multiple paths to the server and the selection
depends on the port number, the client needs to be changing its port
to make sure some of its requests take the shortest path. The clock
filter will drop measurements that took a longer path (assuming the
increase in delay is significant when compared to jitter and clock
dispersion).

If you had two clients in your network and they were synchronized to
the same server, there could be a significant offset between their
clocks if they used a fixed port. If they randomized their ports with
each request, the offset should be smaller and not change randomly
when the clients are restarted, etc.

Also, a client using a fixed port is easier to track. That might be
more relevant for the data minimization draft.

-- 
Miroslav Lichvar


From nobody Wed May 29 01:24:01 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B911B120075 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:23:59 -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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, 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 DFvXS7CztVYq for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:23:56 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [194.94.157.148]) (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 5EC8612002E for <ntp@ietf.org>; Wed, 29 May 2019 01:23:56 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6F8906000051 for <ntp@ietf.org>; Wed, 29 May 2019 10:23:53 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id 43E6F600004D for <ntp@ietf.org>; Wed, 29 May 2019 10:23:52 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 29 May 2019 10:23:52 +0200
Message-Id: <5CEE4196020000A1000317DC@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Wed, 29 May 2019 10:23:50 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "Thomas Peterson" <nosretep.samoht@gmail.com>, "ntp@ietf.org" <ntp@ietf.org>
References: <155897662160.809.5527655773398720605@ietfa.amsl.com> <2351e209-4ab5-c336-cd48-5d792901574f@gmail.com>
In-Reply-To: <2351e209-4ab5-c336-cd48-5d792901574f@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/kcu0oitRht6b7ZL90_NuVSpxq6I>
Subject: [Ntp] Antw: Re:  I-D Action: draft-roughtime-aanchal-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 08:24:00 -0000

>>> Thomas Peterson <nosretep.samoht@gmail.com> schrieb am 28.05.2019 um 17:01
in
Nachricht <2351e209-4ab5-c336-cd48-5d792901574f@gmail.com>:
> Thank you for publishing a new version of the draft.
> 
> Some feedback based on your new changes, the existing concerns raised 
> prior not withstanding:
> 
> * Nit: "... violations are greater then a second the loss..." should be 
> "greater than a second"
> * You have not provided sufficient information for implementations on 
> how to actually calculate time, only citing a single, out‑of‑publication 
> reference. Besides Wikipedia and a humor page[0] stored on the Internet 
> Archive, I have been unable to find a definitive source that describes 
> MJD. Could you please in a future version describe in detail how an 

RFC 1305 refers to it, too: "The Modified Julian Date (MJD), which is
sometimes used to represent dates near
our own era in conventional time and with fewer digits, is defined as MJD = JD
– 2,400,000.5.
Following the convention that our century began at 0h on 1 January 1900, at
which time the tropical
year was already 12h old, that eclectic instant corresponds to MJD 15,020.0.
Thus, the Julian
timescale ticks in standard (atomic) 365.25-day centuries and was set to a
given value at the
approximate epoch of a cosmic event which apparently synchronized the entire
human community,
the origin of the Common Era."

Later: "The UTC timescale thus ticks in standard (atomic) seconds and was set
to the value 0h MJD 41,317.0
at the epoch determined by astronomical observation to be 0h on 1 January 1972
according to the
Gregorian calendar; that is, the inaugural tick of the UTC Era."

"The NTP timescale is based on the UTC timescale, but not necessarily always
coincident with it.
At 0h on 1 January 1972 (MJD 41,317.0), the first tick of the UTC Era, the NTP
clock was set to
2,272,060,800, representing the number of standard seconds since 0h on 1
January 1900 (MJD
15,020.0)."

Finally in RFC 6055 ;-)
   [MJD]            Duerst, M., "The Properties and Promizes of UTF-8",

Regards,
Ulrich Windl

> implementation take the time received and perform the necessary 
> computation to something that could be applied to a system clock.
> * Would it not be more appropriate to break up the MIDP value so the MJD 
> day and time offset from midnight be pout into separate keys?
> * Is there a specific reason why the document has now a mixture of "bit" 
> and "byte"? For example, MIDP is 8 _bytes_, but RADI is 32 _bits_. It's 
> reasonable to assume that a reader can distinguish, but having a mixture 
> such as this could lead to errors in implementations due to reader error.
> 
> Regards
> 
> 0: 
> https://web.archive.org/web/20070606064704/http://vms.tuwien.ac.at/info/humo

> ur/vms‑base‑time‑origin.txt
> 
> On 27/05/2019 17:03, internet‑drafts@ietf.org wrote:
>> 
>> A New Internet‑Draft is available from the on‑line Internet‑Drafts
directories.
>> This draft is a work item of the Network Time Protocol WG of the IETF.
>> 
>>          Title           : Roughtime
>>          Authors         : Aanchal Malhotra
>>                            Adam Langley
>>                            Watson Ladd
>> 	Filename        : draft‑roughtime‑aanchal‑02.txt
>> 	Pages           : 11
>> 	Date            : 2019‑05‑27
>> 
>> Abstract:
>>     This document specifies Roughtime ‑ a protocol that aims to achieve
>>     rough time synchronization while detecting servers that provide
>>     inaccurate time and providing cryptographic proof of their
>>     malfeasance.
>> 
>> 1
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft‑roughtime‑aanchal/ 
>> 
>> There are also htmlized versions available at:
>> https://tools.ietf.org/html/draft‑roughtime‑aanchal‑02 
>> https://datatracker.ietf.org/doc/html/draft‑roughtime‑aanchal‑02 
>> 
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft‑roughtime‑aanchal‑02 
>> 
>> 
>> Please note that it may take a couple of minutes from the time of
submission
>> until the htmlized version and diff are available at tools.ietf.org.
>> 
>> Internet‑Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet‑drafts/ 
>> 
>> _______________________________________________
>> ntp mailing list
>> ntp@ietf.org 
>> https://www.ietf.org/mailman/listinfo/ntp 
>> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Wed May 29 01:30:35 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67CA01200F9 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:30:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 O05mOApz-Rlj for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:30:32 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9163E1200F8 for <ntp@ietf.org>; Wed, 29 May 2019 01:30:32 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DP6b4VtBzL7T; Wed, 29 May 2019 08:30:31 +0000 (UTC)
To: ntp@ietf.org
References: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net> <c5f6dec6-1086-bd98-59a1-0cd9742d9da5@nwtime.org> <059808b4-b74b-0741-8b62-5a60752195c7@si6networks.com>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkxJMyH2th7q0Nmz3aX4A0K4yE0Ba9/5Dr7ctpF15BrMF aEo4s5lwI6tUnkgMWo265mMzCz4mAPV/ac0w0OXQg7r9E2r0+dRapnzUlG43D0JLDqDr9uRR L6IrRQqoCWUC75lfmPYQYSlaTJaK68r3lXd0z1cXJUgVtEL5H3/Z71R2B20twcQVAnw2iIH6 L5vdrsIjHrMm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ld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <835e7b1a-ed19-471c-bbc5-55849ce829bf@nwtime.org>
Date: Wed, 29 May 2019 01:30:29 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <059808b4-b74b-0741-8b62-5a60752195c7@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/2cr7BzSUi3RcQKHHKm3UY_C068Y>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 08:30:34 -0000

On 5/29/2019 12:07 AM, Fernando Gont wrote:
> On 29/5/19 02:06, Harlan Stenn wrote:
>>
>>
>> On 5/28/2019 10:58 PM, tglassey@earthlink.net wrote:
>>> Yes Harlen if you know you are being attacked the server can set itself
>>> as unavailable or untrustable until it recertifies. Information
>>> integrity is key for historical auditing of timestamps 
>>
>> What about attacks against the client?
>>
>> Is there benefit to the client knowing it is being attacked?
> 
> If you want that, you are free to run a NIDS. You get attack detection,
> without leaking the "session ID".

Sorry, I'm not buying that.

It cost-shifts too much, and it isn't feasible for a number of
significant use cases.

> Thanks,
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 01:41:49 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B37C4120074 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:41:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 g-152gGxtKk0 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:41:45 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C799E120052 for <ntp@ietf.org>; Wed, 29 May 2019 01:41:44 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 6BB9089CB7; Wed, 29 May 2019 10:41:42 +0200 (CEST)
To: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net> <c5f6dec6-1086-bd98-59a1-0cd9742d9da5@nwtime.org> <059808b4-b74b-0741-8b62-5a60752195c7@si6networks.com> <835e7b1a-ed19-471c-bbc5-55849ce829bf@nwtime.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJcN+uAGIrklwJlVpRSbKbFtGC6In592lhu7 wnK8cgyP5cTU+vva9+g6P1wehi4bylXdlKc6mMphbtSA+T3WBNP557+mh3L62l4pGaEGidcZ DLYT2Ud18eAJmxU3HnM8P3iZZgeoK7oqgb53/eg96vkONXNIOwARAQABtCVGZXJuYW5kbyBH b250IDxmZ29udEBzaTZuZXR3b3Jrcy5jb20+iQJBBBMBAgArAhsjBQkSzAMABgsJCAcDAgYV CAIJCgsEFgIDAQIeAQIXgAUCTmylpQIZAQAKCRCuJQ1VHU50kv7wD/9fuNtTfxSLk3B3Hs3p ixTy8YXVjdkVwWlnJjFd7BOWmg7sI+LDhpjGfT6+ddOiwkumnvUZpObodj4ysH0i8c7P4C5t F9yu7Wj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+0Kj5+bzQfUY+MmX0HTXIx3B4R1I1a8QoOwi1N+iZNdewV5Zfq+ 29NlQLnVPjCRCKbaz9k6RJ2oIti55YUI6zSsL3lmlOXsRbXN5bRswFczkNSCJxJMlDiyAUIC WOay7ymzvgzPa+BY/mYn94vRaurDQ4/ljOfj6oqgfjts+dJev4Jj89vp8MQI3KJpZPEAEQEA AYkCJQQYAQIADwUCTmyjaAIbDAUJEswDAAAKCRCuJQ1VHU50km4xEACho45PZrUjY4Zl2opR DFNo5a6roTOPpgwO9PcBb3I5F8yX2Dnew+9OhgWXbBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <53d36548-16c3-6f9b-941b-bfb921f19eab@si6networks.com>
Date: Wed, 29 May 2019 04:41:32 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <835e7b1a-ed19-471c-bbc5-55849ce829bf@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/f2hHrNRNC1NY96VVBt-02eBxABo>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 08:41:48 -0000

On 29/5/19 04:30, Harlan Stenn wrote:
> 
> 
> On 5/29/2019 12:07 AM, Fernando Gont wrote:
>> On 29/5/19 02:06, Harlan Stenn wrote:
>>>
>>>
>>> On 5/28/2019 10:58 PM, tglassey@earthlink.net wrote:
>>>> Yes Harlen if you know you are being attacked the server can set itself
>>>> as unavailable or untrustable until it recertifies. Information
>>>> integrity is key for historical auditing of timestamps 
>>>
>>> What about attacks against the client?
>>>
>>> Is there benefit to the client knowing it is being attacked?
>>
>> If you want that, you are free to run a NIDS. You get attack detection,
>> without leaking the "session ID".
> 
> Sorry, I'm not buying that.
> 
> It cost-shifts too much, and it isn't feasible for a number of
> significant use cases.

I don't get why you'd want a known port number. You want attack packets
to hit the session, and count packets for which the org timer fails to
validate?

If so: what's the point?


-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 01:42:29 2019
Return-Path: <mayer@ntp.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3983212017D for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:42:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level: 
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_SPF_PERMERROR=0.01] 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 wqyAUXks1Tq4 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:42:15 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [IPv6:2001:470:1:205::234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0253F120199 for <ntp@ietf.org>; Wed, 29 May 2019 01:42:14 -0700 (PDT)
Received: from [10.10.10.122] (pool-71-174-223-53.bstnma.east.verizon.net [71.174.223.53]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DPN51XYwzL7T for <ntp@ietf.org>; Wed, 29 May 2019 08:42:13 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com>
From: Danny Mayer <mayer@ntp.org>
Message-ID: <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>
Date: Wed, 29 May 2019 04:42:11 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/jWMzxNk4h90kueYZeD6r8Qw0cvo>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 08:42:28 -0000

On 5/29/19 12:18 AM, Fernando Gont wrote:
> On 28/5/19 23:20, Majdi S. Abbas wrote:
>> Randomizing the source port is pointless.  As Danny has noted, t1
>> already acts as a 2^64 nonce on each client mode chime request.  This
>> sufficiently hardens the unauthenticated case to an off path
>> attacker.  If additional security is required, authentication (via
>> classic PSK, or NTS modes) should be used.
> Using predictable numeric identifiers is a bad habit. We have plenty of=

> history in this area and, as noted, it's quite interesting to see folks=

> pushing in this direction in 2019, when the tendency has been to
> actually move away from predictable numeric IDs (TCP ISNs, transport
> protocol numbers, DNS TxIDs, Frag IDs, etc.).
>
> Using predictable port numbers makes it easy for an attacker to infer
> the "session id". You are just considering one possible attack scenario=
=2E
>
You are totally missing the point. The port numbers don't make NTP
vulnerable. The "session id" does not exist here. Instead NTP has an
origin timestamp that an off-path attacker does not have access to. Even
if it did, then the origin timestamp is wildly different each time it's
sent and is not predictable. This is a 64-bit nonce.

RFC6056 was probably developed as a result of the Kaminsky attack on DNS
and the way we fixed that. I noticed a number of people mentioned in
that RFC who were involved in those changes. It doesn't say so but that
RFC addresses shortcomings in those protocols that have small or
non-existent nonces which is not the case for NTP. Since you were one of
the authors I presume you know that. I discussed NTP with Paul Vixie at
the time and we agreed that because of the nonce it would not be
vulnerable like DNS was.

Since you claim that having well-known source ports is a vulnerability,
how does an off-path attacker know the server IP addresses that it is
using to get the timestamps? Accepting that, please provide in detail
how the off-path attacker is able to set up the origin timestamp so that
the client will accept it. You MUST be able to do this for the attack to
succeed. Remember that 64-bit timestamps are wildly different each time
a request goes out. If you cannot do this you have no case. Note that
replay attacks fail too since the client has already processed a given
origin timestamp.

>
>> Per session randomization doesn't resolve these issues -- the stated
>> rationale for both the draft and filed CVE is hardening to off path
>> attacks, which we've just covered.
> If tomorrow a flaw were found in an NTP implementation, that happened
> e.g. prior to the validation of the origin timestamp, I guess you are
> going to argue that "that was out of scope"?
>
There is no session validation since this is UDP not TCP. A flaw in an
NTP implementation that did not check that the timestamp matched would
be a bug in that implementation and randomizing the source port is not
going to change that. Furthermore the client needs the origin timestamp
to find the match in its local memory in order to process the incoming
packet. if it cannot find it, it will ignore the packet.

Danny



From nobody Wed May 29 01:48:13 2019
Return-Path: <mayer@pdmconsulting.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78AC4120072 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:48:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 Squ1-obdVAwU for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:48:09 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58C471200F8 for <ntp@ietf.org>; Wed, 29 May 2019 01:48:09 -0700 (PDT)
Received: from [10.10.10.122] (pool-71-174-223-53.bstnma.east.verizon.net [71.174.223.53]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DPVw1mP7zL7T for <ntp@ietf.org>; Wed, 29 May 2019 08:48:08 +0000 (UTC)
To: ntp@ietf.org
References: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net> <c5f6dec6-1086-bd98-59a1-0cd9742d9da5@nwtime.org> <059808b4-b74b-0741-8b62-5a60752195c7@si6networks.com> <835e7b1a-ed19-471c-bbc5-55849ce829bf@nwtime.org> <53d36548-16c3-6f9b-941b-bfb921f19eab@si6networks.com>
From: Danny Mayer <mayer@pdmconsulting.net>
Message-ID: <6937d124-fffa-56fe-92df-34e51878d3c2@pdmconsulting.net>
Date: Wed, 29 May 2019 04:48:07 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <53d36548-16c3-6f9b-941b-bfb921f19eab@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/EBBpMfiMVF-BF2feUTXVLXm8hiI>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 08:48:11 -0000

On 5/29/19 4:41 AM, Fernando Gont wrote:
> On 29/5/19 04:30, Harlan Stenn wrote:
>>
>> On 5/29/2019 12:07 AM, Fernando Gont wrote:
>>> On 29/5/19 02:06, Harlan Stenn wrote:
>>>>
>>>> On 5/28/2019 10:58 PM, tglassey@earthlink.net wrote:
>>>>> Yes Harlen if you know you are being attacked the server can set it=
self
>>>>> as unavailable or untrustable until it recertifies. Information
>>>>> integrity is key for historical auditing of timestamps=C2=A0
>>>> What about attacks against the client?
>>>>
>>>> Is there benefit to the client knowing it is being attacked?
>>> If you want that, you are free to run a NIDS. You get attack detectio=
n,
>>> without leaking the "session ID".
>> Sorry, I'm not buying that.
>>
>> It cost-shifts too much, and it isn't feasible for a number of
>> significant use cases.
> I don't get why you'd want a known port number. You want attack packets=

> to hit the session, and count packets for which the org timer fails to
> validate?
>
> If so: what's the point?
>
What session? There is no session in either UDP or NTP. If you think
there is, please tells us where to find it.

Danny



From nobody Wed May 29 01:48:37 2019
Return-Path: <mayer@ntp.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0EB5112010E for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:48:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level: 
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_SPF_PERMERROR=0.01] 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 IoSHiUvoQzoa for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:48:33 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [IPv6:2001:470:1:205::234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E08C120147 for <ntp@ietf.org>; Wed, 29 May 2019 01:48:33 -0700 (PDT)
Received: from [10.10.10.122] (pool-71-174-223-53.bstnma.east.verizon.net [71.174.223.53]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DPWP0VBFzL7W for <ntp@ietf.org>; Wed, 29 May 2019 08:48:32 +0000 (UTC)
From: Danny Mayer <mayer@ntp.org>
To: ntp@ietf.org
References: <E1hVrbd-000Dp4-8Q@elasmtp-kukur.atl.sa.earthlink.net> <c5f6dec6-1086-bd98-59a1-0cd9742d9da5@nwtime.org> <059808b4-b74b-0741-8b62-5a60752195c7@si6networks.com> <835e7b1a-ed19-471c-bbc5-55849ce829bf@nwtime.org> <53d36548-16c3-6f9b-941b-bfb921f19eab@si6networks.com>
Message-ID: <75fcff90-dd60-3b35-564f-3c5c693f5232@ntp.org>
Date: Wed, 29 May 2019 04:48:32 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <53d36548-16c3-6f9b-941b-bfb921f19eab@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/9TJEQ0C_mxwff_D3yqPogMYULsI>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 08:48:35 -0000

On 5/29/19 4:41 AM, Fernando Gont wrote:
> On 29/5/19 04:30, Harlan Stenn wrote:
>> On 5/29/2019 12:07 AM, Fernando Gont wrote:
>>> On 29/5/19 02:06, Harlan Stenn wrote:
>>>> On 5/28/2019 10:58 PM, tglassey@earthlink.net wrote:
>>>>> Yes Harlen if you know you are being attacked the server can set it=
self
>>>>> as unavailable or untrustable until it recertifies. Information
>>>>> integrity is key for historical auditing of timestamps=C2=A0
>>>> What about attacks against the client?
>>>>
>>>> Is there benefit to the client knowing it is being attacked?
>>> If you want that, you are free to run a NIDS. You get attack detectio=
n,
>>> without leaking the "session ID".
>> Sorry, I'm not buying that.
>>
>> It cost-shifts too much, and it isn't feasible for a number of
>> significant use cases.
> I don't get why you'd want a known port number. You want attack packets=

> to hit the session, and count packets for which the org timer fails to
> validate?
>
> If so: what's the point?
>
What session? There is no session in either UDP or NTP. If you think
there is, please tells us where to find it.

Danny





From nobody Wed May 29 01:51:06 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFD9D12004A for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:51:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 aiGnjs_KZg0E for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 01:51:02 -0700 (PDT)
Received: from mx2.uni-regensburg.de (mx2.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:3:bdf8]) (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 28DA812004F for <ntp@ietf.org>; Wed, 29 May 2019 01:51:02 -0700 (PDT)
Received: from mx2.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7E4CB6000052 for <ntp@ietf.org>; Wed, 29 May 2019 10:50:59 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx2.uni-regensburg.de (Postfix) with ESMTP id 5D6E8600004E for <ntp@ietf.org>; Wed, 29 May 2019 10:50:59 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 29 May 2019 10:50:59 +0200
Message-Id: <5CEE47F0020000A1000317ED@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Wed, 29 May 2019 10:50:56 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "Majdi S.Abbas" <msa@latt.net>, "Fernando Gont" <fgont@si6networks.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>,"Gary E.Miller" <gem@rellim.com>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com>
In-Reply-To: <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/jYWYmThNrGewnqPNslkgUdqDjgU>
Subject: [Ntp] Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 08:51:05 -0000

Hi!

I think in case of a DDoS attack the extra 14 bit of random port give little
extra protection: The attacker could send to any port (or from virtually any
port) on the attacked machine.

Regards,
Ulrich Windl

>>> Fernando Gont <fgont@si6networks.com> schrieb am 29.05.2019 um 06:18 in
Nachricht <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com>:
> On 28/5/19 23:20, Majdi S. Abbas wrote:
>> 
>> Randomizing the source port is pointless.  As Danny has noted, t1
>> already acts as a 2^64 nonce on each client mode chime request.  This
>> sufficiently hardens the unauthenticated case to an off path
>> attacker.  If additional security is required, authentication (via
>> classic PSK, or NTS modes) should be used.
> 
> Using predictable numeric identifiers is a bad habit. We have plenty of
> history in this area and, as noted, it's quite interesting to see folks
> pushing in this direction in 2019, when the tendency has been to
> actually move away from predictable numeric IDs (TCP ISNs, transport
> protocol numbers, DNS TxIDs, Frag IDs, etc.).
> 
> Using predictable port numbers makes it easy for an attacker to infer
> the "session id". You are just considering one possible attack scenario.
> 
> 
> 
>> Per session randomization doesn't resolve these issues ‑‑ the stated
>> rationale for both the draft and filed CVE is hardening to off path
>> attacks, which we've just covered.
> 
> If tomorrow a flaw were found in an NTP implementation, that happened
> e.g. prior to the validation of the origin timestamp, I guess you are
> going to argue that "that was out of scope"?
> 
> 
> 
>> "Because it's best practice" isn't a reason ‑‑ it's a crutch to save
>> a draft that was filed due to an insufficient understanding of RFC
>> 5905  and current implementations of NTPv4. 
> 
> Please enlighten me:
> Could you please explain why NTP needs a well‑known transport protocol
> number when operating in client/server mode?
> 
> 
> 
>> The true best
> practice here is authentication, and it does not seem to be a worthwhile
> effort
>> to restructure existing implementations to add 16 bits to the
>> existing nonce with work like NTS pending to cover the client/server
>> use case.
> 
> Of the implementations I've checked, there's only one that doesn't do it.
> 
> Thanks,
> ‑‑ 
> Fernando Gont
> SI6 Networks
> e‑mail: fgont@si6networks.com 
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
> 
> 
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Wed May 29 02:06:32 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E16F812010E for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:06:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 17t3pEpCerWb for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:06:29 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e79]) (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 577DC120072 for <ntp@ietf.org>; Wed, 29 May 2019 02:06:29 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C008B6000057 for <ntp@ietf.org>; Wed, 29 May 2019 11:06:26 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id 84E156000051 for <ntp@ietf.org>; Wed, 29 May 2019 11:06:26 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 29 May 2019 11:06:26 +0200
Message-Id: <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Wed, 29 May 2019 11:06:24 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "ntp@ietf.org" <ntp@ietf.org>,"Danny Mayer" <mayer@ntp.org>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>
In-Reply-To: <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/sqheKabU9g0BIG9CCccR8JrJZYA>
Subject: [Ntp] Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 09:06:31 -0000

>>> Danny Mayer <mayer@ntp.org> schrieb am 29.05.2019 um 10:42 in Nachricht
<c4384ecc-2711-3479-df21-d6533f438418@ntp.org>:

> On 5/29/19 12:18 AM, Fernando Gont wrote:
>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>> Randomizing the source port is pointless.  As Danny has noted, t1
>>> already acts as a 2^64 nonce on each client mode chime request.  This
>>> sufficiently hardens the unauthenticated case to an off path
>>> attacker.  If additional security is required, authentication (via
>>> classic PSK, or NTS modes) should be used.
>> Using predictable numeric identifiers is a bad habit. We have plenty of
>> history in this area and, as noted, it's quite interesting to see folks
>> pushing in this direction in 2019, when the tendency has been to
>> actually move away from predictable numeric IDs (TCP ISNs, transport
>> protocol numbers, DNS TxIDs, Frag IDs, etc.).
>>
>> Using predictable port numbers makes it easy for an attacker to infer
>> the "session id". You are just considering one possible attack scenario.
>>
> You are totally missing the point. The port numbers don't make NTP
> vulnerable. The "session id" does not exist here. Instead NTP has an
> origin timestamp that an off‑path attacker does not have access to. Even
> if it did, then the origin timestamp is wildly different each time it's
> sent and is not predictable. This is a 64‑bit nonce.

...of which about 30 bits are random (assuming the attacker knows what time it
is and packets take less than one second to travel)...

[...]

Regards,
Ulrich Windl


From nobody Wed May 29 02:18:16 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFF4712004F for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:18:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 4FcQN-MfCPL0 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:18:11 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [IPv6:2001:470:1:205::234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 32FD71200CE for <ntp@ietf.org>; Wed, 29 May 2019 02:18:11 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DQ9Z55wPzL7T; Wed, 29 May 2019 09:18:10 +0000 (UTC)
To: Fernando Gont <fgont@si6networks.com>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkxJMyH2th7q0Nmz3aX4A0K4yE0Ba9/5Dr7ctpF15BrMF aEo4s5lwI6tUnkgMWo265mMzCz4mAPV/ac0w0OXQg7r9E2r0+dRapnzUlG43D0JLDqDr9uRR L6IrRQqoCWUC75lfmPYQYSlaTJaK68r3lXd0z1cXJUgVtEL5H3/Z71R2B20twcQVAnw2iIH6 L5vdrsIjHrMmkqRVbs9nNyEAEQEAAbQ5SGFybGFuIFN0ZW5uIChOZXR3b3JrIFRpb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1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <69295233-497e-fa31-3270-691407fb6f30@nwtime.org>
Date: Wed, 29 May 2019 02:18:08 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/qVr4NqWRR8ExQ7JcDDpCiawSUrw>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 09:18:14 -0000

On 5/29/2019 12:17 AM, Fernando Gont wrote:
> On 29/5/19 01:20, Harlan Stenn wrote:
>>
>>
>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>>> Fernando,
>>>>
>>>>     Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.
>>>>
>>>>     Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.
>>>>
>>>>     "Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  
>>>
>>> Oh, by the way. While you enlighten me why you need a fixed well-known
>>> port number for the client, and how necessary this is, please also
>>> elaborate on how I'm running multiple NTP clients behind a NAT box.
>>
>> Nobody seems to be saying there is benefit to *only* using the
>> well-known port number when sending a client request.  People are saying
>> that requiring this in all cases doesn't buy any significant benefit.
> 
> Employing predictable numeric IDs is bad practice. The current
> requirement (which cannot even be complied to in IPv4-NATed networks),
> requires a fixed well-known port for clients. i.e., the spec mandates
> against a BCP (port randomization) and on the well-known concept that
> employing predictable IDs is asking for trouble.

By the same token, generally applying rules without fully understanding
the costs/benefits and other trade-offs is bad practice.

The NAT case you mention is a red herring.  That case effectively
randomizes the port already, at least outside the LAN.

> Our document reverses that: It recommends what's is known to be a good
> practice, and gives you room (it's a "SHOULD", not a "MUST") if you have
> a really good reason not to randomize the client port.

I'll re-read the proposal, and if the proposal doesn't go in to the
pros/cons of the choices then the proposal is, IMO, fatally deficient.

I'm pretty comfortable in my belief that I think I have a good awareness
of these issues.

You believe you have a similar awareness.

But I submit the vast majority of folks who will read this will not have
the level of awareness to make an informed decision.

> As noted in some other message, the analysis so far has focused on
> attack packets that might get tossed if the org timer is not valid.

When would a packet with an invalid org timer *not* be tossed?  This
sounds like another straw-man to me.

> There might also be implementation bugs (e.g., buffer overflows, or
> whatever) that happen before that.

So what?  Really - what difference would the port number make if there
are implementation bugs of the type you now hypothesize?

>> Of course it's fine if NTP client goes thru a NAT gateway.
> 
> That's an indication that the current requirement in the spec is bogus.
> In fact, if you actually mandated it (e.g., the server were to require
> that the client port be 123), deployed clients would break.

RFC5905 section 9.1 says:

   srcport: UDP port number of the server or reference clock.  This
   becomes the destination port number in packets sent from this
   association.  When operating in symmetric modes (1 and 2), this field
   must contain the NTP port number PORT (123) assigned by the IANA.  In
   other modes, it can contain any number consistent with local policy.

Where is the "current requirement in the spec", and who is proposing a
"mandate"?  Your points seem to be at least red-herrings, and could be
full-on straw man fallacies.

You are very certain of the number and scope of your use-cases.  I
believe the problem scope and use-cases are more diverse than what you
describe, and your solution, while appropriate for some of these,
*prevents* detection/remediation in other scenarios.

If you know these things, then you're trolling and wasting people's time
and energy.  If you don't know it, then ... I'll stop there.  But maybe
I'm missing something.

>> So here's a related question for you:
>>
>> Is there benefit to knowing if you are being attacked?
> 
> That's orthogonal to this. You don't need to leak the session ID in
> order to run a NIDS. -- and, no matter what you have in mind, I'll
> repeat the above: the requirement is in "SHOULD" level -- you can go
> against it if you have a really good reason to.

I'd be a lot more receptive to your points if you showed more awareness
of the tradeoffs and identification of the various problem scenarios and
use-cases, and made proposals that were better rooted in reality.

But I'm not sure anybody besides me cares about my opinion/position on
your proposal.

> Thanks,

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 02:22:26 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DD4E1200CE for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:22:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 LYdm-k_bM8Mj for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:22:23 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FD7D12002E for <ntp@ietf.org>; Wed, 29 May 2019 02:22:22 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 13CE889E17; Wed, 29 May 2019 11:22:19 +0200 (CEST)
To: Danny Mayer <mayer@ntp.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljW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ba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <af4940f3-caae-4364-7c46-a96e58e5d386@si6networks.com>
Date: Wed, 29 May 2019 05:12:34 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/k4ur7uqtJSa_igoqrJTaYtOmIb8>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 09:22:25 -0000

On 29/5/19 04:42, Danny Mayer wrote:
> 
> On 5/29/19 12:18 AM, Fernando Gont wrote:
>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>> Randomizing the source port is pointless.  As Danny has noted, t1
>>> already acts as a 2^64 nonce on each client mode chime request.  This
>>> sufficiently hardens the unauthenticated case to an off path
>>> attacker.  If additional security is required, authentication (via
>>> classic PSK, or NTS modes) should be used.
>> Using predictable numeric identifiers is a bad habit. We have plenty of
>> history in this area and, as noted, it's quite interesting to see folks
>> pushing in this direction in 2019, when the tendency has been to
>> actually move away from predictable numeric IDs (TCP ISNs, transport
>> protocol numbers, DNS TxIDs, Frag IDs, etc.).
>>
>> Using predictable port numbers makes it easy for an attacker to infer
>> the "session id". You are just considering one possible attack scenario.
>>
> You are totally missing the point. The port numbers don't make NTP
> vulnerable. The "session id" does not exist here. 

Attackers need to know the four-tuple that was employed by the query.
That's a prerequisite for attacking NTP. When you *unnecessarily* employ
a predictable port on the client side, you are making the attacker's
life easier. Period.



> Instead NTP has an
> origin timestamp that an off-path attacker does not have access to.

That's *not* "instead". Port numbers identify the transport protocol
instance. The org timestamp is an protocol specific value.

What you're saying is the equivalent that we should not randomize TCP
source ports because we also do TCP ISN randomization. And such logic is
very flawed, of course.



> RFC6056 was probably developed as a result of the Kaminsky attack on DNS
> and the way we fixed that.

It wasn't.


> I noticed a number of people mentioned in
> that RFC who were involved in those changes. It doesn't say so but that
> RFC addresses shortcomings in those protocols that have small or
> non-existent nonces which is not the case for NTP. 

Huh? You are mixing up transport layer with app layer. Again: using
predictable numeric IDs is a bad idea.


NO matter what you do at upper layers, you shouldn't use predictable
numeric IDs. I can't believe that we are discussing this in 2019.



>>> Per session randomization doesn't resolve these issues -- the stated
>>> rationale for both the draft and filed CVE is hardening to off path
>>> attacks, which we've just covered.
>> If tomorrow a flaw were found in an NTP implementation, that happened
>> e.g. prior to the validation of the origin timestamp, I guess you are
>> going to argue that "that was out of scope"?
>>
> There is no session validation since this is UDP not TCP. A flaw in an
> NTP implementation that did not check that the timestamp matched would
> be a bug in that implementation and randomizing the source port is not
> going to change that. Furthermore the client needs the origin timestamp
> to find the match in its local memory in order to process the incoming
> packet. if it cannot find it, it will ignore the packet.

You missed my example. I was referring to, e.g. o possible a bug in the
NTP implementation, present *prior* to the validation of the org
timestamp (e.g., processing of malformed packet, etc.).


-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 02:31:19 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DC68120111 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:31:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 q3I8dOfqm4oW for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:31:15 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [IPv6:2001:470:1:205::234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ECF3012002E for <ntp@ietf.org>; Wed, 29 May 2019 02:31:14 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DQSd5wf2zL7T; Wed, 29 May 2019 09:31:13 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org> <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkxJMyH2th7q0Nmz3aX4A0K4yE0Ba9/5Dr7ctpF15BrMF aEo4s5lwI6tUnkgMWo265mMzCz4mAPV/ac0w0OXQg7r9E2r0+dRapnzUlG43D0JLDqDr9uRR L6IrRQqoCWUC75lfmPYQYSlaTJaK68r3lXd0z1cXJUgVtEL5H3/Z71R2B20twcQVAnw2iIH6 L5vdrsIjHrMmkqRVbs9nNyEAEQEAAbQ5SGFybGFuIFN0ZW5uIChOZXR3b3JrIFRpbWUgRm91 bmRhdGlvbikgPHN0ZW5uQG53dGltZS5vcmc+iQG5BBMBAgAjBQJSNsblAhsvBwsJCAcDAgEG FQ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SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <9418bd6d-a830-311f-2392-02999df3c153@nwtime.org>
Date: Wed, 29 May 2019 02:31:12 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/qkLMOiIHJHUNAWDTjz_5_1rAC3E>
Subject: Re: [Ntp] Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 09:31:17 -0000

On 5/29/2019 2:06 AM, Ulrich Windl wrote:
>>>> Danny Mayer <mayer@ntp.org> schrieb am 29.05.2019 um 10:42 in Nachricht
> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>:
> 
>> On 5/29/19 12:18 AM, Fernando Gont wrote:
>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>>> Randomizing the source port is pointless.  As Danny has noted, t1
>>>> already acts as a 2^64 nonce on each client mode chime request.  This
>>>> sufficiently hardens the unauthenticated case to an off path
>>>> attacker.  If additional security is required, authentication (via
>>>> classic PSK, or NTS modes) should be used.
>>> Using predictable numeric identifiers is a bad habit. We have plenty of
>>> history in this area and, as noted, it's quite interesting to see folks
>>> pushing in this direction in 2019, when the tendency has been to
>>> actually move away from predictable numeric IDs (TCP ISNs, transport
>>> protocol numbers, DNS TxIDs, Frag IDs, etc.).
>>>
>>> Using predictable port numbers makes it easy for an attacker to infer
>>> the "session id". You are just considering one possible attack scenario.
>>>
>> You are totally missing the point. The port numbers don't make NTP
>> vulnerable. The "session id" does not exist here. Instead NTP has an
>> origin timestamp that an off‑path attacker does not have access to. Even
>> if it did, then the origin timestamp is wildly different each time it's
>> sent and is not predictable. This is a 64‑bit nonce.
> 
> ...of which about 30 bits are random (assuming the attacker knows what time it
> is and packets take less than one second to travel)...

How did you come up with 30 bits?

And remember that:

- the window of time where an attack is possible starts when the client
  sends its request, and ends when a valid response is received.
- a competent client will log bogus responses, at least during this
  window, and if the client is NTP as opposed to SNTP, will log
  *any* bogus received packets.

Further note:

- 30 bits is over a billion choices
- average clients can process maybe 2k packets per second
- the window of time on this attack is likely under a quarter
  to half a second, so 500-1,000 packets out of a billion
- MAC protection adds a *lot* of protection on this
- bogus packets received during the window are likely logged,
  and if MAC protected will generate a CRYPTO-NAK back to the
  real server, which, if reasonably implemented, will also
  be logged.

> [...]
> 
> Regards,
> Ulrich Windl
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 02:39:24 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3CF4120147 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:39:22 -0700 (PDT)
X-Quarantine-ID: <fTUc8HbU_F_0>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char 84 hex): References: ...0000A1000317F4@gwsmtp.uni\204regensburg.de>C[...]
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 fTUc8HbU_F_0 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 02:39:20 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e79]) (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 2CF12120142 for <ntp@ietf.org>; Wed, 29 May 2019 02:39:20 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1E8EF600005B for <ntp@ietf.org>; Wed, 29 May 2019 11:39:18 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id CE3676000052 for <ntp@ietf.org>; Wed, 29 May 2019 11:39:17 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 29 May 2019 11:39:17 +0200
Message-Id: <5CEE5344020000A1000317F9@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Wed, 29 May 2019 11:39:16 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "ntp@ietf.org" <ntp@ietf.org>,<stenn@nwtime.org>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org> <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de><5CEE4B90020000A1000317F4@gwsmtp.uni„regensburg.de>Content„Language: en„US <9418bd6d-a830-311f-2392-02999df3c153@nwtime.org>
In-Reply-To: <9418bd6d-a830-311f-2392-02999df3c153@nwtime.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/HE5q7oD--tfvYuG5rFcHJvygZMc>
Subject: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 09:39:23 -0000

>>> Harlan Stenn <stenn@nwtime.org> schrieb am 29.05.2019 um 11:31 in
Nachricht
<9418bd6d-a830-311f-2392-02999df3c153@nwtime.org>:

> 
> On 5/29/2019 2:06 AM, Ulrich Windl wrote:
>>>>> Danny Mayer <mayer@ntp.org> schrieb am 29.05.2019 um 10:42 in Nachricht
>> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>:
>> 
>>> On 5/29/19 12:18 AM, Fernando Gont wrote:
>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>>>> Randomizing the source port is pointless.  As Danny has noted, t1
>>>>> already acts as a 2^64 nonce on each client mode chime request.  This
>>>>> sufficiently hardens the unauthenticated case to an off path
>>>>> attacker.  If additional security is required, authentication (via
>>>>> classic PSK, or NTS modes) should be used.
>>>> Using predictable numeric identifiers is a bad habit. We have plenty of
>>>> history in this area and, as noted, it's quite interesting to see folks
>>>> pushing in this direction in 2019, when the tendency has been to
>>>> actually move away from predictable numeric IDs (TCP ISNs, transport
>>>> protocol numbers, DNS TxIDs, Frag IDs, etc.).
>>>>
>>>> Using predictable port numbers makes it easy for an attacker to infer
>>>> the "session id". You are just considering one possible attack scenario.
>>>>
>>> You are totally missing the point. The port numbers don't make NTP
>>> vulnerable. The "session id" does not exist here. Instead NTP has an
>>> origin timestamp that an off‑path attacker does not have access to. Even
>>> if it did, then the origin timestamp is wildly different each time it's
>>> sent and is not predictable. This is a 64‑bit nonce.
>> 
>> ...of which about 30 bits are random (assuming the attacker knows what time

> it
>> is and packets take less than one second to travel)...
> 
> How did you come up with 30 bits?

I assumed: 32 bits integral seconds, and 32 bits fractional seconds. Assume
the packets arrive within 250ms, your at 30 bits uncertainty ("random")

> 
> And remember that:
> 
> - the window of time where an attack is possible starts when the client
>   sends its request, and ends when a valid response is received.

An attacker will probably "spray" attacking packets.

> - a competent client will log bogus responses, at least during this
>   window, and if the client is NTP as opposed to SNTP, will log
>   *any* bogus received packets.

The point is whether logging unexpected packets actually opens a DoS windows.

> 
> Further note:
> 
> - 30 bits is over a billion choices
> - average clients can process maybe 2k packets per second
> - the window of time on this attack is likely under a quarter
>   to half a second, so 500-1,000 packets out of a billion

I agree, but please don't treat it as 64-bit random value that is to be
guessed.

> - MAC protection adds a *lot* of protection on this
> - bogus packets received during the window are likely logged,
>   and if MAC protected will generate a CRYPTO-NAK back to the
>   real server, which, if reasonably implemented, will also
>   be logged.

My remark was solely on "64-bit" random...

> 
>> [...]
>> 
>> Regards,
>> Ulrich Windl
>> 
>> _______________________________________________
>> ntp mailing list
>> ntp@ietf.org 
>> https://www.ietf.org/mailman/listinfo/ntp 
>> 
> 
> -- 
> Harlan Stenn, Network Time Foundation
> http://nwtime.org - be a Member!
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 




From nobody Wed May 29 03:02:57 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6EE951201C9 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:02:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 cwvsP1p9EF_S for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:02:51 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [IPv6:2001:470:1:205::234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F4FD12018C for <ntp@ietf.org>; Wed, 29 May 2019 03:02:51 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DR96461NzL7V; Wed, 29 May 2019 10:02:50 +0000 (UTC)
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "ntp@ietf.org" <ntp@ietf.org>
References: =?UTF-8?Q?=3c155841904754=2e12856=2e3727925672753047210=2eidtrac?= =?UTF-8?Q?ker=40ietfa=2eamsl=2ecom=3e_=3c9d21f083-4cba-1dd1-f5bb-c95984d312?= =?UTF-8?Q?7b=40si6networks=2ecom=3e_=3c9d74c6e3-244e-fdd7-184a-0572f4f144cd?= =?UTF-8?Q?=40ntp=2eorg=3e_=3c25275d68-8c18-1616-f226-dffe7e21091e=40si6netw?= =?UTF-8?Q?orks=2ecom=3e_=3c20190528174208=2e11253a67=40rellim=2ecom=3e_=3c1?= =?UTF-8?Q?a133133-5d6a-ca96-6c15-73e6933baffc=40si6networks=2ecom=3e_=3c279?= =?UTF-8?Q?4A95B-B118-40BD-AD60-DCB50CC32717=40latt=2enet=3e_=3cf03dbfbd-007?= =?UTF-8?Q?a-fa81-f846-85079a59dddd=40si6networks=2ecom=3e_=3cc4384ecc-2711-?= =?UTF-8?Q?3479-df21-d6533f438418=40ntp=2eorg=3e_=3c5CEE4B90020000A1000317F4?= =?UTF-8?Q?=40gwsmtp=2euni-regensburg=2ede=3e_=3c5CEE4B90020000A1000317F4=40?= =?UTF-8?Q?gwsmtp=2euni=ef=bf=bdregensburg=2ede=3e_=3c9418bd6d-a830-311f-239?= =?UTF-8?Q?2-02999df3c153=40nwtime=2eorg=3e_=3c5CEE5344020000A1000317F9=40gw?= =?UTF-8?Q?smtp=2euni-regensburg=2ede=3e?=
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue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jWqr f2CI8Fa6MdanqwYphz43I2yXANKFZuMWsWqyQYlvGuPUlUUcAL3stp24RkzDB1Q+JS0IZJST T2JSu0aTfUdWVNqr2UI19eX+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org>
Date: Wed, 29 May 2019 03:02:49 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/LP4R7fKSwyb1JFohx0g8HijyThk>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:02:56 -0000

On 5/29/2019 2:39 AM, Ulrich Windl wrote:
>>>> Harlan Stenn <stenn@nwtime.org> schrieb am 29.05.2019 um 11:31 in
> Nachricht
> <9418bd6d-a830-311f-2392-02999df3c153@nwtime.org>:
> 
>>
>> On 5/29/2019 2:06 AM, Ulrich Windl wrote:
>>>>>> Danny Mayer <mayer@ntp.org> schrieb am 29.05.2019 um 10:42 in Nachricht
>>> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org>:
>>>
>>>> On 5/29/19 12:18 AM, Fernando Gont wrote:
>>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>>>>> Randomizing the source port is pointless.  As Danny has noted, t1
>>>>>> already acts as a 2^64 nonce on each client mode chime request.  This
>>>>>> sufficiently hardens the unauthenticated case to an off path
>>>>>> attacker.  If additional security is required, authentication (via
>>>>>> classic PSK, or NTS modes) should be used.
>>>>> Using predictable numeric identifiers is a bad habit. We have plenty of
>>>>> history in this area and, as noted, it's quite interesting to see folks
>>>>> pushing in this direction in 2019, when the tendency has been to
>>>>> actually move away from predictable numeric IDs (TCP ISNs, transport
>>>>> protocol numbers, DNS TxIDs, Frag IDs, etc.).
>>>>>
>>>>> Using predictable port numbers makes it easy for an attacker to infer
>>>>> the "session id". You are just considering one possible attack scenario.
>>>>>
>>>> You are totally missing the point. The port numbers don't make NTP
>>>> vulnerable. The "session id" does not exist here. Instead NTP has an
>>>> origin timestamp that an off‑path attacker does not have access to. Even
>>>> if it did, then the origin timestamp is wildly different each time it's
>>>> sent and is not predictable. This is a 64‑bit nonce.
>>>
>>> ...of which about 30 bits are random (assuming the attacker knows what time
> 
>> it
>>> is and packets take less than one second to travel)...
>>
>> How did you come up with 30 bits?
> 
> I assumed: 32 bits integral seconds, and 32 bits fractional seconds. Assume
> the packets arrive within 250ms, your at 30 bits uncertainty ("random")

That's fine, and assuming the attacker is blind then I think we're
really talking about 32 and possibly 33 bits, because there is a
significant chance the window will span the boundary between seconds.

That also assumes the client has the correct time.  If somebody is using
SNTP, this assumption may be wrong, and the client's time could well be
off by much more.  At 33 bits, we're talking about 2 seconds.  If the
client might be off by 4-8 minutes then we're talking about 41 bits.

>>
>> And remember that:
>>
>> - the window of time where an attack is possible starts when the client
>>   sends its request, and ends when a valid response is received.
> 
> An attacker will probably "spray" attacking packets.

OK, so what?  Low end normal machines might handle 2k packets/second,
and low end slow machines are lucky to be able to handle 200 packets per
second.

>> - a competent client will log bogus responses, at least during this
>>   window, and if the client is NTP as opposed to SNTP, will log
>>   *any* bogus received packets.
> 
> The point is whether logging unexpected packets actually opens a DoS windows.

That's something logging systems can reasonably be expected to handle,
and it's also reasonable to assume that if somebody goes to the trouble
to log these events they're also alerting on them.

>> Further note:
>>
>> - 30 bits is over a billion choices
>> - average clients can process maybe 2k packets per second
>> - the window of time on this attack is likely under a quarter
>>   to half a second, so 500-1,000 packets out of a billion
> 
> I agree, but please don't treat it as 64-bit random value that is to be
> guessed.

Not a problem.  Also note that even 30 bits is huge if you're attacking
a slow processor that can only handle 200 packets/second.  In this case,
the attacker might be able to send back 50-100 packets out of a billion,
so if no MAC protection is used that's still 5-10 chances in 100
million.  I read the odds of drowning while taking a bath are 1 in
840,000, so this would be about 50-100 times more rare.

>> - MAC protection adds a *lot* of protection on this
>> - bogus packets received during the window are likely logged,
>>   and if MAC protected will generate a CRYPTO-NAK back to the
>>   real server, which, if reasonably implemented, will also
>>   be logged.
> 
> My remark was solely on "64-bit" random...

No worries.

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 03:03:51 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16A5312015C for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:03:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 8hQvr5hoc_KC for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:03:46 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 544DC1200B1 for <ntp@ietf.org>; Wed, 29 May 2019 03:03:46 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 14F7889EB4; Wed, 29 May 2019 12:03:43 +0200 (CEST)
To: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=m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7ymzvgzPa+BY/mYn94vRaurDQ4/ljOfj6oqgfjts+dJev4Jj89vp8MQI3KJpZPEAEQEA AYkCJQQYAQIADwUCTmyjaAIbDAUJEswDAAAKCRCuJQ1VHU50km4xEACho45PZrUjY4Zl2opR DFNo5a6roTOPpgwO9PcBb3I5F8yX2Dnew+9OhgWXbBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com>
Date: Wed, 29 May 2019 06:03:15 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <69295233-497e-fa31-3270-691407fb6f30@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Q_Vy3Rn-U4pseti2ccT2LdidylE>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:03:49 -0000

On 29/5/19 05:18, Harlan Stenn wrote:
> On 5/29/2019 12:17 AM, Fernando Gont wrote:
>> On 29/5/19 01:20, Harlan Stenn wrote:
>>>
>>>
>>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
[....]
>>
>> Employing predictable numeric IDs is bad practice. The current
>> requirement (which cannot even be complied to in IPv4-NATed networks),
>> requires a fixed well-known port for clients. i.e., the spec mandates
>> against a BCP (port randomization) and on the well-known concept that
>> employing predictable IDs is asking for trouble.
> 
> By the same token, generally applying rules without fully understanding
> the costs/benefits and other trade-offs is bad practice.

I understand that your implementation employs port 123 as the source
port. You mentioned that makes the code simpler. That's probably also
the case when using predictable IDs (e.g. resulting from a counter) vs.
randomized ones.

Protocol-wise: could you state what are the drawbacks of employing
randomized port numbers?



> The NAT case you mention is a red herring.  That case effectively
> randomizes the port already, at least outside the LAN.

The point I was trying to make is that if it was so vital protocol-wise
that a specific port were used as the source port, then NTP would not
work across NATs. Of course it does work, because the client port can be
anything.




>> As noted in some other message, the analysis so far has focused on
>> attack packets that might get tossed if the org timer is not valid.
> 
> When would a packet with an invalid org timer *not* be tossed?  This
> sounds like another straw-man to me.
> 
>> There might also be implementation bugs (e.g., buffer overflows, or
>> whatever) that happen before that.
> 
> So what?  Really - what difference would the port number make if there
> are implementation bugs of the type you now hypothesize?

Difficulty in hitting the four-tuple being employed for NTP?




>>> Of course it's fine if NTP client goes thru a NAT gateway.
>>
>> That's an indication that the current requirement in the spec is bogus.
>> In fact, if you actually mandated it (e.g., the server were to require
>> that the client port be 123), deployed clients would break.
> 
> RFC5905 section 9.1 says:
> 
>    srcport: UDP port number of the server or reference clock.  This
>    becomes the destination port number in packets sent from this
>    association.  When operating in symmetric modes (1 and 2), this field
>    must contain the NTP port number PORT (123) assigned by the IANA.  In
>    other modes, it can contain any number consistent with local policy.
> 
> Where is the "current requirement in the spec", and who is proposing a
> "mandate"?  

Yes, my bad. This is open, without a recommendation on what to do. The
implementation I was running was indeed using port 123.




> You are very certain of the number and scope of your use-cases.  I
> believe the problem scope and use-cases are more diverse than what you
> describe, and your solution, while appropriate for some of these,
> *prevents* detection/remediation in other scenarios.

Not much like that. Actually, I was analyzing traffic, and then going
through the spec, and surprised the client port used by the
implementation I was running was employing port 123. Tried to track why
that was the case.

Having worked on predictable numeric ids for a number of protocols, I
expected this to be an historical artifact, in the area of "yeah,
sure... we should have been randomizing it", do the recommendation and
move on.



>> That's orthogonal to this. You don't need to leak the session ID in
>> order to run a NIDS. -- and, no matter what you have in mind, I'll
>> repeat the above: the requirement is in "SHOULD" level -- you can go
>> against it if you have a really good reason to.
> 
> I'd be a lot more receptive to your points if you showed more awareness
> of the tradeoffs and identification of the various problem scenarios and
> use-cases, and made proposals that were better rooted in reality.

I'm still trying to figure out e.g. what your implementation does or
expects to do when you e.g. receive NTP packets with right four-tuple
and, say, invalid org timer. Anything else other than toss the offending
packets out? And, if that's the case, why are you interested in
processing them instead rather than have them tossed before they get to
the NTP process?


> But I'm not sure anybody besides me cares about my opinion/position on
> your proposal.

FWIW, I'm interested in your feedback.


Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 03:06:43 2019
Return-Path: <mlichvar@redhat.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4452E12017E for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:06:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 U_gM942PIMIR for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:06:39 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAFA112002E for <ntp@ietf.org>; Wed, 29 May 2019 03:06:39 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EB7A83179B47; Wed, 29 May 2019 10:06:25 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1FF71600C4; Wed, 29 May 2019 10:06:24 +0000 (UTC)
Date: Wed, 29 May 2019 12:06:23 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: "ntp@ietf.org" <ntp@ietf.org>, Danny Mayer <mayer@ntp.org>
Message-ID: <20190529100623.GH11346@localhost>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org> <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de>
User-Agent: Mutt/1.11.3 (2019-02-01)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 29 May 2019 10:06:34 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/aky6JZcBvJTm8U88K8yvkBTw2D4>
Subject: Re: [Ntp] Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:06:42 -0000

On Wed, May 29, 2019 at 11:06:24AM +0200, Ulrich Windl wrote:
> >>> Danny Mayer <mayer@ntp.org> schrieb am 29.05.2019 um 10:42 in Nachricht
> > You are totally missing the point. The port numbers don't make NTP
> > vulnerable. The "session id" does not exist here. Instead NTP has an
> > origin timestamp that an off‑path attacker does not have access to. Even
> > if it did, then the origin timestamp is wildly different each time it's
> > sent and is not predictable. This is a 64‑bit nonce.
> 
> ...of which about 30 bits are random (assuming the attacker knows what time it
> is and packets take less than one second to travel)...

I assume this whole discussion is about clients not using fully random
transmit timestamps (as specified in the data minimization draft).

30 bits is not that much. A typical NTP client running on a modern
computer can receive and process few hundred thousands packets per
second. This means it would accept a spoofed response in less than an
hour (assuming most of genuine responses from the server are dropped
in the network or socket). With 14 extra bits of entropy from the
source port it would be a year. That's a significant improvement.

In reality, I think it's quite a bit less than 30 bits. If we assume
the clock is accurate to 1 millisecond, it's only about 22 bits worth
of guessing. Then there are other things that may make this even
easier.

The client may be using a fixed 1-second timer to schedule its
transmissions and it may also be running as a stratum-2 server,
leaking the receive timestamp as the reference timestamp and leaking
the delay as root delay, which make the transmit/origin timestamp even
more predictable.

-- 
Miroslav Lichvar


From nobody Wed May 29 03:10:45 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 459E312006A for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:10:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 XnthULzQk3o2 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:10:41 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 282B212002E for <ntp@ietf.org>; Wed, 29 May 2019 03:10:41 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DRL8440rzL7T; Wed, 29 May 2019 10:10:40 +0000 (UTC)
To: Fernando Gont <fgont@si6networks.com>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSY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X0PKd9q+wjg7MIjWqr f2CI8Fa6MdanqwYphz43I2yXANKFZuMWsWqyQYlvGuPUlUUcAL3stp24RkzDB1Q+JS0IZJST T2JSu0aTfUdWVNqr2UI19eX+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <b2934164-045a-df3e-feff-f6eb5362f6a0@nwtime.org>
Date: Wed, 29 May 2019 03:10:37 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/N2d_Y4hud0akB8EugTTGN9UVya4>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:10:44 -0000

On 5/29/2019 3:03 AM, Fernando Gont wrote:
> On 29/5/19 05:18, Harlan Stenn wrote:
>> On 5/29/2019 12:17 AM, Fernando Gont wrote:
>>> On 29/5/19 01:20, Harlan Stenn wrote:
>>>>
>>>>
>>>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
> [....]
>>>
>>> Employing predictable numeric IDs is bad practice. The current
>>> requirement (which cannot even be complied to in IPv4-NATed networks),
>>> requires a fixed well-known port for clients. i.e., the spec mandates
>>> against a BCP (port randomization) and on the well-known concept that
>>> employing predictable IDs is asking for trouble.
>>
>> By the same token, generally applying rules without fully understanding
>> the costs/benefits and other trade-offs is bad practice.
> 
> I understand that your implementation employs port 123 as the source
> port. You mentioned that makes the code simpler. That's probably also
> the case when using predictable IDs (e.g. resulting from a counter) vs.
> randomized ones.
> 
> Protocol-wise: could you state what are the drawbacks of employing
> randomized port numbers?

I think this point has been covered before, more than once.

>> The NAT case you mention is a red herring.  That case effectively
>> randomizes the port already, at least outside the LAN.
> 
> The point I was trying to make is that if it was so vital protocol-wise
> that a specific port were used as the source port, then NTP would not
> work across NATs. Of course it does work, because the client port can be
> anything.

This sounds to me like you're admitting you gave a straw-man argument.

>>> As noted in some other message, the analysis so far has focused on
>>> attack packets that might get tossed if the org timer is not valid.
>>
>> When would a packet with an invalid org timer *not* be tossed?  This
>> sounds like another straw-man to me.
>>
>>> There might also be implementation bugs (e.g., buffer overflows, or
>>> whatever) that happen before that.
>>
>> So what?  Really - what difference would the port number make if there
>> are implementation bugs of the type you now hypothesize?
> 
> Difficulty in hitting the four-tuple being employed for NTP?

How do implementation bugs play in to this?

The loopback test is one of the *first* checks that must be passed
according to the Standard.

>>>> Of course it's fine if NTP client goes thru a NAT gateway.
>>>
>>> That's an indication that the current requirement in the spec is bogus.
>>> In fact, if you actually mandated it (e.g., the server were to require
>>> that the client port be 123), deployed clients would break.
>>
>> RFC5905 section 9.1 says:
>>
>>    srcport: UDP port number of the server or reference clock.  This
>>    becomes the destination port number in packets sent from this
>>    association.  When operating in symmetric modes (1 and 2), this field
>>    must contain the NTP port number PORT (123) assigned by the IANA.  In
>>    other modes, it can contain any number consistent with local policy.
>>
>> Where is the "current requirement in the spec", and who is proposing a
>> "mandate"?  
> 
> Yes, my bad. This is open, without a recommendation on what to do. The
> implementation I was running was indeed using port 123.
> 
> 
> 
> 
>> You are very certain of the number and scope of your use-cases.  I
>> believe the problem scope and use-cases are more diverse than what you
>> describe, and your solution, while appropriate for some of these,
>> *prevents* detection/remediation in other scenarios.
> 
> Not much like that. Actually, I was analyzing traffic, and then going
> through the spec, and surprised the client port used by the
> implementation I was running was employing port 123. Tried to track why
> that was the case.
> 
> Having worked on predictable numeric ids for a number of protocols, I
> expected this to be an historical artifact, in the area of "yeah,
> sure... we should have been randomizing it", do the recommendation and
> move on.
> 
> 
> 
>>> That's orthogonal to this. You don't need to leak the session ID in
>>> order to run a NIDS. -- and, no matter what you have in mind, I'll
>>> repeat the above: the requirement is in "SHOULD" level -- you can go
>>> against it if you have a really good reason to.
>>
>> I'd be a lot more receptive to your points if you showed more awareness
>> of the tradeoffs and identification of the various problem scenarios and
>> use-cases, and made proposals that were better rooted in reality.
> 
> I'm still trying to figure out e.g. what your implementation does or
> expects to do when you e.g. receive NTP packets with right four-tuple
> and, say, invalid org timer. Anything else other than toss the offending
> packets out? And, if that's the case, why are you interested in
> processing them instead rather than have them tossed before they get to
> the NTP process?

You're really having trouble finding out the answer to this?

I was told that you are generally diligent and a "deep diver" into these
sort of problems.  I'm not seeing that here.

>> But I'm not sure anybody besides me cares about my opinion/position on
>> your proposal.
> 
> FWIW, I'm interested in your feedback.

OK, thanks!

I'm still replying to your posts, if that's an indication.

> Thanks,
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 03:13:52 2019
Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D5FC12008C for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:13:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 hCrG6Zeu9Xcl for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:13:49 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e79]) (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 351E712006A for <ntp@ietf.org>; Wed, 29 May 2019 03:13:49 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id EA547600005B for <ntp@ietf.org>; Wed, 29 May 2019 12:13:46 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id CD20E6000059 for <ntp@ietf.org>; Wed, 29 May 2019 12:13:46 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 29 May 2019 12:13:46 +0200
Message-Id: <5CEE5B59020000A1000317FE@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.1.1 
Date: Wed, 29 May 2019 12:13:45 +0200
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: "ntp@ietf.org" <ntp@ietf.org>,<stenn@nwtime.org>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org> <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de> <5CEE4B90020000A1000317F4@gwsmtp.uni*regensburg.de> <9418bd6d-a830-311f-2392-02999df3c153@nwtime.org> <5CEE5344020000A1000317F9@gwsmtp.uni-regensburg.de> <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org>
In-Reply-To: <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ZLj7-Y19AWc3vDkPkAb84_N04eI>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:13:51 -0000

>>> Harlan Stenn <stenn@nwtime.org> schrieb am 29.05.2019 um 12:02 in =
Nachricht
<92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org>:


[...]
> That also assumes the client has the correct time.  If somebody is using
> SNTP, this assumption may be wrong, and the client's time could well be
> off by much more.  At 33 bits, we're talking about 2 seconds.  If the
> client might be off by 4-8 minutes then we're talking about 41 bits.

Do you really think someone planning to attack NTP will start with a clock =
that is  minutes off the correct time?

>=20
>>>
>>> And remember that:
>>>
>>> - the window of time where an attack is possible starts when the =
client
>>>   sends its request, and ends when a valid response is received.
>>=20
>> An attacker will probably "spray" attacking packets.
>=20
> OK, so what?  Low end normal machines might handle 2k packets/second,
> and low end slow machines are lucky to be able to handle 200 packets per
> second.

It there a difference between the client being overloaded with attack =
packets that are "wrong" or attack packets that are "correct"? I was =
arguing that "enough packets" could easily be created, while you argue the =
client can't handle them.

>=20
>>> - a competent client will log bogus responses, at least during this
>>>   window, and if the client is NTP as opposed to SNTP, will log
>>>   *any* bogus received packets.
>>=20
>> The point is whether logging unexpected packets actually opens a DoS=20
> windows.
>=20
> That's something logging systems can reasonably be expected to handle,
> and it's also reasonable to assume that if somebody goes to the trouble
> to log these events they're also alerting on them.

Yeah: Filesystem full ;-)

[...]



From nobody Wed May 29 03:16:12 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DFBA7120072 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:16:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 UxYVkA5cw1LB for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:16:10 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [IPv6:2001:470:1:205::234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F419D12006A for <ntp@ietf.org>; Wed, 29 May 2019 03:16:09 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DRST43pDzL7T; Wed, 29 May 2019 10:16:09 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org> <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de> <20190529100623.GH11346@localhost>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL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Pt1 yMxBuUNbCF4jFnaruwrSiGTRoIfUZQwAjQglahrV4/mcjfnvbNoseHX0PKd9q+wjg7MIjWqr f2CI8Fa6MdanqwYphz43I2yXANKFZuMWsWqyQYlvGuPUlUUcAL3stp24RkzDB1Q+JS0IZJST T2JSu0aTfUdWVNqr2UI19eX+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <b9a8b501-8df9-b430-a0a9-649c4e8d5d03@nwtime.org>
Date: Wed, 29 May 2019 03:16:08 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <20190529100623.GH11346@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/0Tgsc3gx1bD1UjMvG2m3q76Yxhw>
Subject: Re: [Ntp] Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:16:12 -0000

On 5/29/2019 3:06 AM, Miroslav Lichvar wrote:
> On Wed, May 29, 2019 at 11:06:24AM +0200, Ulrich Windl wrote:
>>>>> Danny Mayer <mayer@ntp.org> schrieb am 29.05.2019 um 10:42 in Nachricht
>>> You are totally missing the point. The port numbers don't make NTP
>>> vulnerable. The "session id" does not exist here. Instead NTP has an
>>> origin timestamp that an off‑path attacker does not have access to. Even
>>> if it did, then the origin timestamp is wildly different each time it's
>>> sent and is not predictable. This is a 64‑bit nonce.
>>
>> ...of which about 30 bits are random (assuming the attacker knows what time it
>> is and packets take less than one second to travel)...
> 
> I assume this whole discussion is about clients not using fully random
> transmit timestamps (as specified in the data minimization draft).

And this may also be a terrible idea.  It prevents the server from
having any idea how accurate the client may be.

> 30 bits is not that much. A typical NTP client running on a modern
> computer can receive and process few hundred thousands packets per
> second. This means it would accept a spoofed response in less than an
> hour (assuming most of genuine responses from the server are dropped
> in the network or socket). With 14 extra bits of entropy from the
> source port it would be a year. That's a significant improvement.

You're seeing different numbers than I am.  I'm seeing typical NTP
clients handle the numbers I quoted, and low-end embedded clients
handling at least an order of magnitude fewer.  I'm talking about
packets that do *not* have MAC protection.  The thruput rate would drop
for MAC protected packets.

> In reality, I think it's quite a bit less than 30 bits. If we assume
> the clock is accurate to 1 millisecond, it's only about 22 bits worth
> of guessing. Then there are other things that may make this even
> easier.

This may be true for an NTP client.  I would like to see numbers for an
SNTP client where the clock free-runs for hours to days at a time.

> The client may be using a fixed 1-second timer to schedule its
> transmissions and it may also be running as a stratum-2 server,
> leaking the receive timestamp as the reference timestamp and leaking
> the delay as root delay, which make the transmit/origin timestamp even
> more predictable.

How is an off-path attacker going to see this information?

Why is a stratum 2 server in a hostile environment not using MAC
protection, or using enough upstream servers?

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 03:17:07 2019
Return-Path: <mlichvar@redhat.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E370120092 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:17:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 oUCiIwJg3MIT for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:17:03 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B438E12006A for <ntp@ietf.org>; Wed, 29 May 2019 03:17:03 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5B33B30C31A1; Wed, 29 May 2019 10:16:58 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2C7269303; Wed, 29 May 2019 10:16:56 +0000 (UTC)
Date: Wed, 29 May 2019 12:16:54 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@nwtime.org>
Cc: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <20190529101654.GI11346@localhost>
References: <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org>
User-Agent: Mutt/1.11.3 (2019-02-01)
X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 29 May 2019 10:17:03 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/O2ilYnnxIJa8jtUk5bwiqOHufZA>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:17:05 -0000

On Wed, May 29, 2019 at 03:02:49AM -0700, Harlan Stenn wrote:
> On 5/29/2019 2:39 AM, Ulrich Windl wrote:
> >>>> Harlan Stenn <stenn@nwtime.org> schrieb am 29.05.2019 um 11:31 in
> > Nachricht
> >> - the window of time where an attack is possible starts when the client
> >>   sends its request, and ends when a valid response is received.

The attacker can prevent the valid responses from being received or
processed simply by sending the client more packets that it can
handle.

> OK, so what?  Low end normal machines might handle 2k packets/second,
> and low end slow machines are lucky to be able to handle 200 packets per
> second.

Your figures are off by several orders of magnitude.

I suspect the attack is practical, at least for clients using only one
server, but nobody has tried it (and published the results) yet.

-- 
Miroslav Lichvar


From nobody Wed May 29 03:21:26 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B4DD120092 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:21:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 nGMgOMjy90Rz for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:21:23 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BF87E12003E for <ntp@ietf.org>; Wed, 29 May 2019 03:21:23 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DRZW43SJzL7T; Wed, 29 May 2019 10:21:23 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <f03dbfbd-007a-fa81-f846-85079a59dddd@si6networks.com> <c4384ecc-2711-3479-df21-d6533f438418@ntp.org> <5CEE4B90020000A1000317F4@gwsmtp.uni-regensburg.de> <5CEE4B90020000A1000317F4@gwsmtp.uni*regensburg.de> <9418bd6d-a830-311f-2392-02999df3c153@nwtime.org> <5CEE5344020000A1000317F9@gwsmtp.uni-regensburg.de> <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org> <5CEE5B59020000A1000317FE@gwsmtp.uni-regensburg.de>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkxJMyH2th7q0Nmz3aX4A0K4yE0Ba9/5Dr7ctpF15BrMF aEo4s5lwI6tUnkgMWo265mMzCz4mAPV/ac0w0OXQg7r9E2r0+dRapnzUlG43D0JLDqDr9uRR L6IrRQqoCWUC75lfmPYQYSlaTJaK68r3lXd0z1cXJUgVtEL5H3/Z71R2B20twcQVAnw2iIH6 L5vdrsIjHrMmkqRVbs9nNyEAEQEAAbQ5SGFybGFuIFN0ZW5uIChOZXR3b3JrIFRpbWUgRm91 bmRhdGlvbikgPHN0ZW5uQG53dGltZS5vcmc+iQG5BBMBAgAjBQJSNsblAhsvBwsJCAcDAgEG FQgCCQoLBBYCAwECHgECF4AACgkQyIwAt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IAjJPCwmSgQ8Kl0UJ
Message-ID: <f85d5a38-cd39-8ebc-baad-daedbdee7992@nwtime.org>
Date: Wed, 29 May 2019 03:21:20 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <5CEE5B59020000A1000317FE@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/5G9JYZoW0zRocATR-TtNmzK8tRg>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:21:25 -0000

On 5/29/2019 3:13 AM, Ulrich Windl wrote:
>>>> Harlan Stenn <stenn@nwtime.org> schrieb am 29.05.2019 um 12:02 in Nachricht
> <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org>:
> 
> 
> [...]
>> That also assumes the client has the correct time.  If somebody is using
>> SNTP, this assumption may be wrong, and the client's time could well be
>> off by much more.  At 33 bits, we're talking about 2 seconds.  If the
>> client might be off by 4-8 minutes then we're talking about 41 bits.
> 
> Do you really think someone planning to attack NTP will start with a clock that is  minutes off the correct time?

An SNTP client, certainly.

But even one that is off by seconds still adds random bits.

And if the client doesn't care if the server can see its time, the
origin timestamp could be completely random.

>>>>
>>>> And remember that:
>>>>
>>>> - the window of time where an attack is possible starts when the client
>>>>   sends its request, and ends when a valid response is received.
>>>
>>> An attacker will probably "spray" attacking packets.
>>
>> OK, so what?  Low end normal machines might handle 2k packets/second,
>> and low end slow machines are lucky to be able to handle 200 packets per
>> second.
> 
> It there a difference between the client being overloaded with attack packets that are "wrong" or attack packets that are "correct"? I was arguing that "enough packets" could easily be created, while you argue the client can't handle them.

Yes.  A correct packet that is correct will satisfy SNTP, and will close
the loopback test gate for NTP.  In the latter case, any further
received packets will be logged, and if they contain a bad MAC will
cause the transmission of a CRYPTO-NAK.

>>>> - a competent client will log bogus responses, at least during this
>>>>   window, and if the client is NTP as opposed to SNTP, will log
>>>>   *any* bogus received packets.
>>>
>>> The point is whether logging unexpected packets actually opens a DoS 
>> windows.
>>
>> That's something logging systems can reasonably be expected to handle,
>> and it's also reasonable to assume that if somebody goes to the trouble
>> to log these events they're also alerting on them.
> 
> Yeah: Filesystem full ;-)

If one does a poor job of managing log files, yes.

"Blessed are those who get what they deserve."

"Live and learn."

These possibilities have been understood for decades, and there are
known ways to address them.

> [...]
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 03:23:29 2019
Return-Path: <hmurray@megapathdsl.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 530A012009E for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:23:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.035
X-Spam-Level: *
X-Spam-Status: No, score=1.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 c75J2VVJNyQo for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:23:27 -0700 (PDT)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id 7422D12003E for <ntp@ietf.org>; Wed, 29 May 2019 03:23:27 -0700 (PDT)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 5241540605C; Wed, 29 May 2019 03:23:25 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
cc: "ntp@ietf.org" <ntp@ietf.org>, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> of "Wed, 29 May 2019 11:39:16 +0200." <5CEE5344020000A1000317F9@gwsmtp.uni-regensburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 29 May 2019 03:23:25 -0700
Message-Id: <20190529102325.5241540605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/TZCTK-B9p1v1Il-PiwZid-vaigU>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:23:28 -0000

Ulrich.Windl@rz.uni-regensburg.de said:
> I agree, but please don't treat it as 64-bit random value that is to be
> guessed. 

It looks like 64 bits to me.  You don't need to put an actual time in that 
slot.  Save the time, get a random number.  Put it in the packet and save it 
too.  When a reply arrives, compare the "time stamp" in the packet with the 
saved random number.  If they match, process using the saved time.

There was a draft describing that a year or so ago.


-- 
These are my opinions.  I hate spam.




From nobody Wed May 29 03:28:18 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 072771200EA for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:28:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 M9lj6-zBZDzw for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:28:15 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4048F12009E for <ntp@ietf.org>; Wed, 29 May 2019 03:28:15 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DRkQ6LqBzL7T; Wed, 29 May 2019 10:28:14 +0000 (UTC)
To: ntp@ietf.org
References: <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org> <20190529101654.GI11346@localhost>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkxJMyH2th7q0Nmz3aX4A0K4yE0Ba9/5Dr7ctpF15BrMF aEo4s5lwI6tUnkgMWo265mMzCz4mAPV/ac0w0OXQg7r9E2r0+dRapnzUlG43D0JLDqDr9uRR L6IrRQqoCWUC75lfmPYQYSlaTJaK68r3lXd0z1cXJUgVtEL5H3/Z71R2B20twcQVAnw2iIH6 L5vdrsIjHrMmkqRVbs9nNyEAEQEAAbQ5SGFybGFuIFN0ZW5uIChOZXR3b3JrIFRpbWUgRm91 bmRhdGlvbikgPHN0ZW5uQG53dGltZS5vcmc+iQG5BBMBAgAjBQJSNsblAhsvBwsJCAcDAgEG FQgCCQoLBBYCAwECHgECF4AACgkQyIwAt1pH+kBlzgv/QOg70vdj8wU/z97UPdlbxtN4THAB gfSX4N0VPKT5fjX1tFhuXZQAOv7wedR3Trh7TGteyg33TBAFf9A42mXZKi1IxAiQG118Hd8I 51rXwnugURIYQaIyQI+vbchRbwVyz+mVLTI/h6FdbsVzT4UFmir+ZMkb/XeZPu0HItk4OZHE 6hk+TuTiCnlqlCPLq371fXV54VOb91WZYD8EQFt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Tj7uLr6HZZvMZ5em+IvrOWEuWDI6yOiI6px04w RDfkoR2h6kgdw4V0PT4NjK9WYYKrVCf1bjLlVImNBEcXfvlUTrIYO8y6ptvoUsBQky5pQRvP 99Pn42WfyLy50aII6+vyudD4T0yLjXAz4KteUttxtIte64m/F9/7GEIZAxTUcLyOq/7bP4le h39jBckwc62iYzeK/VkU/bMMh2D68Z3QylMnhhcW27BcgQHPKsHhmFa2SNytYcuQiSdf9+pj 4i32ETz1nJAvYAAqgTF/0PL+8ZNQoEpe/n9woMKrlZrqD4EgFmhQ3bNVhlaXz1nuTZDrwPt1 yMxBuUNbCF4jFnaruwrSiGTRoIfUZQwAjQglahrV4/mcjfnvbNoseHX0PKd9q+wjg7MIjWqr f2CI8Fa6MdanqwYphz43I2yXANKFZuMWsWqyQYlvGuPUlUUcAL3stp24RkzDB1Q+JS0IZJST T2JSu0aTfUdWVNqr2UI19eX+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <06d628cc-12b1-4a5d-1b17-5d5be5b95881@nwtime.org>
Date: Wed, 29 May 2019 03:28:12 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <20190529101654.GI11346@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/rpgsKoWeabm8g97w-3GUvJuE3UA>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:28:17 -0000

On 5/29/2019 3:16 AM, Miroslav Lichvar wrote:
> On Wed, May 29, 2019 at 03:02:49AM -0700, Harlan Stenn wrote:
>> On 5/29/2019 2:39 AM, Ulrich Windl wrote:
>>>>>> Harlan Stenn <stenn@nwtime.org> schrieb am 29.05.2019 um 11:31 in
>>> Nachricht
>>>> - the window of time where an attack is possible starts when the client
>>>>   sends its request, and ends when a valid response is received.
> 
> The attacker can prevent the valid responses from being received or
> processed simply by sending the client more packets that it can
> handle.

"Can" or "might"?

If a client is both dumb about this and isn't using MAC protection, then
how can the user claim they want to put any trust in the time on the
target box?

>> OK, so what?  Low end normal machines might handle 2k packets/second,
>> and low end slow machines are lucky to be able to handle 200 packets per
>> second.
> 
> Your figures are off by several orders of magnitude.
> 
> I suspect the attack is practical, at least for clients using only one
> server, but nobody has tried it (and published the results) yet.

I checked my numbers a week or so ago.

Even if I'm wrong by as much as you claim, anybody who cares can easily:

- report the incoming bogus transmit timestamp packets
- report the incoming bogus MAC packets

and if time is that important, if they're running unprotected SNTP
clients on their edge then maybe they should be getting time from a
trusted source at their edge and not going to the internet for time.

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 03:29:35 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8451112009E for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:29:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 9fSKfAbqNhyu for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 03:29:32 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8AE412003E for <ntp@ietf.org>; Wed, 29 May 2019 03:29:32 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DRlw4NRBzL7T; Wed, 29 May 2019 10:29:32 +0000 (UTC)
To: ntp@ietf.org
References: <20190529102325.5241540605C@ip-64-139-1-69.sjc.megapath.net>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2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lZrqD4EgFmhQ3bNVhlaXz1nuTZDrwPt1 yMxBuUNbCF4jFnaruwrSiGTRoIfUZQwAjQglahrV4/mcjfnvbNoseHX0PKd9q+wjg7MIjWqr f2CI8Fa6MdanqwYphz43I2yXANKFZuMWsWqyQYlvGuPUlUUcAL3stp24RkzDB1Q+JS0IZJST T2JSu0aTfUdWVNqr2UI19eX+zxbOTckSi3Ng14ezG8ZX194ZH10b8JzntQOwmA20pd5JDhug zQfASER+CZDiPPcQ4mvC4y7rMrfV6XGQbDynC3ekDxo8SC5SvjaczXMwXg6SZ8iFtEWmEwW9 r7zPjjIPDrX8w5LXBgxArM5o/HbERpc2EdAvMh1D7LC0SvmoE7fBKxsicVBe4h6vXjEZ+LLr /wuZiBld9OnxAUIpwptbBspO6WKTQYvgFH2OeDG27hiE5P4Xs4WSp5j9ez8OVB1iZnA2nCQ+ tNTjO8c+C/P92vPLx5+bpGRXTXMNaLh34PS3ZsYoUDkKZNhczRZUWJ7nynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <60a94bc9-4355-46d9-f6bd-2b54c5ef39b1@nwtime.org>
Date: Wed, 29 May 2019 03:29:31 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <20190529102325.5241540605C@ip-64-139-1-69.sjc.megapath.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/A5Exzrvk-KSw6QtR3P_1cvmkxYw>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 10:29:35 -0000

On 5/29/2019 3:23 AM, Hal Murray wrote:
> 
> Ulrich.Windl@rz.uni-regensburg.de said:
>> I agree, but please don't treat it as 64-bit random value that is to be
>> guessed. 
> 
> It looks like 64 bits to me.  You don't need to put an actual time in that 
> slot.  Save the time, get a random number.  Put it in the packet and save it 
> too.  When a reply arrives, compare the "time stamp" in the packet with the 
> saved random number.  If they match, process using the saved time.
> 
> There was a draft describing that a year or so ago.

It's certainly a choice.

One that would prevent a friendly server from knowing how far off the
client's time really is.

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 04:03:36 2019
Return-Path: <mlichvar@redhat.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A3616120106 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 04:03:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 aE_F0sgeIvVv for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 04:03:33 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 21B8A12008D for <ntp@ietf.org>; Wed, 29 May 2019 04:03:33 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 889B67E426; Wed, 29 May 2019 11:03:22 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D49D4611CD; Wed, 29 May 2019 11:03:19 +0000 (UTC)
Date: Wed, 29 May 2019 13:03:18 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@nwtime.org>
Cc: ntp@ietf.org
Message-ID: <20190529110318.GK11346@localhost>
References: <92e2c1f9-a745-c182-6194-c7ce819c8a3c@nwtime.org> <20190529101654.GI11346@localhost> <06d628cc-12b1-4a5d-1b17-5d5be5b95881@nwtime.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <06d628cc-12b1-4a5d-1b17-5d5be5b95881@nwtime.org>
User-Agent: Mutt/1.11.3 (2019-02-01)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 29 May 2019 11:03:27 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/3h7mxxyzk6AcXNE50UY4Xn-4WW0>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 11:03:35 -0000

On Wed, May 29, 2019 at 03:28:12AM -0700, Harlan Stenn wrote:
> If a client is both dumb about this and isn't using MAC protection, then
> how can the user claim they want to put any trust in the time on the
> target box?

There is a difference between off-path attacks and MITM attacks. I
think it's not unreasonable to expect the unauthenticated
client/server mode (unlike the symmetric mode) to be resilient against
off-path attacks.

> Even if I'm wrong by as much as you claim, anybody who cares can easily:
> 
> - report the incoming bogus transmit timestamp packets
> - report the incoming bogus MAC packets

That opens a possibility for a DoS attack on the logging mechanism or
the admin/user.

-- 
Miroslav Lichvar


From nobody Wed May 29 04:06:12 2019
Return-Path: <tglassey@earthlink.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90D9C120106 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 04:06:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.135
X-Spam-Level: 
X-Spam-Status: No, score=-2.135 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.415, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earthlink.net; domainkeys=pass (2048-bit key) header.from=tglassey@earthlink.net header.d=earthlink.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 onfzfkklRJAB for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 04:06:07 -0700 (PDT)
Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) (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 CAC3012008D for <ntp@ietf.org>; Wed, 29 May 2019 04:06:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1559127967; bh=C3kiRb4ssVK10RqwXaVDSKeq9/0BqgPomKvO 4UukVI8=; h=Received:To:From:Subject:Date:MIME-Version:Content-Type: Message-ID:X-ELNK-Trace:X-Originating-IP; b=YqdDNgd6hylEMYn2OZQgoj iBu0xmkV3AW5fi7lbdMGRLcxTVmhBADqx2S4c0Pm+2dh6/y7gKo8HyDba3ggZjlS/Z9 dXu2cFuT0tjkg0uZ6gqS70VB0YHRQDPuEaae+kgDSveMvMrxJivPGILdr4/Hklc1QSu CRpWiMxqlW5khNZTeEkSU9CNAp9Bsy7TC3EqbZ725Zp/D+czJsmF8Sqd/k9YMfevmVF m4SYkXYgKYzKMIBULWSgofNjHtAt5mOyb16EGbZX7QD8MYG5YhZmarecBqAxET8UzHD csr+U+dx94szsKa9NQlNSQXLMOhcU1DuvJHahc0uhelOTe1VVK4w==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=nIjWjr3vL2yyKGAtQjGOWN65Zm1jlf92vyfaJtD2UWqS9/pODZ6llpUNpx9d59B65yUoHdqbCJAJBAagWUTzpSHAAV08VQhEisVONG01LjakR5YnRWrJdfF4PSjAQiOOZdLiUTDzANI5ydCqCkASWDYWrBpzFpOEb/+JHbAqhspLyhf+im24xcptxD+gcJebo0YmtLroP7pGtwg56nTySHfOacuarQaPVHo38+2EAOTZRvhHApqNel7l+EmQIBzJUA2gEQV4PCLmhgVm3ZQpz3HvbqAh1hyTcEoSOOXc6PISiGY5idkcUa9IrzCtWtwPUp/O3NKRFY4Uvfdm5UHWvA==; h=Received:To:From:Subject:Date:MIME-Version:Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP;
Received: from [86.57.143.48] (helo=[100.96.204.22]) by elasmtp-kukur.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from <tglassey@earthlink.net>) id 1hVwPF-000GeU-TQ; Wed, 29 May 2019 07:06:06 -0400
To: "=?utf-8?B?SGFybGFuIFN0ZW5u?=" <stenn@nwtime.org>,ntp@ietf.org
From: "=?utf-8?B?dGdsYXNzZXlAZWFydGhsaW5rLm5ldA==?=" <tglassey@earthlink.net>
Date: Wed, 29 May 2019 14:06:05 +0300
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_0_1559127965619"
Message-ID: <E1hVwPF-000GeU-TQ@elasmtp-kukur.atl.sa.earthlink.net>
X-ELNK-Trace: 01b7a7e171bdf5911aa676d7e74259b7b3291a7d08dfec7984639b35583f456e0899f7443a4d9a19350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 86.57.143.48
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/4UfdbpOYHn_Lj5oig0JZQMEuKLk>
Subject: Re: [Ntp]  =?utf-8?q?New_rev_of_the_NTP_port_randomization_I-D_=28Fwd?= =?utf-8?q?=3A_New_Version_Notification_for_draft-gont-ntp-port-randomizat?= =?utf-8?q?ion-01=2Etxt=29?=
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 11:06:11 -0000

------=_Part_0_1559127965619
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

UG9zc2libHkuIElmIHRoZSBDbGlldCBoYXMgYSBwb2xpY3kgaW50ZXJmYWNlIHdoaWNoIGNhbiB0
cmlnZ2VyIGFsYXJtcyBvbiBiZWluZyBhdHRhY2tlZCwgdGhlbiB5ZXMuICBJZiBub3QgaXRzIHBv
c3NpYmx5IGp1c3QgYSBmZWF0dXJlIHdoaWNoIHdpbGwgZ2V0IGxpdHRsZSB1c2UuIAoKU3RpbGwg
dGhlcmUgYXJlIGNhc2VzIHdoZXJlIGl0IGNvdWxkIGJlIGludGVyZXN0aW5nLgoKU2VudCBmcm9t
IG15IEhUQywgc28gcGxlYXNlIGV4Y3VzZSBhbnkgdHlwb3MuCgotLS0tLSBSZXBseSBtZXNzYWdl
IC0tLS0tCkZyb206ICJIYXJsYW4gU3Rlbm4iIDxzdGVubkBud3RpbWUub3JnPgpUbzogInRnbGFz
c2V5QGVhcnRobGluay5uZXQiIDx0Z2xhc3NleUBlYXJ0aGxpbmsubmV0PiwgPG50cEBpZXRmLm9y
Zz4KU3ViamVjdDogW050cF0gTmV3IHJldiBvZiB0aGUgTlRQIHBvcnQgcmFuZG9taXphdGlvbiBJ
LUQgKEZ3ZDogTmV3IFZlcnNpb24gTm90aWZpY2F0aW9uIGZvciBkcmFmdC1nb250LW50cC1wb3J0
LXJhbmRvbWl6YXRpb24tMDEudHh0KQpEYXRlOiBXZWQsIE1heSAyOSwgMjAxOSAwOTowNgoKT24g
NS8yOC8yMDE5IDEwOjU4IFBNLCB0Z2xhc3NleUBlYXJ0aGxpbmsubmV0IHdyb3RlOgo+IFllcyBI
YXJsZW4gaWYgeW91IGtub3cgeW91IGFyZSBiZWluZyBhdHRhY2tlZCB0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11bHRpcGxlIE5UUCBjbGllbnRzIGJlaGluZCBhIE5BVCBib3guCj4gCj4gTm9ib2R5
IHNlZW1zIHRvIGJlIHNheWluZyB0aGVyZSBpcyBiZW5lZml0IHRvICpvbmx5KiB1c2luZyB0aGUK
PiB3ZWxsLWtub3duIHBvcnQgbnVtYmVyIHdoZW4gc2VuZGluZyBhIGNsaWVudCByZXF1ZXN0LiAg
UGVvcGxlIGFyZSBzYXlpbmcKPiB0aGF0IHJlcXVpcmluZyB0aGlzIGluIGFsbCBjYXNlcyBkb2Vz
bid0IGJ1eSBhbnkgc2lnbmlmaWNhbnQgYmVuZWZpdC4KPiAKPiBPZiBjb3Vyc2UgaXQncyBmaW5l
IGlmIE5UUCBjbGllbnQgZ29lcyB0aHJ1IGEgTkFUIGdhdGV3YXkuCj4gCj4gU28gaGVyZSdzIGEg
cmVsYXRlZCBxdWVzdGlvbiBmb3IgeW91Ogo+IAo+IElzIHRoZXJlIGJlbmVmaXQgdG8ga25vd2lu
ZyBpZiB5b3UgYXJlIGJlaW5nIGF0dGFja2VkPwo+IAo+PiBUaGFua3MsCj4gCj4gLS0gCj4gSGFy
bGFuIFN0ZW5uLCBOZXR3b3JrIFRpbWUgRm91bmRhdGlvbgo+IGh0dHA6Ly9ud3RpbWUub3JnIC0g
YmUgYSBNZW1iZXIhCj4gCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18KPiBudHAgbWFpbGluZyBsaXN0Cj4gbnRwQGlldGYub3JnCj4gaHR0cHM6Ly93d3cu
aWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9udHAKPiAKCi0tIApIYXJsYW4gU3Rlbm4sIE5ldHdv
cmsgVGltZSBGb3VuZGF0aW9uCmh0dHA6Ly9ud3RpbWUub3JnIC0gYmUgYSBNZW1iZXIh


------=_Part_0_1559127965619
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

PGRpdiBzdHlsZT0iZm9ud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F0ZWQgcXVlc3Rp
b24gZm9yIHlvdToKJmd0OyAKJmd0OyBJcyB0aGVyZSBiZW5lZml0IHRvIGtub3dpbmcgaWYgeW91
IGFyZSBiZWluZyBhdHRhY2tlZD8KJmd0OyAKJmd0OyZndDsgVGhhbmtzLAomZ3Q7IAomZ3Q7IC0t
IAomZ3Q7IEhhcmxhbiBTdGVubiwgTmV0d29yayBUaW1lIEZvdW5kYXRpb24KJmd0OyA8YSBocmVm
PSJodHRwOi8vbnd0aW1lLm9yZyI+aHR0cDovL253dGltZS5vcmc8L2E+IC0gYmUgYSBNZW1iZXIh
CiZndDsgCiZndDsgX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18KJmd0OyBudHAgbWFpbGluZyBsaXN0CiZndDsgbnRwQGlldGYub3JnCiZndDsgPGEgaHJlZj0i
aHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9udHAiPmh0dHBzOi8vd3d3Lmll
dGYub3JnL21haWxtYW4vbGlzdGluZm8vbnRwPC9hPgomZ3Q7IAoKLS0gCkhhcmxhbiBTdGVubiwg
TmV0d29yayBUaW1lIEZvdW5kYXRpb24KPGEgaHJlZj0iaHR0cDovL253dGltZS5vcmciPmh0dHA6
Ly9ud3RpbWUub3JnPC9hPiAtIGJlIGEgTWVtYmVyIQo8L3ByZT48L2Rpdj4=


------=_Part_0_1559127965619--


From nobody Wed May 29 04:07:52 2019
Return-Path: <tglassey@earthlink.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3D2B12011B for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 04:07:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.135
X-Spam-Level: 
X-Spam-Status: No, score=-2.135 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.415, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earthlink.net; domainkeys=pass (2048-bit key) header.from=tglassey@earthlink.net header.d=earthlink.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 NawFpODQH-Xd for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 04:07:47 -0700 (PDT)
Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) (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 C5517120111 for <ntp@ietf.org>; Wed, 29 May 2019 04:07:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1559128067; bh=+9/ffIH42V8CpvFSinSHkitqU/4nWEhTYK6j xAuhJ4Q=; h=Received:To:From:Cc:Subject:Date:MIME-Version: Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP; b=K0VbKk4Ge RrLqP4UJgQ/RMHxaU2s3zr1SDLzo2jund7oWpu3AW3gDVxiKZwERGkaEgAgjIoqYP1u 8y6R0WzCpa5+E3+AoYjhOzUybmDa+RHKvcp30DQiMgDX8Tai+/bzM7RtNoNUudrtVYj pX1i0G/F/suEj5CuT/jE5Ubw10QmSEZ0uPtWo1FQTk1CizohMiaajy6+zfnJ5G+XVmQ t0DMSMkhrxR8cwCWxpzM2WScgtIVbscXvtzY1Meh4NT/wBFGjYynxuzHnJ/icRgVK+s V73t5euyUvKsH6n36iK93ClWs5f6iu31ZtcHRRuB0DdUy3Z+nymKsDhqvuTa2g58Q==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=I8RUEM9TY7nhdVe1o9pgRNWEt3AIjcOh7mLqujgMvMEKJwuiRoHeZFmkDPh0QTlcYFoK4fjVQ4/TzxH1dB8sjt3KNiUKAh1eTorylh08h+rW56uVT6VdzhhhA6apd2V5tMIEYBjC3hPioQnRETnnlKMV8IrRxaMaJh21m/qbm9ShMev7vJ+vd7EOfb41QGkunZCcbYqpNbG4jbbUqBEYB1lDvC4lTFK6L2KgKjJr/GhvzyeGZZkVflVA9cM6xxJ8zWa8zbP1dZba/wk0y9sSuqiPco75PGV3g0H7jcMo+Gm+RwVIx6XPqDkkn0cyUaVIPVyWfG2ECtf11OAyhyYcKA==; h=Received:To:From:Cc:Subject:Date:MIME-Version:Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP;
Received: from [86.57.143.48] (helo=[100.96.204.22]) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from <tglassey@earthlink.net>) id 1hVwQn-0004az-Qz; Wed, 29 May 2019 07:07:42 -0400
To: "=?utf-8?B?RmVybmFuZG8gR29udA==?=" <fgont@si6networks.com>, "=?utf-8?B?TWFqZGkgUy4gQWJiYXM=?=" <msa@latt.net>
From: "=?utf-8?B?dGdsYXNzZXlAZWFydGhsaW5rLm5ldA==?=" <tglassey@earthlink.net>
Cc: ntp@ietf.org,"=?utf-8?B?R2FyeSBFLiBNaWxsZXI=?=" <gem@rellim.com>
Date: Wed, 29 May 2019 14:07:41 +0300
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_0_1559128061566"
Message-ID: <E1hVwQn-0004az-Qz@elasmtp-mealy.atl.sa.earthlink.net>
X-ELNK-Trace: 01b7a7e171bdf5911aa676d7e74259b7b3291a7d08dfec799e764b2e70756b7cae62412f04c86d92350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 86.57.143.48
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/JCxphuVMVAdliOFfVEcTgHcqKI0>
Subject: Re: [Ntp]  =?utf-8?q?New_rev_of_the_NTP_port_randomization_I-D_=28Fwd?= =?utf-8?q?=3A_New_Version_Notification_for_draft-gont-ntp-port-randomizat?= =?utf-8?q?ion-01=2Etxt=29?=
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 11:07:50 -0000

------=_Part_0_1559128061566
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

Tm8gcHJvYmxlbS4gSXQgbWlnaHQgYWxzbyBiZSBpbnRlcmVzdGluZyB0byBwcm9wb3NlIHBvcnRz
IGFzIHdlbGwgYXMgcGFydCBvZiB0aGUgcmVxdWVzdC4gCgovL3RzZwoKU2VudCBmcm9tIG15IEhU
Qywgc28gcGxlYXNlIGV4Y3VzZSBhbnkgdHlwb3MuCgotLS0tLSBSZXBseSBtZXNzYWdlIC0tLS0t
CkZyb206ICJGZXJuYW5kbyBHb250IiA8ZmdvbnRAc2k2bmV0d29ya3MuY29tPgpUbzogInRnbGFz
c2V5QGVhcnRobGluay5uZXQiIDx0Z2xhc3NleUBlYXJ0aGxpbmsubmV0PiwgIk1hamRpIFMuIEFi
YmFzIiA8bXNhQGxhdHQubmV0PgpDYzogPG50cEBpZXRmLm9yZz4sICJHYXJ5IEUuIE1pbGxlciIg
PGdlbUByZWxsaW0uY29tPgpTdWJq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19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpudHAgbWFpbGluZyBsaXN0Cm50
cEBpZXRmLm9yZwpodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL250cA==


------=_Part_0_1559128061566
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6ICdDYWxpYnJpJywgJ3NhbnMtc2VyaWYnOyI+PGRpdiBk
aXI9Imx0ciI+CjxkaXYgZGlyPSJsdHIiPk5vIHByb2JsZW0uIEl0IG1pZ2h0IGFsc28gYmUgaW50
ZXJlc3RpbmcgdG8gcHJvcG9zZSBwb3J0cyBhcyB3ZWxsIGFzIHBhcnQgb2YgdGhlIHJlcXVlc3Qu
Jm5ic3A7PC9kaXY+PGRpdiBkaXI9Imx0ciI+PGJyPjwvZGl2PjxkaXYgZGlyPSJsdHIiPi8vdHNn
PC9kaXY+PGRpdiBkaXI9Imx0ciI+PGJyPjwvZGl2PjxkaXYgZGlyPSJsdHIiPjxkaXYgZGlyPSJs
dHIiPlNlbnQgZnJvbSBteSBIVEMsIHNvIHBsZWFzZSBleGN1c2UgYW55IHR5cG9zLjwvZGl2Pjwv
ZGl2PgoKPC9kaXY+PGJyPjxkaXYgaWQ9Imh0Y19oZWFkZXIiPi0tLS0tIFJlcGx5IG1lc3NhZ2Ug
LS0tLS08YnI+RnJvbTogJnF1b3Q7RmVybmFuZG8gR29udCZxdW90OyAmbHQ7ZmdvbnRAc2k2bmV0
d29ya3MuY29tJmd0Ozxicj5UbzogJnF1b3Q7dGdsYXNzZXlAZWFydGhsaW5rLm5ldCZxdW90OyAm
bHQ7dGdsYXNzZXlAZWFydGhsaW5rLm5ldCZndDssICZxdW90O01hamRpIFMuIEFiYmFzJnF1b3Q7
ICZsdDttc2FAbGF0dC5uZXQmZ3Q7PGJyPkNjOiAmbHQ7bnRwQGlldGYub3JnJmd0OywgJn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cmsgKHN0YXRlZnVsIGZpbHRlcmluZyku
CgpUaGFua3MsCi0tIApGZXJuYW5kbyBHb250ClNJNiBOZXR3b3JrcwplLW1haWw6IGZnb250QHNp
Nm5ldHdvcmtzLmNvbQpQR1AgRmluZ2VycHJpbnQ6IDY2NjYgMzFDNiBENDg0IDYzQjIgOEZCMSBF
M0M0IEFFMjUgMEQ1NSAxRDRFIDc0OTIKCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fCm50cCBtYWlsaW5nIGxpc3QKbnRwQGlldGYub3JnCjxhIGhyZWY9
Imh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vbnRwIj5odHRwczovL3d3dy5p
ZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL250cDwvYT4KPC9wcmU+PC9kaXY+


------=_Part_0_1559128061566--


From nobody Wed May 29 05:20:14 2019
Return-Path: <hmurray@megapathdsl.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 194181200E3 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 05:20:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.035
X-Spam-Level: *
X-Spam-Status: No, score=1.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 EWjA4MReU_yc for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 05:20:10 -0700 (PDT)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id 02B881200C1 for <ntp@ietf.org>; Wed, 29 May 2019 05:20:09 -0700 (PDT)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 47B8840605C; Wed, 29 May 2019 05:20:00 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Harlan Stenn <stenn@nwtime.org>
cc: ntp@ietf.org, hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Harlan Stenn <stenn@nwtime.org> of "Wed, 29 May 2019 03:29:31 PDT." <60a94bc9-4355-46d9-f6bd-2b54c5ef39b1@nwtime.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 29 May 2019 05:20:00 -0700
Message-Id: <20190529122000.47B8840605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/uyKjxQtvrXejSdaxBAGynPN2sME>
Subject: Re: [Ntp] Antw: Re: Antw: Re: New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 12:20:12 -0000

stenn@nwtime.org said:
> One that would prevent a friendly server from knowing how far off the
> client's time really is. 

Why does a server care about the time on a client?


-- 
These are my opinions.  I hate spam.




From nobody Wed May 29 06:29:13 2019
Return-Path: <tal.mizrahi.phd@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3A6812012C; Wed, 29 May 2019 06:29:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 qUr3ALfeCKK1; Wed, 29 May 2019 06:29:09 -0700 (PDT)
Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AA0012011D; Wed, 29 May 2019 06:29:09 -0700 (PDT)
Received: by mail-qt1-x82b.google.com with SMTP id l3so2522103qtj.5; Wed, 29 May 2019 06:29:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to;  bh=LsFJmY12k64ov45Eb/9TKhzKBIIay+EpET0oJ47brvw=; b=oa7ivGSHGjEyNoVsBfffi2P07CymgEFlibQO5VCYgZreHSlrx/ydMzn1lcdTxP83Dy gwPZY3I0y0jlud5yip5MO/lfiYzHPdAxsts00+RffegFk12awakbklAJx4sMfMNEtYwP Ar0bwcv9E2i8FEIm5LP0+tUPNDuyz4w8m1xBSmLd309LA6gFrkH4b8bCytnQBavZJnDW iorKuouPUjdb7sct8Dl5NLKnEJk1YQU6nglwMqRAs6h0UczGSsSC4rC0ywMVUjcmxlYc U8jXTMkN7UWjX4KCXa4U3nQ4tJ2pgExO99eHEp9wUKcaDuRGYU6inIa/A/q5uGjRIGpW 8Byw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=LsFJmY12k64ov45Eb/9TKhzKBIIay+EpET0oJ47brvw=; b=Sx/XSC3KuBcgLvhlFXwfkczFighSwcQ7x4wBlQoIga1JweQmewqNfkG3RmzDaHz0Iw otJJO78SNvBxX9E5oJZ5vSMmzDMx3n3x703WxU8OlzhURlLSjb23tEHwFegnk3TO+e4m +Jo8hoDzfZkRofbPI5LlMqiDFyCMxrBbfibVjvl6gCgFkPUOO9dsYugk+s/IS3N330MZ QV6oGLqxvx3RzIgWa7zfj8OK54QBKFohcucKe5+Wlk8QYpkn8PSPOyipspFMCyaVXS/o LwGW/ee5qdkInB3kCNDWPrrd9H3239jrMsqkcspTZxt1qdocVPqBAQMc0cgEVgoW/NUl XBJQ==
X-Gm-Message-State: APjAAAXHnoMXXjJ0s2tSj1E8reZW4Zs0aF6msg7OQR31V9SLps0/grVb ceWiNUNY29xlNTQ5jTAvsvC0eZk2hHBBJeGlhf1dY7WPA+8=
X-Google-Smtp-Source: APXvYqxYgV8MnnWz5ST66YsiqGU1+/SkFfhnZHkcAWqviJLpDJvePq20ttKWG55G79/jFobnUYOKIk0BZ8L+GGlSFQk=
X-Received: by 2002:a0c:b929:: with SMTP id u41mr40184722qvf.50.1559136543530;  Wed, 29 May 2019 06:29:03 -0700 (PDT)
MIME-Version: 1.0
References: <155897662160.809.5527655773398720605@ietfa.amsl.com>
In-Reply-To: <155897662160.809.5527655773398720605@ietfa.amsl.com>
From: Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Date: Wed, 29 May 2019 16:28:51 +0300
Message-ID: <CABUE3Xk60A+r5fgs7H7Srkyyn7yX8M0Fyw=jEi8+ifm=KS58vA@mail.gmail.com>
To: ntp@ietf.org, draft-roughtime-aanchal@ietf.org
Content-Type: multipart/alternative; boundary="000000000000d562eb058a06c356"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ZcwRrIHKJScTTD5KQB-TDdQVI8g>
Subject: Re: [Ntp] I-D Action: draft-roughtime-aanchal-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 13:29:12 -0000

--000000000000d562eb058a06c356
Content-Type: text/plain; charset="UTF-8"

Dear authors,

Thanks for updating the draft. The new text in the Introduction is highly
appreciated, and addresses some of the concerns I raised.

Comments:
1. The document is still missing a threat analysis. There should probably
be a dedicated section that describes the threats that are and are not
solved by Roughtime.
2. In IETF 104 the authors and Kristof explained that delay attacks are
mitigated by measuring the RTT and comparing it to a pre-configured upper
bound. This should be described in the draft.
3. The draft should discuss upper bounds on how "bad" a server can be
without being detected as a falseticker.

Some proposed text follows.

Cheers,
Tal.


Here is some (preliminary) proposed text for (2) above:

Although delay attacks cannot be prevented, they can be limited to a
predetermined upper bound. This can be done by defining a maximal tolerable
RTT value, MAX-RTT, that a client is willing to accept. A Roughtime client
can measure the RTT of every request-response handshake and compare it to
MAX-RTT; if the RTT exceeds MAX-RTT, the corresponding server is assumed to
be a falseticker. When this approach is used the maximal time error that
can be caused by a delay attack is MAX-RTT/2. It should be noted that this
approach assumes that the nature of the system is known to the client,
including reasonable upper bounds on the RTT value.


Here is a preliminary proposal for some text for (3) above (needs to be
reviewed and discussed):

As discussed in the introduction, the absence of proof of malfeasance does
not indicate that all the servers are "good". However, if the Roughtime
mechanism indicates that all servers are well-behaved then Roughtime
timestamps can be used to compute an upper bound on the time error of a
potential falseticker. For example, for a given set of responses (r_1, r_2,
r_3) from three servers, if it is guaranteed that server 1 and server 3 are
truechimers, then the client has an upper bound on the time error that may
be caused by the reply from server 2, as the timestamp of server 2 is
bounded by the timestamps of server 1 and server 3. Thus, the time error
from server 2 cannot exceed:

max{MIDP_3 - MIDP_2 + RADI_3 + RADI_2,
    MIDP_2 - MIDP_1 + RADI_2 + RADI_1}.

More generally, if n servers are used in the protocol, and for a given set
of responses (r_1, r_2, ..., r_n, r_1'), if server 1 is guaranteed to be a
truechimer, then the time error that may be caused by each of the servers
2, 3, ..., n is bounded by:

MIDP_1' - MIDP_1 + 2*RADI_1


On Mon, May 27, 2019 at 8:03 PM <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> This draft is a work item of the Network Time Protocol WG of the IETF.
>
>         Title           : Roughtime
>         Authors         : Aanchal Malhotra
>                           Adam Langley
>                           Watson Ladd
>         Filename        : draft-roughtime-aanchal-02.txt
>         Pages           : 11
>         Date            : 2019-05-27
>
> Abstract:
>    This document specifies Roughtime - a protocol that aims to achieve
>    rough time synchronization while detecting servers that provide
>    inaccurate time and providing cryptographic proof of their
>    malfeasance.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-roughtime-aanchal/
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-roughtime-aanchal-02
> https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-02
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-roughtime-aanchal-02
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--000000000000d562eb058a06c356
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear authors,<br><br>Thanks for updating the draft. The ne=
w text in the Introduction is highly appreciated, and addresses some of the=
 concerns I raised.<br><br>Comments:<br>1. The document is still missing a =
threat analysis. There should probably be a dedicated section that describe=
s the threats that are and are not solved by Roughtime.<br>2. In IETF 104 t=
he authors and Kristof explained that delay attacks are mitigated by measur=
ing the RTT and comparing it to a pre-configured upper bound. This should b=
e described in the draft.<br>3. The draft should discuss upper bounds on ho=
w &quot;bad&quot; a server can be without being detected as a falseticker.<=
br><br>Some proposed text follows.<br><br>Cheers,<br>Tal.<br><br><br>Here i=
s some (preliminary) proposed text for (2) above:<br><br>Although delay att=
acks cannot be prevented, they can be limited to a predetermined upper boun=
d. This can be done by defining a maximal tolerable RTT value, MAX-RTT, tha=
t a client is willing to accept. A Roughtime client can measure the RTT of =
every request-response handshake and compare it to MAX-RTT; if the RTT exce=
eds MAX-RTT, the corresponding server is assumed to be a falseticker. When =
this approach is used the maximal time error that can be caused by a delay =
attack is MAX-RTT/2. It should be noted that this approach assumes that the=
 nature of the system is known to the client, including reasonable upper bo=
unds on the RTT value.<br><br><br>Here is a preliminary proposal for some t=
ext for (3) above (needs to be reviewed and discussed):<br><br>As discussed=
 in the introduction, the absence of proof of malfeasance does not indicate=
 that all the servers are &quot;good&quot;. However, if the Roughtime mecha=
nism indicates that all servers are well-behaved then Roughtime timestamps =
can be used to compute an upper bound on the time error of a potential fals=
eticker. For example, for a given set of responses (r_1, r_2, r_3) from thr=
ee servers, if it is guaranteed that server 1 and server 3 are truechimers,=
 then the client has an upper bound on the time error that may be caused by=
 the reply from server 2, as the timestamp of server 2 is bounded by the ti=
mestamps of server 1 and server 3. Thus, the time error from server 2 canno=
t exceed: <br><br>max{MIDP_3 - MIDP_2 + RADI_3 + RADI_2, <br>=C2=A0 =C2=A0 =
MIDP_2 - MIDP_1 + RADI_2 + RADI_1}. <br><br>More generally, if n servers ar=
e used in the protocol, and for a given set of responses (r_1, r_2, ..., r_=
n, r_1&#39;), if server 1 is guaranteed to be a truechimer, then the time e=
rror that may be caused by each of the servers 2, 3, ..., n is bounded by:<=
br><br>MIDP_1&#39; - MIDP_1 + 2*RADI_1 <br><br></div><br><div class=3D"gmai=
l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, May 27, 2019 at 8:03=
 PM &lt;<a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.or=
g</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
This draft is a work item of the Network Time Protocol WG of the IETF.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Title=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 Roughtime<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Authors=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Aanc=
hal Malhotra<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Adam Langley<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Watson Ladd<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Filename=C2=A0 =C2=A0 =C2=A0 =C2=A0 : draft-rou=
ghtime-aanchal-02.txt<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Pages=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 11<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Date=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :=
 2019-05-27<br>
<br>
Abstract:<br>
=C2=A0 =C2=A0This document specifies Roughtime - a protocol that aims to ac=
hieve<br>
=C2=A0 =C2=A0rough time synchronization while detecting servers that provid=
e<br>
=C2=A0 =C2=A0inaccurate time and providing cryptographic proof of their<br>
=C2=A0 =C2=A0malfeasance.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-roughtime-aanchal/" rel=
=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/draft-ro=
ughtime-aanchal/</a><br>
<br>
There are also htmlized versions available at:<br>
<a href=3D"https://tools.ietf.org/html/draft-roughtime-aanchal-02" rel=3D"n=
oreferrer" target=3D"_blank">https://tools.ietf.org/html/draft-roughtime-aa=
nchal-02</a><br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-02=
" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/htm=
l/draft-roughtime-aanchal-02</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-roughtime-aanchal-02" =
rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/rfcdiff?url2=3Ddr=
aft-roughtime-aanchal-02</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" rel=3D"noreferrer" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"noreferrer" target=
=3D"_blank">ftp://ftp.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank">ntp@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br>
</blockquote></div>

--000000000000d562eb058a06c356--


From nobody Wed May 29 08:23:35 2019
Return-Path: <mayer@pdmconsulting.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 265401201B8 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 08:23:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 NL8yxf4mZfWa for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 08:23:29 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2AB312017E for <ntp@ietf.org>; Wed, 29 May 2019 08:23:29 -0700 (PDT)
Received: from l34097ous.rpega.com (unknown [198.22.153.130]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45DZH343SQzL7T for <ntp@ietf.org>; Wed, 29 May 2019 15:23:27 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com>
From: Danny Mayer <mayer@pdmconsulting.net>
Message-ID: <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net>
Date: Wed, 29 May 2019 11:23:26 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/WSVTvnJAJXup9WPbdEp_DfwDCfk>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 15:23:33 -0000

On 5/29/19 6:03 AM, Fernando Gont wrote:
> On 29/5/19 05:18, Harlan Stenn wrote:
>> On 5/29/2019 12:17 AM, Fernando Gont wrote:
>>> On 29/5/19 01:20, Harlan Stenn wrote:
>>>>
>>>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
> [....]
>>> Employing predictable numeric IDs is bad practice. The current
>>> requirement (which cannot even be complied to in IPv4-NATed networks)=
,
>>> requires a fixed well-known port for clients. i.e., the spec mandates=

>>> against a BCP (port randomization) and on the well-known concept that=

>>> employing predictable IDs is asking for trouble.
>> By the same token, generally applying rules without fully understandin=
g
>> the costs/benefits and other trade-offs is bad practice.
> I understand that your implementation employs port 123 as the source
> port. You mentioned that makes the code simpler. That's probably also
> the case when using predictable IDs (e.g. resulting from a counter) vs.=

> randomized ones.
>
what predictable ID's? NTP doesn't have a counter.

attackers can send any packets that they want to a port, that's at the
UDP layer. Whether or not the packet is valid is something that the
receiving client is supposed to be checking. Malformed packets are
instantly discarded and invalid origin timestamps are similarly tossed.

Your draft should be stating a useful purpose and the contents needs to
actually fulfill that purpose. All we have so far is some claim about
what port to use without showing how that is better than all of the
other safeguards already built into the NTP protocol.

Danny



From nobody Wed May 29 08:55:33 2019
Return-Path: <watsonbladd@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3604F120113; Wed, 29 May 2019 08:55:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 kRaLI46Nl3Ev; Wed, 29 May 2019 08:55:29 -0700 (PDT)
Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA0EA120004; Wed, 29 May 2019 08:55:28 -0700 (PDT)
Received: by mail-lj1-x22e.google.com with SMTP id z5so2973030lji.10; Wed, 29 May 2019 08:55:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7hgaRLdcTkmKdItFCpaS7KfAukiDufTWrtaB4cJ8+fc=; b=pd6nSV4EPuYZSGpHaHyxAqCNA61EZITpM9tshgObj89SaCHBGI+ZCrSAzMesvbNoUm LHJglby0IS0ftCD+eEtv1IipUDsBVIYne9zTR1gZl7AA5Q/yvZLMM4QfpPTucGhVNID0 CweqAIOXuk0aKA+rIK59q6SLKoD2OjXD6cddg1RZo5bNqwMSA8wLruKaTrz0+9vAEo5b I0HODEGND+Cms/HAEqd5VWX0rChrMjO98LfHZa8WZscR0ggxSHJOi5nXdRmv1TuGEz8A 8KAUCIEoD1hSEtgoRsANwUlMO0jobwXToKMOmQpGrQoXAy6z7qkqmWBGpC0jKYl/q5jj C96Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7hgaRLdcTkmKdItFCpaS7KfAukiDufTWrtaB4cJ8+fc=; b=S7jD6DWGLDZR/qnyv7k2Ap5ZK57s1Xhi1Macc0OjKJ9hsgHswIGGZbct9J6jT34A05 pVy8DuOQV1b+QegMVzTRPj8chuG2VWvGSqkU57BYujEilNrC5HPlDj47LK7KNwrrfcff vWpxovmA+5tcKv9Y39Zi3JJPBUO7CIa4MTzdkqyMm3MA4OYKvf9PgnXB04xiY4FMbAwu GvqGGXVLW/OOuavcBBT94VN8VbAha49lzf/8/h2g9fvnY865uAUQi51bN8a+mTtFHz4L L1OTK3AEf93sVr0+ep9EPsL1GmxwAU9uHX7uNzeIpw12wX1EjMUOzY0njLyjupIWpHhy jskA==
X-Gm-Message-State: APjAAAX9/BDg/7OD8VNeWbfp3Nbx3QsBuUdGewJV+Lk1jzC6iMkpI+Uw W9Z+OO0Y4+r7XJRQMWeNzj69GGWiG1xHqEJwZgE=
X-Google-Smtp-Source: APXvYqw67BaZpYReyeJOAndvL0NXvUUXla8/5+xYdd3nteP1bZTifKqsOP19SR0unQQiPYgcQHjINf6dm8p7hzZZC9U=
X-Received: by 2002:a2e:b0db:: with SMTP id g27mr16430289ljl.210.1559145326803;  Wed, 29 May 2019 08:55:26 -0700 (PDT)
MIME-Version: 1.0
References: <155897662160.809.5527655773398720605@ietfa.amsl.com> <CABUE3Xk60A+r5fgs7H7Srkyyn7yX8M0Fyw=jEi8+ifm=KS58vA@mail.gmail.com>
In-Reply-To: <CABUE3Xk60A+r5fgs7H7Srkyyn7yX8M0Fyw=jEi8+ifm=KS58vA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Wed, 29 May 2019 08:55:13 -0700
Message-ID: <CACsn0ckgbsHXzZ+a_uKjzH-1Wi4rLVVOWHBkyRcdThaKMTEO8g@mail.gmail.com>
To: Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Cc: NTP WG <ntp@ietf.org>, draft-roughtime-aanchal@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005b8374058a08cfd7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/UTDbQfXiPHd-BtUYi7wEoGUigso>
Subject: Re: [Ntp] I-D Action: draft-roughtime-aanchal-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 15:55:32 -0000

--0000000000005b8374058a08cfd7
Content-Type: text/plain; charset="UTF-8"

On Wed, May 29, 2019, 6:29 AM Tal Mizrahi <tal.mizrahi.phd@gmail.com> wrote:

> Dear authors,
>
> Thanks for updating the draft. The new text in the Introduction is highly
> appreciated, and addresses some of the concerns I raised.
>
> Comments:
> 1. The document is still missing a threat analysis. There should probably
> be a dedicated section that describes the threats that are and are not
> solved by Roughtime.
> 2. In IETF 104 the authors and Kristof explained that delay attacks are
> mitigated by measuring the RTT and comparing it to a pre-configured upper
> bound. This should be described in the draft.
>

That converts a delay attack into no measurement. But one still learns a
bound that is valid, just not very confining.  There is no MLE estimator
necessarily, so delays might not induce systemic errors. Some applications
are of this form.

3. The draft should discuss upper bounds on how "bad" a server can be
> without being detected as a falseticker.
>
> Some proposed text follows.
>
> Cheers,
> Tal.
>
>
> Here is some (preliminary) proposed text for (2) above:
>
> Although delay attacks cannot be prevented, they can be limited to a
> predetermined upper bound. This can be done by defining a maximal tolerable
> RTT value, MAX-RTT, that a client is willing to accept. A Roughtime client
> can measure the RTT of every request-response handshake and compare it to
> MAX-RTT; if the RTT exceeds MAX-RTT, the corresponding server is assumed to
> be a falseticker. When this approach is used the maximal time error that
> can be caused by a delay attack is MAX-RTT/2. It should be noted that this
> approach assumes that the nature of the system is known to the client,
> including reasonable upper bounds on the RTT value.
>
>
> Here is a preliminary proposal for some text for (3) above (needs to be
> reviewed and discussed):
>
> As discussed in the introduction, the absence of proof of malfeasance does
> not indicate that all the servers are "good". However, if the Roughtime
> mechanism indicates that all servers are well-behaved then Roughtime
> timestamps can be used to compute an upper bound on the time error of a
> potential falseticker. For example, for a given set of responses (r_1, r_2,
> r_3) from three servers, if it is guaranteed that server 1 and server 3 are
> truechimers, then the client has an upper bound on the time error that may
> be caused by the reply from server 2, as the timestamp of server 2 is
> bounded by the timestamps of server 1 and server 3. Thus, the time error
> from server 2 cannot exceed:
>
> max{MIDP_3 - MIDP_2 + RADI_3 + RADI_2,
>     MIDP_2 - MIDP_1 + RADI_2 + RADI_1}.
>
> More generally, if n servers are used in the protocol, and for a given set
> of responses (r_1, r_2, ..., r_n, r_1'), if server 1 is guaranteed to be a
> truechimer, then the time error that may be caused by each of the servers
> 2, 3, ..., n is bounded by:
>
> MIDP_1' - MIDP_1 + 2*RADI_1
>

This does not seem quite right: the error in the timestamp is bounded
(which is explained in definition of a falseticker: perhaps that needs to
be relabled). The error induced in the time is a very different beast.
Thanks for the suggested text.


>
> On Mon, May 27, 2019 at 8:03 PM <internet-drafts@ietf.org> wrote:
>
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories.
>> This draft is a work item of the Network Time Protocol WG of the IETF.
>>
>>         Title           : Roughtime
>>         Authors         : Aanchal Malhotra
>>                           Adam Langley
>>                           Watson Ladd
>>         Filename        : draft-roughtime-aanchal-02.txt
>>         Pages           : 11
>>         Date            : 2019-05-27
>>
>> Abstract:
>>    This document specifies Roughtime - a protocol that aims to achieve
>>    rough time synchronization while detecting servers that provide
>>    inaccurate time and providing cryptographic proof of their
>>    malfeasance.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-roughtime-aanchal/
>>
>> There are also htmlized versions available at:
>> https://tools.ietf.org/html/draft-roughtime-aanchal-02
>> https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-02
>>
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft-roughtime-aanchal-02
>>
>>
>> Please note that it may take a couple of minutes from the time of
>> submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> _______________________________________________
>> ntp mailing list
>> ntp@ietf.org
>> https://www.ietf.org/mailman/listinfo/ntp
>>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--0000000000005b8374058a08cfd7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Wed, May 29, 2019, 6:29 AM Tal Mizrahi &lt;<a href=
=3D"mailto:tal.mizrahi.phd@gmail.com">tal.mizrahi.phd@gmail.com</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Dear authors,<=
br><br>Thanks for updating the draft. The new text in the Introduction is h=
ighly appreciated, and addresses some of the concerns I raised.<br><br>Comm=
ents:<br>1. The document is still missing a threat analysis. There should p=
robably be a dedicated section that describes the threats that are and are =
not solved by Roughtime.<br>2. In IETF 104 the authors and Kristof explaine=
d that delay attacks are mitigated by measuring the RTT and comparing it to=
 a pre-configured upper bound. This should be described in the draft.<br></=
div></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">=
That converts a delay attack into no measurement. But one still learns a bo=
und that is valid, just not very confining.=C2=A0 There is no MLE estimator=
=C2=A0 necessarily, so delays might not induce systemic errors. Some applic=
ations are of this form.</div><div dir=3D"auto"><br></div><div dir=3D"auto"=
><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"=
>3. The draft should discuss upper bounds on how &quot;bad&quot; a server c=
an be without being detected as a falseticker.<br><br>Some proposed text fo=
llows.<br><br>Cheers,<br>Tal.<br><br><br>Here is some (preliminary) propose=
d text for (2) above:<br><br>Although delay attacks cannot be prevented, th=
ey can be limited to a predetermined upper bound. This can be done by defin=
ing a maximal tolerable RTT value, MAX-RTT, that a client is willing to acc=
ept. A Roughtime client can measure the RTT of every request-response hands=
hake and compare it to MAX-RTT; if the RTT exceeds MAX-RTT, the correspondi=
ng server is assumed to be a falseticker. When this approach is used the ma=
ximal time error that can be caused by a delay attack is MAX-RTT/2. It shou=
ld be noted that this approach assumes that the nature of the system is kno=
wn to the client, including reasonable upper bounds on the RTT value.<br><b=
r><br>Here is a preliminary proposal for some text for (3) above (needs to =
be reviewed and discussed):<br><br>As discussed in the introduction, the ab=
sence of proof of malfeasance does not indicate that all the servers are &q=
uot;good&quot;. However, if the Roughtime mechanism indicates that all serv=
ers are well-behaved then Roughtime timestamps can be used to compute an up=
per bound on the time error of a potential falseticker. For example, for a =
given set of responses (r_1, r_2, r_3) from three servers, if it is guarant=
eed that server 1 and server 3 are truechimers, then the client has an uppe=
r bound on the time error that may be caused by the reply from server 2, as=
 the timestamp of server 2 is bounded by the timestamps of server 1 and ser=
ver 3. Thus, the time error from server 2 cannot exceed: <br><br>max{MIDP_3=
 - MIDP_2 + RADI_3 + RADI_2, <br>=C2=A0 =C2=A0 MIDP_2 - MIDP_1 + RADI_2 + R=
ADI_1}. <br><br>More generally, if n servers are used in the protocol, and =
for a given set of responses (r_1, r_2, ..., r_n, r_1&#39;), if server 1 is=
 guaranteed to be a truechimer, then the time error that may be caused by e=
ach of the servers 2, 3, ..., n is bounded by:<br><br>MIDP_1&#39; - MIDP_1 =
+ 2*RADI_1 <br></div></blockquote></div></div><div dir=3D"auto"><br></div><=
div dir=3D"auto">This does not seem quite right: the error in the timestamp=
 is bounded (which is explained in definition of a falseticker: perhaps tha=
t needs to be relabled). The error induced in the time is a very different =
beast. Thanks for the suggested text.</div><div dir=3D"auto"><br></div><div=
 dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di=
v dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">On Mon, May 27, 2019 at 8:03 PM &lt;<a href=3D"mailto:int=
ernet-drafts@ietf.org" target=3D"_blank" rel=3D"noreferrer">internet-drafts=
@ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
This draft is a work item of the Network Time Protocol WG of the IETF.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Title=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 Roughtime<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Authors=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Aanc=
hal Malhotra<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Adam Langley<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Watson Ladd<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Filename=C2=A0 =C2=A0 =C2=A0 =C2=A0 : draft-rou=
ghtime-aanchal-02.txt<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Pages=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 11<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Date=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :=
 2019-05-27<br>
<br>
Abstract:<br>
=C2=A0 =C2=A0This document specifies Roughtime - a protocol that aims to ac=
hieve<br>
=C2=A0 =C2=A0rough time synchronization while detecting servers that provid=
e<br>
=C2=A0 =C2=A0inaccurate time and providing cryptographic proof of their<br>
=C2=A0 =C2=A0malfeasance.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-roughtime-aanchal/" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://datatracker.ietf.org/d=
oc/draft-roughtime-aanchal/</a><br>
<br>
There are also htmlized versions available at:<br>
<a href=3D"https://tools.ietf.org/html/draft-roughtime-aanchal-02" rel=3D"n=
oreferrer noreferrer" target=3D"_blank">https://tools.ietf.org/html/draft-r=
oughtime-aanchal-02</a><br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-roughtime-aanchal-02=
" rel=3D"noreferrer noreferrer" target=3D"_blank">https://datatracker.ietf.=
org/doc/html/draft-roughtime-aanchal-02</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-roughtime-aanchal-02" =
rel=3D"noreferrer noreferrer" target=3D"_blank">https://www.ietf.org/rfcdif=
f?url2=3Ddraft-roughtime-aanchal-02</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" rel=3D"noreferrer noreferrer" target=3D"_blank">tools.ietf.org<=
/a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"noreferrer noreferre=
r" target=3D"_blank">ftp://ftp.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank" rel=3D"noreferrer">ntp@ie=
tf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br=
>
</blockquote></div>
_______________________________________________<br>
ntp mailing list<br>
<a href=3D"mailto:ntp@ietf.org" target=3D"_blank" rel=3D"noreferrer">ntp@ie=
tf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ntp" rel=3D"noreferrer nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ntp</a><br=
>
</blockquote></div></div></div>

--0000000000005b8374058a08cfd7--


From nobody Wed May 29 09:34:43 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48372120136 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 09:34:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 K_ZKU3wpWBEc for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 09:34:30 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00C62120115 for <ntp@ietf.org>; Wed, 29 May 2019 09:34:22 -0700 (PDT)
Received: from [192.168.1.2] (unknown [149.140.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 471498A6CB; Wed, 29 May 2019 18:34:20 +0200 (CEST)
To: Danny Mayer <mayer@pdmconsulting.net>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com> <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJcN+uAGIrklwJlVpRSbKbFtGC6In592lhu7 wnK8cgyP5cTU+vva9+g6P1wehi4byl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BvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <3ac96dec-e1ca-c0d0-1cda-7bb55c641a4c@si6networks.com>
Date: Wed, 29 May 2019 12:31:30 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/VkD8C0w0AZ0FVpzZ9XastW9apxo>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 16:34:33 -0000

On 29/5/19 11:23, Danny Mayer wrote:
> 
> On 5/29/19 6:03 AM, Fernando Gont wrote:
>> On 29/5/19 05:18, Harlan Stenn wrote:
>>> On 5/29/2019 12:17 AM, Fernando Gont wrote:
>>>> On 29/5/19 01:20, Harlan Stenn wrote:
>>>>>
>>>>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>> [....]
>>>> Employing predictable numeric IDs is bad practice. The current
>>>> requirement (which cannot even be complied to in IPv4-NATed networks),
>>>> requires a fixed well-known port for clients. i.e., the spec mandates
>>>> against a BCP (port randomization) and on the well-known concept that
>>>> employing predictable IDs is asking for trouble.
>>> By the same token, generally applying rules without fully understanding
>>> the costs/benefits and other trade-offs is bad practice.
>> I understand that your implementation employs port 123 as the source
>> port. You mentioned that makes the code simpler. That's probably also
>> the case when using predictable IDs (e.g. resulting from a counter) vs.
>> randomized ones.
>>
> what predictable ID's? NTP doesn't have a counter.

The client port is a numeric identifier. So the NTP does use a numerical
identifier. As noted, you essentially have three options:

1) Use a fixed value (123)
2) Use an ephemeral port resulting in a predictable port
3) Use a randomized source port


So.. there's one implementation that does #1, and folks seem to argue to
stick with it. #2 would require even more work, because most modern
kernel just don't generate predictable port numbers. And we are arguing
in favour of #3.


(#2 could be implemented as a counter. In fact, that's how most stacks
selected ephemeral port numbers prior to the port randomization work).



> attackers can send any packets that they want to a port, that's at the
> UDP layer. Whether or not the packet is valid is something that the
> receiving client is supposed to be checking. 

The four-tuple {src addr, src port, dst addr, dst port} is layer-4
stuff. If you conceal this info, you reduce the chances of an attacker
of sneaking a packet into the association/"connection".

Any checks you perform in NTP are app layer stuff. The two are orthogonal.



> Malformed packets are
> instantly discarded and invalid origin timestamps are similarly tossed.
> 
> Your draft should be stating a useful purpose and the contents needs to
> actually fulfill that purpose. All we have so far is some claim about
> what port to use without showing how that is better than all of the
> other safeguards already built into the NTP protocol.

That's the point: the two don't compete with each other. They are
orthogonal.

I'm not arguing that we should remove the others. Rather, I'm arguing
that using predictable client port numbers eases the task of an
attacker, unnecessarily.

Using randomized port numbers requires yet additional effort on the side
of the attacker. And means that the attacker now needs to guess the
client port, or otherwise his packets will not even make it to the ntp
process.


The transport area produced a BCP over the course of about 7 years, when
discussing similar topics. The BCP is RFC6056.

I would expect that an implementation that means to select a port
number, and does not want to follow, should make a technical argument
against that.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 10:15:09 2019
Return-Path: <stenn@nwtime.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E737612019F for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 10:15:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 Jnyiu-xN0Ks7 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 10:15:05 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DCC47120198 for <ntp@ietf.org>; Wed, 29 May 2019 10:15:05 -0700 (PDT)
Received: from [10.208.75.157] (75-139-194-196.dhcp.knwc.wa.charter.com [75.139.194.196]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 45Dcls3PrmzL7T; Wed, 29 May 2019 17:15:05 +0000 (UTC)
To: ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com> <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net> <3ac96dec-e1ca-c0d0-1cda-7bb55c641a4c@si6networks.com>
From: Harlan Stenn <stenn@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=stenn@nwtime.org; prefer-encrypt=mutual; keydata= mQGNBFI2xmQBDACrPayw18eU4pIwCvKh7k0iMkAV9cvzs49kBppM+xoH+KKj4QWmkKELD39H ngQnT3RkKsTLlwxyLqPdUmeQNAY2M5fsOK+OF6EvwLPK9hbmE3Wx2moX+sbEUxJ2VzFhKSKb OPZALXwk1XxL0qBedz0xHYcDwaSAZZkEFXURv2pDIdrmnoUnq2gdC8GpoFJiXoUaCLSYzzaY ac4Njw7Mue8IqfzRQb70aMjXl/qmsmfmEVAyGXywDdc/ler4XSgiuYOV7Kf69bj9PFZZSMdJ MWgEyZH6lJ0TU5ccR2zp5ZRmWzQQkxJMyH2th7q0Nmz3aX4A0K4yE0Ba9/5Dr7ctpF15BrMF aEo4s5lwI6tUnkgMWo265mMzCz4mAPV/ac0w0OXQg7r9E2r0+dRapnzUlG43D0JLDqDr9uRR L6IrRQqoCWUC75lfmPYQYSlaTJaK68r3lXd0z1cXJUgVtEL5H3/Z71R2B20twcQVAnw2iIH6 L5vdrsIjHrMmkqRVbs9nNyEAEQEAAbQ5SGFybGFuIFN0ZW5uIChOZXR3b3JrIFRpbWUgRm91 bmRhdGlvbikgPHN0ZW5uQG53dGltZS5vcmc+iQG5BBMBAgAjBQJSNsblAhsvBws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ynSbeeyF+QW7SLwA qY7O7dyk9LFTsfJqRQJ7tWnIAjJPCwmSgQ8Kl0UJ
Message-ID: <5534f617-f15b-41f7-a89a-813afadb10f7@nwtime.org>
Date: Wed, 29 May 2019 10:15:04 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <3ac96dec-e1ca-c0d0-1cda-7bb55c641a4c@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/DkPkpdJ705u4GTr2hzqjS3SVH2Q>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 17:15:08 -0000

On 5/29/2019 9:31 AM, Fernando Gont wrote:
> On 29/5/19 11:23, Danny Mayer wrote:
>>
>> On 5/29/19 6:03 AM, Fernando Gont wrote:
>>> On 29/5/19 05:18, Harlan Stenn wrote:
>>>> On 5/29/2019 12:17 AM, Fernando Gont wrote:
>>>>> On 29/5/19 01:20, Harlan Stenn wrote:
>>>>>>
>>>>>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>>>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>> [....]
>>>>> Employing predictable numeric IDs is bad practice. The current
>>>>> requirement (which cannot even be complied to in IPv4-NATed networks),
>>>>> requires a fixed well-known port for clients. i.e., the spec mandates
>>>>> against a BCP (port randomization) and on the well-known concept that
>>>>> employing predictable IDs is asking for trouble.
>>>> By the same token, generally applying rules without fully understanding
>>>> the costs/benefits and other trade-offs is bad practice.
>>> I understand that your implementation employs port 123 as the source
>>> port. You mentioned that makes the code simpler. That's probably also
>>> the case when using predictable IDs (e.g. resulting from a counter) vs.
>>> randomized ones.
>>>
>> what predictable ID's? NTP doesn't have a counter.
> 
> The client port is a numeric identifier. So the NTP does use a numerical
> identifier. As noted, you essentially have three options:
> 
> 1) Use a fixed value (123)
> 2) Use an ephemeral port resulting in a predictable port

I'm not seeing that ephemeral UDP ports are predictable in general.  Got
a reference?

> 3) Use a randomized source port
> 
> 
> So.. there's one implementation that does #1, and folks seem to argue to
> stick with it. #2 would require even more work, because most modern
> kernel just don't generate predictable port numbers. And we are arguing
> in favour of #3.
> 
> 
> (#2 could be implemented as a counter. In fact, that's how most stacks
> selected ephemeral port numbers prior to the port randomization work).

So what?  An off-path attacker won't know these ports, an on-path
attacker won't(?) see them either, and a MITM won't care because the
MITM will see the port selected by the victim.

>> attackers can send any packets that they want to a port, that's at the
>> UDP layer. Whether or not the packet is valid is something that the
>> receiving client is supposed to be checking. 
> 
> The four-tuple {src addr, src port, dst addr, dst port} is layer-4
> stuff. If you conceal this info, you reduce the chances of an attacker
> of sneaking a packet into the association/"connection".

If the implementation is so poor that it would be victim to this attack
then this specific attack is very late to the party.

> Any checks you perform in NTP are app layer stuff. The two are orthogonal.

I'm not sure about this argument.

Stuff should be addressed at the appropriate API layer.

There are good reasons why one doesn't only put the smallest grain
filter at the entrance point.

>> Malformed packets are
>> instantly discarded and invalid origin timestamps are similarly tossed.
>>
>> Your draft should be stating a useful purpose and the contents needs to
>> actually fulfill that purpose. All we have so far is some claim about
>> what port to use without showing how that is better than all of the
>> other safeguards already built into the NTP protocol.
> 
> That's the point: the two don't compete with each other. They are
> orthogonal.
> 
> I'm not arguing that we should remove the others. Rather, I'm arguing
> that using predictable client port numbers eases the task of an
> attacker, unnecessarily.

Sorry, I'm still not seeing/buying this point.

> Using randomized port numbers requires yet additional effort on the side
> of the attacker. And means that the attacker now needs to guess the
> client port, or otherwise his packets will not even make it to the ntp
> process.

If your point is to change the last sentence of RFC590 9.1 where it says:

   srcport: UDP port number of the server or reference clock.  This
   becomes the destination port number in packets sent from this
   association.  When operating in symmetric modes (1 and 2), this field
   must contain the NTP port number PORT (123) assigned by the IANA.  In
   other modes, it can contain any number consistent with local policy.

to:

   ... In other modes, it SHOULD contain any number consistent with
   local policy.

I'm fine with that.

> The transport area produced a BCP over the course of about 7 years, when
> discussing similar topics. The BCP is RFC6056.
> 
> I would expect that an implementation that means to select a port
> number, and does not want to follow, should make a technical argument
> against that.

Deep packet inspection firewalls are Expensive, especially at higher
bandwidths.  Having these packets go out with known port number can be a
significant cost and performance savings.

That's just one point.

> Thanks,
> 

-- 
Harlan Stenn, Network Time Foundation
http://nwtime.org - be a Member!


From nobody Wed May 29 12:01:09 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AEB71201CC for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 12:01:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 8CKYSCcEA0Sc for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 12:00:59 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3605F120114 for <ntp@ietf.org>; Wed, 29 May 2019 12:00:49 -0700 (PDT)
Received: from [192.168.1.2] (unknown [212.133.201.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 95BAB88766; Wed, 29 May 2019 21:00:44 +0200 (CEST)
From: Fernando Gont <fgont@si6networks.com>
To: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com> <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net> <3ac96dec-e1ca-c0d0-1cda-7bb55c641a4c@si6networks.com> <5534f617-f15b-41f7-a89a-813afadb10f7@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66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bBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <95123cd0-0cd4-0e98-a81d-1a50cadeb79f@si6networks.com>
Date: Wed, 29 May 2019 14:58:28 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <5534f617-f15b-41f7-a89a-813afadb10f7@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/XShUvaPxzF6KX1DTwU-OCsLnwbI>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 19:01:08 -0000

Harlan,

Responding this one in a separate email, since it seems we're converging
on something...

On 29/5/19 13:15, Harlan Stenn wrote:
> 
[....]>> Using randomized port numbers requires yet additional effort on
the side
>> of the attacker. And means that the attacker now needs to guess the
>> client port, or otherwise his packets will not even make it to the ntp
>> process.
> 
> If your point is to change the last sentence of RFC590 9.1 where it says:
> 
>    srcport: UDP port number of the server or reference clock.  This
>    becomes the destination port number in packets sent from this
>    association.  When operating in symmetric modes (1 and 2), this field
>    must contain the NTP port number PORT (123) assigned by the IANA.  In
>    other modes, it can contain any number consistent with local policy.
> 
> to:
> 
>    ... In other modes, it SHOULD contain any number consistent with
>    local policy.
> 
> I'm fine with that.

Yes. That's the whole point of this document.


Thanks!

Cheers,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 12:01:17 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 874AB120242 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 12:01:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 s_qNL_vgKzxs for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 12:01:00 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17CBC120170 for <ntp@ietf.org>; Wed, 29 May 2019 12:00:50 -0700 (PDT)
Received: from [192.168.1.2] (unknown [212.133.201.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id C03D588C41; Wed, 29 May 2019 21:00:47 +0200 (CEST)
From: Fernando Gont <fgont@si6networks.com>
To: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com> <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net> <3ac96dec-e1ca-c0d0-1cda-7bb55c641a4c@si6networks.com> <5534f617-f15b-41f7-a89a-813afadb10f7@nwtime.org>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual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ymzvgzPa+BY/mYn94vRaurDQ4/ljOfj6oqgfjts+dJev4Jj89vp8MQI3KJpZPEAEQEA AYkCJQQYAQIADwUCTmyjaAIbDAUJEswDAAAKCRCuJQ1VHU50km4xEACho45PZrUjY4Zl2opR DFNo5a6roTOPpgwO9PcBb3I5F8yX2Dnew+9OhgWXbBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <6d531349-8904-0e4b-5f8e-41ce43a2aecc@si6networks.com>
Date: Wed, 29 May 2019 15:00:16 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <5534f617-f15b-41f7-a89a-813afadb10f7@nwtime.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Ec72Q7cS0Mkel5qiH-TO2mSJlYo>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 19:01:09 -0000

On 29/5/19 13:15, Harlan Stenn wrote:
> 
> 
> On 5/29/2019 9:31 AM, Fernando Gont wrote:
>> On 29/5/19 11:23, Danny Mayer wrote:
>>>
>>> On 5/29/19 6:03 AM, Fernando Gont wrote:
>>>> On 29/5/19 05:18, Harlan Stenn wrote:
>>>>> On 5/29/2019 12:17 AM, Fernando Gont wrote:
>>>>>> On 29/5/19 01:20, Harlan Stenn wrote:
>>>>>>>
>>>>>>> On 5/28/2019 9:37 PM, Fernando Gont wrote:
>>>>>>>> On 28/5/19 23:20, Majdi S. Abbas wrote:
>>>> [....]
>>>>>> Employing predictable numeric IDs is bad practice. The current
>>>>>> requirement (which cannot even be complied to in IPv4-NATed networks),
>>>>>> requires a fixed well-known port for clients. i.e., the spec mandates
>>>>>> against a BCP (port randomization) and on the well-known concept that
>>>>>> employing predictable IDs is asking for trouble.
>>>>> By the same token, generally applying rules without fully understanding
>>>>> the costs/benefits and other trade-offs is bad practice.
>>>> I understand that your implementation employs port 123 as the source
>>>> port. You mentioned that makes the code simpler. That's probably also
>>>> the case when using predictable IDs (e.g. resulting from a counter) vs.
>>>> randomized ones.
>>>>
>>> what predictable ID's? NTP doesn't have a counter.
>>
>> The client port is a numeric identifier. So the NTP does use a numerical
>> identifier. As noted, you essentially have three options:
>>
>> 1) Use a fixed value (123)
>> 2) Use an ephemeral port resulting in a predictable port
> 
> I'm not seeing that ephemeral UDP ports are predictable in general.  Got
> a reference?

Appendix A (page 26) of RFC6056 contains a survey. Stacks were employing
the same code. In some cases, it was a counter. In other cases, a value
that was decremented. These algorithms are covered in "TCP/IP
Illustrated, Volume 2" by Rich Stevens, for example.

Nowadays, at least Linux and *BSD do port number randomization. OpenBSD
was first to do it. My co-author implemented the
code in Linux.




>> 3) Use a randomized source port
>>
>>
>> So.. there's one implementation that does #1, and folks seem to argue to
>> stick with it. #2 would require even more work, because most modern
>> kernel just don't generate predictable port numbers. And we are arguing
>> in favour of #3.
>>
>>
>> (#2 could be implemented as a counter. In fact, that's how most stacks
>> selected ephemeral port numbers prior to the port randomization work).
> 
> So what?  An off-path attacker won't know these ports, an on-path
> attacker won't(?) see them either, and a MITM won't care because the
> MITM will see the port selected by the victim.

Exactly. Since the attacker doesn't know the randomized port, port
randomization increases the difficulty to successfully perform off-path
attacks.

As noted during today's call, there's plenty of IETF work in this area,
much of which I was involved in. see e.g. RFC5927,



> 
>>> attackers can send any packets that they want to a port, that's at the
>>> UDP layer. Whether or not the packet is valid is something that the
>>> receiving client is supposed to be checking. 
>>
>> The four-tuple {src addr, src port, dst addr, dst port} is layer-4
>> stuff. If you conceal this info, you reduce the chances of an attacker
>> of sneaking a packet into the association/"connection".
> 
> If the implementation is so poor that it would be victim to this attack
> then this specific attack is very late to the party.
> 
>> Any checks you perform in NTP are app layer stuff. The two are orthogonal.
> 
> I'm not sure about this argument.
> 
> Stuff should be addressed at the appropriate API layer.
> 
> There are good reasons why one doesn't only put the smallest grain
> filter at the entrance point.

The deeper the upper the layer, the deeper the mitigation is in the
code, and the more expensive it is to execute it.



>> Using randomized port numbers requires yet additional effort on the side
>> of the attacker. And means that the attacker now needs to guess the
>> client port, or otherwise his packets will not even make it to the ntp
>> process.
> 
> If your point is to change the last sentence of RFC590 9.1 where it says:
> 
>    srcport: UDP port number of the server or reference clock.  This
>    becomes the destination port number in packets sent from this
>    association.  When operating in symmetric modes (1 and 2), this field
>    must contain the NTP port number PORT (123) assigned by the IANA.  In
>    other modes, it can contain any number consistent with local policy.
> 
> to:
> 
>    ... In other modes, it SHOULD contain any number consistent with
>    local policy.
> 
> I'm fine with that.

Yes. That's the whole point of this document.



>> The transport area produced a BCP over the course of about 7 years, when
>> discussing similar topics. The BCP is RFC6056.
>>
>> I would expect that an implementation that means to select a port
>> number, and does not want to follow, should make a technical argument
>> against that.
> 
> Deep packet inspection firewalls are Expensive, especially at higher
> bandwidths.  Having these packets go out with known port number can be a
> significant cost and performance savings.

Actually, that reduces the ability of an ACL as a mitigation. Because if
the four-tuple employed for a transaction con be guess by the attacker,
he can always forge the correct values and bypass any kind of filtering.

Having clients use ephemeral ports also allows for easy identification
of NTP client vs server traffic -- if you wanted to distinguish that for
the purpose of packet filtering.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Wed May 29 12:07:11 2019
Return-Path: <nosretep.samoht@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2E1012006E for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 12:07:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 SFbtp57sZ02u for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 12:07:07 -0700 (PDT)
Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8074B120048 for <ntp@ietf.org>; Wed, 29 May 2019 12:07:07 -0700 (PDT)
Received: by mail-wr1-x42a.google.com with SMTP id f8so2562287wrt.1 for <ntp@ietf.org>; Wed, 29 May 2019 12:07:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=VZEQGf+vFYohlSy5GcaEJ/aRvDJGEicyYrJJSoMCA9A=; b=gLGeDYcDY4xw2o5cy01SorUdkasT5SPqNNVUAbls0r9sxWL3P0wnUZ4DnM7SugAHf6 QYMNSMI4WB/DoUhC4LofWAjdkdbo3qDpM6QJUIJxhfsZwxML1ADId69pwPHv1OgSJ6ZD 1P8AaUhZgMgawZ/oD+ph4Q/XrXeq51lZn0vvDE5Fyb3GqvnO74qVhkwhT+S97V5ZGKNu ltZNMEqw4dzqky5JMFoZr++SnOs+FqlomARI+joOURPTfrMLazEWM2guTpyNLzUuOcyq EjRUBvcH7+Fkb+JQ0jdHFxzojSBcqPK5cIzE2RdT9DsH46mKgDyNVttL6dblI4IuyXqO auKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VZEQGf+vFYohlSy5GcaEJ/aRvDJGEicyYrJJSoMCA9A=; b=Vzle6K/IB5L2WMvNU6u0nUM5dCgJYlUNbNUgbqM002pOnPeoOQVN9vzeWjTEe4yunZ a710p+S2ReGghpsBUKfkeeHnnItPTF8GHNmNMNRemOnZsLrXgD0b9bxcFkVvhRRgl+Yl gk2ylypa+kfZxMEOY/6ce4nxdFVD6of3/vUFkyQ6z46ZPopQJfR+yFrhknQQYTpohqv2 f7tZSAqe5S5cXeYPO3KF8yvOmXeIMx4ZANciWVVxL/pax9ZUsAj58wd6pCl+PCinu9vh tcfF8OAAPpqM4y91Cpl7Tvy+1Ssxy1W4n0ouFBlvf2Dx/+aH2gCGUBrUVm+8Gar8C7VN YnCA==
X-Gm-Message-State: APjAAAUa3jVOm+w54xR/UDdzM8xJFfKRfUnkLkDD+XqYj/6c+tdirg7Y sqV9Je3xSStZ6xYjmcX23MYvTER8
X-Google-Smtp-Source: APXvYqwSmXOurYajEulsKuOWRxoF2rhm4w4mkHnf4e1nODA0fT2Rq+eqyni3DNKs8zd0sYCBbUNJ3A==
X-Received: by 2002:a5d:6750:: with SMTP id l16mr5212073wrw.274.1559156825545;  Wed, 29 May 2019 12:07:05 -0700 (PDT)
Received: from ROADKILL.home (host86-160-211-195.range86-160.btcentralplus.com. [86.160.211.195]) by smtp.gmail.com with ESMTPSA id b2sm566016wrt.20.2019.05.29.12.07.04 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 29 May 2019 12:07:04 -0700 (PDT)
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "ntp@ietf.org" <ntp@ietf.org>
References: <155897662160.809.5527655773398720605@ietfa.amsl.com> <2351e209-4ab5-c336-cd48-5d792901574f@gmail.com> <5CEE4196020000A1000317DC@gwsmtp.uni-regensburg.de>
From: Thomas Peterson <nosretep.samoht@gmail.com>
Message-ID: <da46eaec-7b86-a99f-d7cf-ccfba56d7cfb@gmail.com>
Date: Wed, 29 May 2019 20:07:02 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Thunderbird/67.0
MIME-Version: 1.0
In-Reply-To: <5CEE4196020000A1000317DC@gwsmtp.uni-regensburg.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/GqbhBRpq5rCfxUfBaKoW-lTIUVg>
Subject: Re: [Ntp] Antw: Re:  I-D Action: draft-roughtime-aanchal-02.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 19:07:10 -0000

Thank you for finding those references. I have raised a pull request[0] 
with an attempt to initially describe the details I believe the draft 
should have in place. Feedback from yourself and the mailing list would 
be appreciated.

However, the reference you cited from RFC 6055 is slides and notes from 
a presentation going into UTF-8[1], and appears to have nothing to do 
with time.

Regards

0: https://github.com/aanchal4/draft-roughtime/pull/14
1: 
https://web.archive.org/web/20060603174545/www.ifi.unizh.ch/mml/mduerst/papers/PDF/IUC11-UTF-8.pdf

On 29/05/2019 08:23, Ulrich Windl wrote:
>>>> Thomas Peterson <nosretep.samoht@gmail.com> schrieb am 28.05.2019 um 17:01
> in
> Nachricht <2351e209-4ab5-c336-cd48-5d792901574f@gmail.com>:
>> Thank you for publishing a new version of the draft.
>>
>> Some feedback based on your new changes, the existing concerns raised
>> prior not withstanding:
>>
>> * Nit: "... violations are greater then a second the loss..." should be
>> "greater than a second"
>> * You have not provided sufficient information for implementations on
>> how to actually calculate time, only citing a single, out‑of‑publication
>> reference. Besides Wikipedia and a humor page[0] stored on the Internet
>> Archive, I have been unable to find a definitive source that describes
>> MJD. Could you please in a future version describe in detail how an
> 
> RFC 1305 refers to it, too: "The Modified Julian Date (MJD), which is
> sometimes used to represent dates near
> our own era in conventional time and with fewer digits, is defined as MJD = JD
> – 2,400,000.5.
> Following the convention that our century began at 0h on 1 January 1900, at
> which time the tropical
> year was already 12h old, that eclectic instant corresponds to MJD 15,020.0.
> Thus, the Julian
> timescale ticks in standard (atomic) 365.25-day centuries and was set to a
> given value at the
> approximate epoch of a cosmic event which apparently synchronized the entire
> human community,
> the origin of the Common Era."
> 
> Later: "The UTC timescale thus ticks in standard (atomic) seconds and was set
> to the value 0h MJD 41,317.0
> at the epoch determined by astronomical observation to be 0h on 1 January 1972
> according to the
> Gregorian calendar; that is, the inaugural tick of the UTC Era."
> 
> "The NTP timescale is based on the UTC timescale, but not necessarily always
> coincident with it.
> At 0h on 1 January 1972 (MJD 41,317.0), the first tick of the UTC Era, the NTP
> clock was set to
> 2,272,060,800, representing the number of standard seconds since 0h on 1
> January 1900 (MJD
> 15,020.0)."
> 
> Finally in RFC 6055 ;-)
>     [MJD]            Duerst, M., "The Properties and Promizes of UTF-8",
> 
> Regards,
> Ulrich Windl
> 
>> implementation take the time received and perform the necessary
>> computation to something that could be applied to a system clock.
>> * Would it not be more appropriate to break up the MIDP value so the MJD
>> day and time offset from midnight be pout into separate keys?
>> * Is there a specific reason why the document has now a mixture of "bit"
>> and "byte"? For example, MIDP is 8 _bytes_, but RADI is 32 _bits_. It's
>> reasonable to assume that a reader can distinguish, but having a mixture
>> such as this could lead to errors in implementations due to reader error.
>>
>> Regards
>>
>> 0:
>> https://web.archive.org/web/20070606064704/http://vms.tuwien.ac.at/info/humo
> 
>> ur/vms‑base‑time‑origin.txt
>>
>> On 27/05/2019 17:03, internet‑drafts@ietf.org wrote:
>>>
>>> A New Internet‑Draft is available from the on‑line Internet‑Drafts
> directories.
>>> This draft is a work item of the Network Time Protocol WG of the IETF.
>>>
>>>           Title           : Roughtime
>>>           Authors         : Aanchal Malhotra
>>>                             Adam Langley
>>>                             Watson Ladd
>>> 	Filename        : draft‑roughtime‑aanchal‑02.txt
>>> 	Pages           : 11
>>> 	Date            : 2019‑05‑27
>>>
>>> Abstract:
>>>      This document specifies Roughtime ‑ a protocol that aims to achieve
>>>      rough time synchronization while detecting servers that provide
>>>      inaccurate time and providing cryptographic proof of their
>>>      malfeasance.
>>>
>>> 1
>>> The IETF datatracker status page for this draft is:
>>> https://datatracker.ietf.org/doc/draft‑roughtime‑aanchal/
>>>
>>> There are also htmlized versions available at:
>>> https://tools.ietf.org/html/draft‑roughtime‑aanchal‑02
>>> https://datatracker.ietf.org/doc/html/draft‑roughtime‑aanchal‑02
>>>
>>> A diff from the previous version is available at:
>>> https://www.ietf.org/rfcdiff?url2=draft‑roughtime‑aanchal‑02
>>>
>>>
>>> Please note that it may take a couple of minutes from the time of
> submission
>>> until the htmlized version and diff are available at tools.ietf.org.
>>>
>>> Internet‑Drafts are also available by anonymous FTP at:
>>> ftp://ftp.ietf.org/internet‑drafts/
>>>
>>> _______________________________________________
>>> ntp mailing list
>>> ntp@ietf.org
>>> https://www.ietf.org/mailman/listinfo/ntp
>>>
>>
>> _______________________________________________
>> ntp mailing list
>> ntp@ietf.org
>> https://www.ietf.org/mailman/listinfo/ntp
> 
> 
> 


From nobody Wed May 29 14:27:38 2019
Return-Path: <watson@cloudflare.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D21681201A0 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 14:27:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.com
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 JjiEb4bk9GyT for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 14:27:35 -0700 (PDT)
Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D9B51200D7 for <ntp@ietf.org>; Wed, 29 May 2019 14:27:34 -0700 (PDT)
Received: by mail-qk1-x72d.google.com with SMTP id w187so2456189qkb.11 for <ntp@ietf.org>; Wed, 29 May 2019 14:27:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3upxybP7C7fqYLnIEDuSBuw76ATfcx+z/SprqFMwOeU=; b=mj8uClesK+YOl6mZ4JnA/BP7XGR3uHQIQp2sEznApnkvZ3yEEF39QdFwOTcWXEV0XT BPwQd2QVmc83VYNY6w15bh8rz1t31X1d3LkKIHw6TD23HpzsN49qgwKYEZbhYgLLe8mT BJTb0FGV8CgwOmnepD2srx/t9Lk/6H9JpKfTU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3upxybP7C7fqYLnIEDuSBuw76ATfcx+z/SprqFMwOeU=; b=cIETumCkOG4vggZp2+t04EstUhlAVyfuHT9+QMXH1xwtU310vEcRGfhIrzUJCtkW+5 N1BS30x73U0eJZPhB+Xm19zeI1qgJgRuJ0IPSDM7AkoPvV4JKAlqq1nEb/M7xs7zRjDM PTZ/MJWxPqp5DamD8kojtAE9yT0YUAz5ZfGPQcq6ffhXxHD/IkuIDIaj8httkRuQOD/F Q5m5hRwTv6TKfXuJL9kIydS+RpP1y2fZjVGVsTcK6VBuOdy+gE98yay+jsfLZYPc4y+o aS3cQDClMGavRGAfnmP+9TYsnSdTXBUfWNUHrfCaZsSII0sUJgn2JdqgcIWA9PM84JXe ZOZA==
X-Gm-Message-State: APjAAAVjG5svaZpLwKw6sWlcIdwrYr2QWFa0QbDotRbGU9EKMHMxme6S Rned1oD0rRUhB7Z1B00zb6LZlLaenUtAx6aWZltJKA==
X-Google-Smtp-Source: APXvYqweCCWUpotj8m6IKbFXBcorPic7XbsV9IDU/IyCN2IQF0LKWYEJRS8prpZYRbVZxTAjipLKqfHLA6S0/tj3B70=
X-Received: by 2002:a05:620a:1368:: with SMTP id d8mr5843qkl.107.1559165254145;  Wed, 29 May 2019 14:27:34 -0700 (PDT)
MIME-Version: 1.0
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com> <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net> <3ac96dec-e1ca-c0d0-1cda-7bb55c641a4c@si6networks.com> <5534f617-f15b-41f7-a89a-813afadb10f7@nwtime.org> <6d531349-8904-0e4b-5f8e-41ce43a2aecc@si6networks.com>
In-Reply-To: <6d531349-8904-0e4b-5f8e-41ce43a2aecc@si6networks.com>
From: Watson Ladd <watson@cloudflare.com>
Date: Wed, 29 May 2019 14:27:23 -0700
Message-ID: <CAN2QdAGQugtp=L3-MxEULJOUhtyjxn-g1z+HhGTr11cuU7xDaQ@mail.gmail.com>
To: Fernando Gont <fgont@si6networks.com>
Cc: Harlan Stenn <stenn@nwtime.org>, NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/n5RBvVQPqc5PbBwDkecSo6ywjeg>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 21:27:37 -0000

On Wed, May 29, 2019 at 12:01 PM Fernando Gont <fgont@si6networks.com> wrote:
>
....
> Having clients use ephemeral ports also allows for easy identification
> of NTP client vs server traffic -- if you wanted to distinguish that for
> the purpose of packet filtering.

As I mentioned on the virtual interim today, client port=server port
has negative implications for DDOS defense. I don't see what the
disadvantage of randomizing client port is that outweighs the
advantages.



>
> Thanks,
> --
> Fernando Gont
> SI6 Networks
> e-mail: fgont@si6networks.com
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
>
>
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp


From nobody Wed May 29 18:05:07 2019
Return-Path: <ask@develooper.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C23912003F for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 18:05:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=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 tdzVkiVK5Zc3 for <ntp@ietfa.amsl.com>; Wed, 29 May 2019 18:05:03 -0700 (PDT)
Received: from mx-out1.ewr1.develooper.com (mx-out1.ewr1.develooper.com [139.178.64.59]) by ietfa.amsl.com (Postfix) with ESMTP id 527DE120026 for <ntp@ietf.org>; Wed, 29 May 2019 18:05:02 -0700 (PDT)
Received: from mbox1.develooper.com (unknown [147.75.38.211]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-out1.ewr1.develooper.com (Postfix) with ESMTPS id 0C51B6E0DDD for <ntp@ietf.org>; Thu, 30 May 2019 01:05:02 +0000 (UTC)
Received: from mbox1.develooper.com (mbox1.develooper.com [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mbox1.develooper.com (Postfix) with ESMTPS id 5ADBD1760B4 for <ntp@ietf.org>; Wed, 29 May 2019 18:05:01 -0700 (PDT)
Received: (qmail 29728 invoked from network); 30 May 2019 01:05:00 -0000
Received: from unknown (HELO ?10.1.24.177?) (ask@mail.dev@203.125.67.130) by smtp.develooper.com with ESMTPA; 30 May 2019 01:05:00 -0000
From: =?utf-8?Q?Ask_Bj=C3=B8rn_Hansen?= <ask@develooper.com>
Message-Id: <22EEF05E-6705-43B8-87BD-2A171E632B7D@develooper.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_DC449B58-7538-4D53-9FA8-493165DE3E35"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Thu, 30 May 2019 09:04:47 +0800
In-Reply-To: <69295233-497e-fa31-3270-691407fb6f30@nwtime.org>
Cc: Fernando Gont <fgont@si6networks.com>, ntp@ietf.org
To: Harlan Stenn <stenn@nwtime.org>
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/rTU7WEJNSHVOhTnwhQpYv893oaw>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 May 2019 01:05:05 -0000

--Apple-Mail=_DC449B58-7538-4D53-9FA8-493165DE3E35
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On May 29, 2019, at 5:18 PM, Harlan Stenn <stenn@nwtime.org> wrote:
>=20
> The NAT case you mention is a red herring.  That case effectively
> randomizes the port already, at least outside the LAN.

I=E2=80=99ve seen =E2=80=9Centerprise NAT=E2=80=9D devices that =
deliberately didn=E2=80=99t port randomize source ports below 1024 (so =
rather than getting them randomized you=E2=80=99d limit the network to =
one NTP client per server IP per NAT timeout interval).

On IPv4 it basically doesn't work without port randomization (at scale, =
etc).

Ask=

--Apple-Mail=_DC449B58-7538-4D53-9FA8-493165DE3E35
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div =
dir=3D"auto" style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;" class=3D""><br class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On May =
29, 2019, at 5:18 PM, Harlan Stenn &lt;<a href=3D"mailto:stenn@nwtime.org"=
 class=3D"">stenn@nwtime.org</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: SourceSansPro-Regular; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">The NAT case =
you mention is a red herring. &nbsp;That case effectively</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: SourceSansPro-Regular; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
SourceSansPro-Regular; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">randomizes the port already, at least outside the =
LAN.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
SourceSansPro-Regular; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""></div></blockquote></div><br =
class=3D""><div class=3D"">I=E2=80=99ve seen =E2=80=9Centerprise NAT=E2=80=
=9D devices that deliberately didn=E2=80=99t port randomize source ports =
below 1024 (so rather than getting them randomized you=E2=80=99d limit =
the network to one NTP client per server IP per NAT timeout =
interval).</div><div class=3D""><br class=3D""></div><div class=3D"">On =
IPv4 it basically doesn't work without port randomization (at scale, =
etc).</div><div class=3D""><br class=3D""></div><div =
class=3D"">Ask</div></div></body></html>=

--Apple-Mail=_DC449B58-7538-4D53-9FA8-493165DE3E35--


From nobody Thu May 30 10:35:59 2019
Return-Path: <tglassey@earthlink.net>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BCA5120115 for <ntp@ietfa.amsl.com>; Thu, 30 May 2019 10:35:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.134
X-Spam-Level: 
X-Spam-Status: No, score=-2.134 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.415, 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=earthlink.net; domainkeys=pass (2048-bit key) header.from=tglassey@earthlink.net header.d=earthlink.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 ijKBMrjyI37F for <ntp@ietfa.amsl.com>; Thu, 30 May 2019 10:35:57 -0700 (PDT)
Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) (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 5682D120046 for <ntp@ietf.org>; Thu, 30 May 2019 10:35:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1559237757; bh=5T7QSjkIcI8417PdRx6vZmwopZWhsoVCPw94 er7SWIE=; h=Received:To:From:Cc:Subject:Date:MIME-Version: Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP; b=b9eg0IRh3 +13LRr3JThHix/JadKi8nrUJOAd4IqP5zqZxuoLYIXIFW77/rDNlGYjuvTMrdHsgv4o VkDYTn2KP061O9/3yShM2pk5wsNFcHMbWpW3vb2I5+eWmUMJYijTohHOdTnadRglOiN kLRJbpZ0IfMCoApVY1CT7iZSKbTufVVs0zjC6cuhXU6FdDBjaOYSB5F4Vd67YgTAkyp 6W6uFUEcvdzQXnstLwfBmEIT2NSNISFfgRNL71zg3tBFdAQ2UmyPFzWRfqYKIv1S5Tn igx5ukQ59wmCvbjS0sAXQsSPKtTyqXa15dA8eF7TZBItc6fRnmcaHXdqzm2kBcRLA==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=qQKolsopXm5oBm1cwNPf6cVz2UKHVY3ywcXihuV7nSUNcdO/jSBfYD0cNPaZyvnM0Rsl2qDiSBHPAOHjnwcDkiNB/YJHyj/bfUmB5+aXoZPkT7icW85vPf7mFT4IiOnXVw+BxH/GDwdf/q7ts13CQw6N53THliHsihjNsie/tQkGTs1cPHrcmwDawf0CYCTbr0/RPjZqJmpR2YhMeqpShClggGARViQEIf5XlO2XL3mBbNVQZINYLMxU5S96xoNokY9O/wyL2d60LexHW6+ze3aVf8aoQGrnl0Vo8vPsokR7fJWg7NaoFQdA2fE836Pt7CecN1+OEwDIHjnqLZU2Hg==; h=Received:To:From:Cc:Subject:Date:MIME-Version:Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP;
Received: from [93.84.107.101] (helo=[100.96.205.128]) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from <tglassey@earthlink.net>) id 1hWOy1-0005LG-2j; Thu, 30 May 2019 13:35:53 -0400
To: "=?utf-8?B?SGFsIE11cnJheQ==?=" <hmurray@megapathdsl.net>, "=?utf-8?B?SGFybGFuIFN0ZW5u?=" <stenn@nwtime.org>
From: "=?utf-8?B?dGdsYXNzZXlAZWFydGhsaW5rLm5ldA==?=" <tglassey@earthlink.net>
Cc: ntp@ietf.org,hmurray@megapathdsl.net
Date: Thu, 30 May 2019 20:35:52 +0300
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_0_1559237752381"
Message-ID: <E1hWOy1-0005LG-2j@elasmtp-galgo.atl.sa.earthlink.net>
X-ELNK-Trace: 01b7a7e171bdf5911aa676d7e74259b7b3291a7d08dfec79238879dd98a830fecfc1e86e7a8a8b05350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 93.84.107.101
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/IGyOdXYggcjJLH0kWID5yGiyoM4>
Subject: Re: [Ntp]  =?utf-8?q?Antw=3A_Re=3A_Antw=3A_Re=3A_New_rev_of_the_NTP_p?= =?utf-8?q?ort_randomization_I-D_=28Fwd=3A_New_Version_Notification_for_dr?= =?utf-8?q?aft-gont-ntp-port-randomization-01=2Etxt=29?=
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 May 2019 17:35:59 -0000

------=_Part_0_1559237752381
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

RGVwZW5kcyBvbiBob3cgeW91IGRvIGxvZ2dpbmcuIElmIHlvdSBsb2cgZXZlbnRzIGZyb20gc2Vy
dmVyIHNpZGUgYXMgcGFydCBvZiBhIGJpZGlyZWN0aW9uYWwgdHJ1c3QgbW9kZWwgdGhlbiB5b3Ug
Y2FyZSBhIGxvdC4KClNlbnQgZnJvbSBteSBIVEMsIHNvIHBsZWFzZSBleGN1c2UgYW55IHR5cG9z
LgoKLS0tLS0gUmVwbHkgbWVzc2FnZSAtLS0tLQpGcm9tOiAiSGFsIE11cnJheSIgPGhtdXJyYXlA
bWVnYXBhdGhkc2wubmV0PgpUbzogIkhhcmxhbiBTdGVubiIgPHN0ZW5uQG53dGltZS5vcmc+CkNj
OiA8bnRwQGlldGYub3JnPiwgPGhtdXJyYXlAbWVnYXBhdGhkc2wubmV0PgpTdWJqZWN0OiBbTnRw
XSBBbnR3OiBSZTogQW50dzogUmU6IE5ldyByZXYgb2YgdGhlIE5UUCBwb3J0IHJhbmRvbWl6YXRp
b24gSS1EIChGd2Q6IE5ldyBWZXJzaW9uIE5vdGlmaWNhdGlvbiBmb3IgZHJhZnQtZ29udC1udHAt
cG9ydC1yYW5kb21pemF0aW9uLTAxLnR4dCkKRGF0ZTogV2VkLCBNYXkgMjksIDIwMTkgMTU6MjAK
CnN0ZW5uQG53dGltZS5vcmcgc2FpZDoKPiBPbmUgdGhhdCB3b3VsZCBwcmV2ZW50IGEgZnJpZW5k
bHkgc2VydmVyIGZyb20ga25vd2luZyBob3cgZmFyIG9mZiB0aGUKPiBjbGllbnQncyB0aW1lIHJl
YWxseSBpcy4gCgpXaHkgZG9lcyBhIHNlcnZlciBjYXJlIGFib3V0IHRoZSB0aW1lIG9uIGEgY2xp
ZW50PwoKCi0tIApUaGVzZSBhcmUgbXkgb3BpbmlvbnMuICBJIGhhdGUgc3BhbS4KCgoKX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbnRwIG1haWxpbmcgbGlz
dApudHBAaWV0Zi5vcmcKaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9udHA=


------=_Part_0_1559237752381
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6ICdDYWxpYnJpJywgJ3NhbnMtc2VyaWYnOyI+PGRpdiBk
aXI9Imx0ciI+CjxkaXYgZGlyPSJsdHIiPkRlcGVuZHMgb24gaG93IHlvdSBkbyBsb2dnaW5nLiBJ
ZiB5b3UgbG9nIGV2ZW50cyBmcm9tIHNlcnZlciBzaWRlIGFzIHBhcnQgb2YgYSB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iZndDsgY2xpZW50J3MgdGltZSByZWFsbHkg
aXMuIAoKV2h5IGRvZXMgYSBzZXJ2ZXIgY2FyZSBhYm91dCB0aGUgdGltZSBvbiBhIGNsaWVudD8K
CgotLSAKVGhlc2UgYXJlIG15IG9waW5pb25zLiAgSSBoYXRlIHNwYW0uCgoKCl9fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCm50cCBtYWlsaW5nIGxpc3QKbnRw
QGlldGYub3JnCjxhIGhyZWY9Imh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8v
bnRwIj5odHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL250cDwvYT4KPC9wcmU+
PC9kaXY+


------=_Part_0_1559237752381--


From nobody Thu May 30 12:37:23 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C9791200FF for <ntp@ietfa.amsl.com>; Thu, 30 May 2019 12:37:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 gtFi9SBxcr35 for <ntp@ietfa.amsl.com>; Thu, 30 May 2019 12:37:19 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04FED120162 for <ntp@ietf.org>; Thu, 30 May 2019 12:37:18 -0700 (PDT)
Received: from [192.168.3.138] (unknown [186.138.212.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 47E1888F16; Thu, 30 May 2019 21:37:12 +0200 (CEST)
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: "Gary E. Miller" <gem@rellim.com>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <20190529074716.GG11346@localhost>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJ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AFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <98f790e3-9230-eb60-1f22-19d5fe15ca1e@si6networks.com>
Date: Thu, 30 May 2019 14:19:59 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <20190529074716.GG11346@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/fR3ltNHsKZK2omLzg19KaO31R_E>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 May 2019 19:37:22 -0000

Hello, Miroslav,

On 29/5/19 03:47, Miroslav Lichvar wrote:
> On Tue, May 28, 2019 at 10:56:39PM -0400, Fernando Gont wrote:
>>> http://lists.febo.com/pipermail/time-nuts_lists.febo.com/2019-May/096536.html
>>>
>>> Different NTP source ports yield varying quality results.
>>
>> So... this would be an argument for "randomize the source port on a
>> per-session basis, but not on a per-request basis", right?
> 
> I think it's actually an argument for randomizing the port on each
> request. If there are multiple paths to the server and the selection
> depends on the port number, the client needs to be changing its port
> to make sure some of its requests take the shortest path. The clock
> filter will drop measurements that took a longer path (assuming the
> increase in delay is significant when compared to jitter and clock
> dispersion).
> 
> If you had two clients in your network and they were synchronized to
> the same server, there could be a significant offset between their
> clocks if they used a fixed port. If they randomized their ports with
> each request, the offset should be smaller and not change randomly
> when the clients are restarted, etc.

Agreed. My question is: should one aim at the individual measurements to
be dropped, or at the server to be un-preferred over other (possibly
better) ones? -- I realize that in some scenarios this might happen with
all servers, in which case the former option (have individual
measurements dropped) might be a better option.

Thoughts?

Thanks!

Cheers,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492





From nobody Thu May 30 12:37:34 2019
Return-Path: <fgont@si6networks.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 136BB12018F for <ntp@ietfa.amsl.com>; Thu, 30 May 2019 12:37:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 GmQHoV_6TxjX for <ntp@ietfa.amsl.com>; Thu, 30 May 2019 12:37:29 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D69621200FF for <ntp@ietf.org>; Thu, 30 May 2019 12:37:28 -0700 (PDT)
Received: from [192.168.3.138] (unknown [186.138.212.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 53D9D88F1F; Thu, 30 May 2019 21:37:22 +0200 (CEST)
From: Fernando Gont <fgont@si6networks.com>
To: Harlan Stenn <stenn@nwtime.org>, ntp@ietf.org
References: <155841904754.12856.3727925672753047210.idtracker@ietfa.amsl.com> <9d21f083-4cba-1dd1-f5bb-c95984d3127b@si6networks.com> <9d74c6e3-244e-fdd7-184a-0572f4f144cd@ntp.org> <25275d68-8c18-1616-f226-dffe7e21091e@si6networks.com> <20190528174208.11253a67@rellim.com> <1a133133-5d6a-ca96-6c15-73e6933baffc@si6networks.com> <2794A95B-B118-40BD-AD60-DCB50CC32717@latt.net> <2107d74d-02da-cbd7-7a12-2837cb2e47a2@si6networks.com> <ced4c6d4-c34d-3460-eccc-b5608fbd340e@nwtime.org> <b4faacdf-3d9b-5e47-2415-276ef3d7f3af@si6networks.com> <69295233-497e-fa31-3270-691407fb6f30@nwtime.org> <15a5c387-8a44-5d7e-404b-e953a7a81737@si6networks.com> <f1b43a93-83cb-4a8a-1cbb-dcfda1e12943@pdmconsulting.net> <3ac96dec-e1ca-c0d0-1cda-7bb55c641a4c@si6networks.com> <5534f617-f15b-41f7-a89a-813afadb10f7@nwtime.org> <6d531349-8904-0e4b-5f8e-41ce43a2aecc@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwz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b3I5F8yX2Dnew+9OhgWXbBhAFq4DCx+9Gjs43Bn60qbZTDbLGJ/m 8N4PwEiq0e5MKceYcbetEdEUWhm5L6psU9ZZ82GR3UGxPXYe+oifEoJjOXQ39avf9S8p3yKP Diil0E79rn7LbJjMcgMLyjFg9SDoJ6pHLtniJoDhEAaSSgeV7Y745+gyMIdtQmrFHfqrFdjq D6G0HE+Z68ywc5KN67YxhvhBmSycs1ZSKAXv1zLDlXdmjHDHkU3xMcB+RkuiTba8yRFYwb/n j62CC4NhFTuIKOc4ta3dJsyXTGh/hO9UjWUnmAGfd0fnzTBZF8Qlnw/8ftx5lt4/O+eqY1EN RITScnPzXE/wMOlTtdkddQ+QN6xt6jyR2XtAIi7aAFHypIqA3lLI9hF9x+lj4UQ2yA9LqpoX 6URpPOd13JhAyDe47cwsP1u9Y+OBvQTVLSvw7Liu2b4KjqL4lx++VdBi7dXsjJ6kjIRjI6Lb WVpxe8LumMCuVDepTafBZ49gr7Fgc4F9ZSCo6ChgQNLn6WDzIkqFX+42KuHz90AHWhuW+KZR 1aJylERWeTcMCGUSBptd48KniWmD6kPKpzwoMkJtEXTuO2lVuborxzwuqOTNuYg9lWDl7zKt wPI9brGzquUHy4qRrA==
Message-ID: <a99eaa27-cb77-41f3-a63b-c8762268e9d0@si6networks.com>
Date: Thu, 30 May 2019 14:29:04 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <6d531349-8904-0e4b-5f8e-41ce43a2aecc@si6networks.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/K62vk-Fy-dOZHIJOTmcztZaBZbA>
Subject: Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 May 2019 19:37:32 -0000

On 29/5/19 15:00, Fernando Gont wrote:
> On 29/5/19 13:15, Harlan Stenn wrote:
>>
>>
[....]
>>
>> I'm not seeing that ephemeral UDP ports are predictable in general.  Got
>> a reference?
> 
> Appendix A (page 26) of RFC6056 contains a survey. Stacks were employing
> the same code. In some cases, it was a counter. In other cases, a value
> that was decremented. These algorithms are * RFcovered in "TCP/IP
> Illustrated, Volume 2" by Rich Stevens, for example.
> 
> Nowadays, at least Linux and *BSD do port number randomization. OpenBSD
> was first to do it. My co-author implemented the
> code in Linux.

FWIW, compare lines 285-455 of
https://github.com/freebsd/freebsd/blob/4a037b3dd4b704250886ced57a0ab6d97411e694/sys/netinet/in_pcb.c

(15+ years old version of the FreeBSD kernel)

vs lines 602-717 of
https://github.com/freebsd/freebsd/blob/4a037b3dd4b704250886ced57a0ab6d97411e694/sys/netinet/in_pcb.c

current version of the FreeBSD kernel.


Most of the changes in this area happened around year 2004+, when there
was a lot of work in the transport area around off-path attacks, which
lead to:

* RFC6056 (BCP on port randomization)
* RFC5927 (ICMP-based off-path attacks against TCP, which similar
analysis to the one I did in the interim call yesterday)
* RFC4953 (TCP-based attacks against TCP)

and others.

As noted, OpenBSD was doing port randomization before everyone else.

Thanks!

Cheers,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492




