Re: [Ntp] NAT devices not translating privileged ports

Hal Murray <halmurray+ietf@sonic.net> Fri, 04 June 2021 08:07 UTC

Return-Path: <halmurray+ietf@sonic.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 9D4853A2E47 for <ntp@ietfa.amsl.com>; Fri, 4 Jun 2021 01:07:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.036
X-Spam-Level: *
X-Spam-Status: No, score=1.036 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, 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 SkgjXnxpWobF for <ntp@ietfa.amsl.com>; Fri, 4 Jun 2021 01:07:17 -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 9309B3A2E46 for <ntp@ietf.org>; Fri, 4 Jun 2021 01:07:17 -0700 (PDT)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 167CD40605C; Fri, 4 Jun 2021 01:07:16 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Fernando Gont <fernando.gont@edgeuno.com>
cc: "ntp@ietf.org" <ntp@ietf.org>, Hal Murray <halmurray+ietf@sonic.net>
From: Hal Murray <halmurray+ietf@sonic.net>
In-Reply-To: Message from Fernando Gont <fernando.gont@edgeuno.com> of "Fri, 04 Jun 2021 07:02:29 -0000." <c576bad79151f48543179594b4ea2bc46c85cdb6.camel@edgeuno.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 04 Jun 2021 01:07:16 -0700
Message-Id: <20210604080716.167CD40605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/vdc1w8e0cmOeSgx2KWAwr8z4YpM>
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: Fri, 04 Jun 2021 08:07:23 -0000

fernando.gont@edgeuno.com said:
> we were asked if we could provide a reference for the NAT devices do not
> translate the source port if the source port is a privileged port (<1024).

> Any clues/examples of this type of NATs?

Does that make sense?  What happens if 3 systems inside the NAT box all send 
using the same privileged source port?  ntpd without port randomization would 
do that.

There is the special case where you want to run a server (on a privileged 
port) located inside the NAT box.  I think Port forwarding is the usual term.  
In that case, you have to tell the NAT box the (internal) IP Address of the 
server.  Some/most implementations allow you to change the port number.

-- 
These are my opinions.  I hate spam.