Re: [Ntp] NAT devices not translating privileged ports

Miroslav Lichvar <mlichvar@redhat.com> Thu, 10 June 2021 14:44 UTC

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 AC8BC3A42DF for <ntp@ietfa.amsl.com>; Thu, 10 Jun 2021 07:44:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.796
X-Spam-Level:
X-Spam-Status: No, score=-2.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.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 JQbAp8E30PSs for <ntp@ietfa.amsl.com>; Thu, 10 Jun 2021 07:44:55 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 3C82C3A42DD for <ntp@ietf.org>; Thu, 10 Jun 2021 07:44:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623336294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XJkirvCFAVsEqdzhYhROkSyUtahC4/UhKPCxcflRMTY=; b=ULwOca2bmr+qN2zYVWzdSO3o4KzugdBlCGtpgSodSjrG0J4yScAVh0RHVRy1tiI3lPfkBf PizTmNJHhwjntCeu0n2SuOJbiEaKHtWew1oTPCubBP6EJ8RK4gHE17U+bfsUACQmR4TXxn C6gmsfPEfkj5+L3dKzd30ZxnciFakfY=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-236-WU5JYO3mP9-3GexOY6rDJA-1; Thu, 10 Jun 2021 10:44:51 -0400
X-MC-Unique: WU5JYO3mP9-3GexOY6rDJA-1
Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 141831054F9D; Thu, 10 Jun 2021 14:44:51 +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 62AE7100760F; Thu, 10 Jun 2021 14:44:50 +0000 (UTC)
Date: Thu, 10 Jun 2021 16:44:48 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Fernando Gont <fernando.gont@edgeuno.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <YMIlYGE2UcX5951O@localhost>
References: <c576bad79151f48543179594b4ea2bc46c85cdb6.camel@edgeuno.com> <YL3ZC6lgSOZE/s3Z@localhost> <65698f4e5c19022dbfce4de37671b9744c44bdd9.camel@edgeuno.com>
MIME-Version: 1.0
In-Reply-To: <65698f4e5c19022dbfce4de37671b9744c44bdd9.camel@edgeuno.com>
X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/9zwBX9yTIuscMpdrOYKr9v-K9q0>
Subject: Re: [Ntp] NAT devices not translating privileged ports
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, 10 Jun 2021 14:44:57 -0000

On Thu, Jun 10, 2021 at 09:37:43AM +0000, Fernando Gont wrote:
> I'm now considering whether we'd be better off removing the whole
> Section 3.4.? i.e., remove this:

That would work for me.

There is an effect of NAT that could be mentioned if you are
considering some replacement for the text. NATs typically have a
shorter timeout for UDP sessions that the client polling interval, so
if there are multiple clients using the same server behind NAT, their
source port from the server's point of view will be randomized even if
their local port is the same.

> ---- cut here ----
>  3.4.  Effect on NAT devices
> 
>   Some NAT devices will not translate the source port of a packet when
>   a privileged port number is employed.  In networks where such NAT
>   devices are employed, use of the NTP well-known port for the client
>   port will essentially limit the number of hosts that may successfully
>   employ NTP client implementations.
> 
>   In the case of NAT devices that will translate the source port even
>   when a privileged port is employed, packets reaching the external
>   realm of the NAT will not employ the NTP well-known port as the local
>   port, since the local port will normally be translated by the NAT
>   device possibly, but not necessarily, with a random port.
> ---- cut here ----

-- 
Miroslav Lichvar