Re: Blocking packets from suspicious ports

Carsten Bormann <cabo@tzi.org> Wed, 04 May 2022 08:28 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AE27C14F725 for <quic@ietfa.amsl.com>; Wed, 4 May 2022 01:28:24 -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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w3vdy2713JcB for <quic@ietfa.amsl.com>; Wed, 4 May 2022 01:28:23 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C70DC14F733 for <quic@ietf.org>; Wed, 4 May 2022 01:28:09 -0700 (PDT)
Received: from smtpclient.apple (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4KtVMS5TxnzDCgj; Wed, 4 May 2022 10:28:04 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\))
Subject: Re: Blocking packets from suspicious ports
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20220504082319.GD26036@1wt.eu>
Date: Wed, 04 May 2022 10:28:04 +0200
Cc: Christian Huitema <huitema@huitema.net>, Paul Vixie <paul=40redbarn.org@dmarc.ietf.org>, IETF QUIC WG <quic@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <862758CC-03FC-413C-B8E3-79F9F93EDB30@tzi.org>
References: <6830cf87-e1b6-14bb-7b10-9341fdb6d941@huitema.net> <1b686f1e-912d-5c02-cf5f-a8afbdd924bb@redbarn.org> <20220503032335.GB20878@1wt.eu> <e8c90e2b-e0f1-82ca-8243-2b41412de513@huitema.net> <20220504040937.GA25251@1wt.eu> <c29d88ab-20f2-45d3-6398-bbc5be8e7246@huitema.net> <20220504065344.GA26036@1wt.eu> <098A8520-0935-4D13-875C-97EBB50CB347@tzi.org> <20220504082319.GD26036@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.3696.80.82.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/ljWxPwMTppx04v52mIuJcFUTNFk>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 May 2022 08:28:24 -0000

On 4. May 2022, at 10:23, Willy Tarreau <w@1wt.eu> wrote:
> 
>> Instead of collecting wafting lists of undesirable ports, would it make sense
>> to more architecturally partition port numbers between those used by servers
>> and those used by clients?
> 
> That's the point, and that has been done for more than 40 years now
> by having unprivileged users only select ports >= 1024, resulting in
> the range 1024:65535 being commonly used as the only valid source
> range for incoming connections.

Sure.  But I wasn’t talking about system ports (< 1024).
Ephemeral ports (client ports) used to be 48*1024 up, and (user-level) servers were in 1*1024…48*1024.
This has weakened over time, but maybe it is useful enough to use it more again.

Grüße, Carsten