🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6611

Re: [PATCH net 0/2] psp: drop packets with extension headers in transport mode

#6611
From: Willem de Bruijn
Date: Thu, 22 Oct 2026 20:35
29 lines
12503 bytes
Todd Bert Freed wrote:
> > Todd Freed wrote:
> > > While working on adding support for socket-less psp associations, I
> > > noticed that this case was not being handled correctly. It will be more
> > > relevant with that series, because it adds udp support, for which the
> > > psp nexthdr will be taken from the inner packet.
> >
> > Just curious: what is the plan for replay protection for UDP?
> >
> > As PSP depends on the inner L4 for replay protection today.
> >
> > FWIW agreed on the ext_hdr conclusion in this thread.
> 
> To clarify, socket-less psp associations will apply tunnel-mode psp encap.
> So it is in this sense that UDP will be supported (not e.g. adding support
> for udp sockets with transport mode psp encap).
>
> That being said, UDP which is PSP encrypted (transport or tunnel mode)
> would be susceptible to replay attacks, just like regular UDP. Except in
> the sense that after enough time has passed, the packet would not
> decrypt if received again (operator has rotated the keys, etc).
> 
> Not sure if you had some other kind of replay protection in mind.

Got it, thanks.

No. I'm just slightly concerned that casual users of such a feature
might assume that the security protocol handles replay protection.
Technical Details
Message-ID: <willemdebruijn.kernel.fe159199a64e@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350807-linux-kernel-netdev=dewy.ru
References: <20261021210200.788191-1-toddfreed@meta.com> <willemdebruijn.kernel.31749cef483da@gmail.com> <CADh2yMydLVUozaXJR=uvkkw5AjnxYhFs7V4dUAkfBs66i8D4ZQ@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350807-linux-kernel-netdev=dewy.ru
From: willemdebruijn.kernel@gmail.com (Willem de Bruijn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 0/2] psp: drop packets with extension headers in
 transport mode
Date: Thu, 22 Oct 2026 16:35:57 -0400
Organization: Usenet Network
Message-ID: <willemdebruijn.kernel.fe159199a64e@gmail.com>
References: <20261021210200.788191-1-toddfreed@meta.com>
 <willemdebruijn.kernel.31749cef483da@gmail.com>
 <CADh2yMydLVUozaXJR=uvkkw5AjnxYhFs7V4dUAkfBs66i8D4ZQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="325663"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:TXiYPM3vg5KRuUJszodUJfIJoLk= sha256:3ePjI9CZzy8TF6BTciZwKDNkl4fzeX9ftCSQpVkmp28=
	sha1:WpF03UdB9fOhCVjEjBQTkBw/hlQ= sha256:zm+n312CLdOKUbJBaX/OTCRoIHBpu00/ISLM0/56xgw=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id BC56211136E; Thu, 22 Oct 2026 23:38:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id HGpH-FFFUVV9;
	Thu, 22 Oct 2026 23:38:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350807-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id D348C11130A; Thu, 22 Oct 2026 23:38:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id B880E3B8DF; Thu, 22 Oct 2026 20:36:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792701360;
	b=ZDZy1o4zTEZX9ZPuxq51KhhMjy4/NTAdOK4qoscqzGpmkjWGIUJU9297RN7DKqJL1bD9
	 0IavtK9vRQeHv/pyZS+UeQEGNRZtOA2Ew0J7XAkrBYyHewa3Un5y2mu7pdSz3uqtqFUZB
	 4gT8sLjcrzDD/Jm7BzjjWb/2zNlOlnlgWWF+jmeKDfVSY5YGee6eptqs/UaAX9NK1jJKl
	 DbuTSO9+GWDiwq41rl2czrpG7K4t7Q29LEC+EW2bNsjk4CIAnSuctP/3pA/MV1rJkMnm0
	 JboT9JRoj4hIBxht3TXFb/ZBr8T5b5I1EUeoHemMd05IzqkOyMldvG25wV/mxMfOCpA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792701360;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=O3SMo0NE3DLwpih2KEd64CxyKuLYy3YU4G3rWnR4pLE=;
	b=n9TEh3RFfa0B2a05kJEcoMHJuslTDEMTLXRMNFvvBjBJYuKk+Z8jjJHgvwQfr7AoOJRg
	 SzGPllZ4c3fBuXblrZwJxJi1PtRYcEDI8isNmeLdjU/ltIchCzTYLE/j0oTdCjt+B6K9A
	 LV+rRjpKU3mTfZORojQEnys7v3aXhR7TdvjFfXfXD3V7bsxmrpdZEFEXUp6B+u3Yw8HLo
	 7rDQhnAIT8Ecwvdr7yfnjOJdXw3HAY9tkyAO5GpRuyn1Drz1L0JSv60oADgpWBzMJDpBe
	 wEYw3GveFgcLutunOZlATMQykfPvyuUUFITRPY4JrEhZyQXQ7zLXsmifgsjNcrLWbSA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b="exiE/1Qo";
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FB2C606A320;
	Thu, 22 Oct 2026 20:36:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=exiE/1Qo
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.172
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792701359;
	b=ImOU03BV996rIPBTFB9QJbzCCzd/zlEu9+JEyjgS3QnhucLEONVHg83d7uRhMha0qCJ3
	 MOZWK2jgHVXDNFIubB8olZEPJzupWkzli8fgFBXUxnfwLKScmjrd73oiAzhqsPwJxyA6D
	 wS9iqnpVBp+lgTpduyeLg81jUV3SRVar9WZyC8QfkdDZDoir37qD3WcjfzRode9a7Cnct
	 rRfPMBZQiSNeQyoaVDHDSCcuLezS8DYYDvGK0RqfBT0yZ9SvKKkKh/+D0sZGtatQLYyZ1
	 UfkzIv99giGsauwHK/tf6QT4U4cLEKL4jqsQtCUqbC8p1hgf6mtzeaE6KjKo5DkMrLw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792701359;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc:
	 Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=O3SMo0NE3DLwpih2KEd64CxyKuLYy3YU4G3rWnR4pLE=;
	b=2qTXLo5VoVpToy/xRSky/hfLiaKuoGiHMTYEHfHfexcyy+JU5OSb4ymqpMcxMGsROw6W
	 c11RVGzXD9hC8RytU533sBDNcHfxMDweXWibwas7wYZFeV+zHF2NfrG402JkCMwejGOpZ
	 dJMUc7/DSMN5j3+dkuxYSQFk72LEHNOoRXGCxAL8dnbxhGEJkFdHO86Tk8RUHk3TnEY5h
	 UG9kAtXU9gle/cevt9/OaiTaJffst6z5b7PavEXf8T4wIRAhpKOliSUTPu+ExP2xfwOxu
	 v5A6MAUlrHQmbTRy9ZYah1ra9JHQoLp4VIBqziwFTr/y5JlUMaoz1Ik7yB62vK2LYVw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b="exiE/1Qo";
	arc=none smtp.remote-ip=209.85.221.172
X-Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EAB2606A31A
	for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 20:35:59 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5EAB2606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-vk1-f172.google.com with SMTP id 71dfb90a1353d-5eaabf28c06so213515e0c.2
        for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 13:35:59 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1792701358; x=1793306158; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:mime-version:subject
         :references:in-reply-to:message-id:cc:to:from:date:from:to:cc
         :subject:date:message-id:reply-to:content-type;
        bh=O3SMo0NE3DLwpih2KEd64CxyKuLYy3YU4G3rWnR4pLE=;
        b=exiE/1Qozj5ypis2bDJhhKzYBSjGcr534nMvbfngWGniIu/6R9Msw+nBY1APTgiVbP
         VaI4PxOMSijd2+vhySeJq3GEoZSarPiWPQGzEby5iuFK6MtKqanox11GJ+Jze/cfX62N
         +k+SpSqSOeiSoXrvGUvbSlwPb7CDXlWhgviiWi8Isv8yTipm1WAql3Lt6zZUaojCSjJJ
         AP6anqAQT5EW82wBMgUKG7q8rJehluPiL+rwJ5XvGd4pivv06qzSnSkZyQMuxKvL2M6x
         rQzdST0Jscgv0KlF7yfN93Thj0XqFo+VSBkvsV3pe6gq8fSLci+GwE74fPoZjvqn9nyi
         OzBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792701358; x=1793306158;
        h=content-transfer-encoding:content-type:mime-version:subject
         :references:in-reply-to:message-id:cc:to:from:date:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=O3SMo0NE3DLwpih2KEd64CxyKuLYy3YU4G3rWnR4pLE=;
        b=tO8OB8XbG952phIkzzeqyJAP0xNPoGCcdgt0y/u36XUqoi6ZPRDRqLPZ4RGutYs1Ox
         yVjHZC0DrlEDncKdBRAsDtpKyUO3wIzXgX8Tv+DUvkLy2OPP1lRLcmoQeBQgoaQiu+W9
         1oiB17IVpuMi7SLaFna5/RVWN03opxtllob1Fo6SbU/Q4MPODc5BhjyRfirBMuZbVkpb
         UA0LmNXimZwYRdROyliG6X1d1zMqGNuGM4TwOitrttgQpx7zH2g+mcSWPT78yaniEDch
         kvhSp6DEehRTl/KwhDM3YTlQL3bRUgYbsszGbOIa6wmotzWNXGYXDzyYkjoYJw/kPRf9
         0bFg==
X-Gm-Message-State: AFq9FYJn2/NKLwFHT8Be0Xmuz2Bk+57T42ofQBjcdLiOXze9sjR56sR2
	WLCvoyME9dhaOJxk2sYA1xpX2O6e9VlMJ7CF2zFZW9X8POU89V7k69aM
X-Gm-Gg: AYBFou2bWa2SNhyjwoByz4fi2VYyC6XF+YVejVIoltox35I6A6ytLYevPipT6uV/9ta
	pVqq0Q4gmf3pE1SZZzRa56Xl7jmROptzCjQNVn2oxF+4wCNMa9qsDuljG69WUelzBbmMC5krXqz
	+iThwTHBcYFi6HMB49m880EaOz2bHHcSoHXhfsR7sUs7W5LiGsG3LzmgJy4xvMzTjRgWS93mDnj
	2GVkBSVtRoMcLNcSHTHl8bKV52/URYdW49Xp2dV6CWJOPnQtbgCmDV96t/In3DZhlThXe0MMLA2
	POAeR/ZqfGqWdGSr9yHDM79Vuu1T7t8n4HGo3yuEqtlKOAmZ2E+SNguFTMPhRM4eSJmOzgFMlgZ
	UAImEGw1bx44W3EbynKzK1XKWDtVuSQxU6bZIrOedrnWQHIHXNV4UTCSlHwIEYOkXoDicXeItRF
	6H1y5FHItCyloaPLFDcyUFtgPMTzeC2lWF+TWeDimo2IduYoBcQgAGpzfh4t/01itwJzaV09ByR
	yrbcf7JPEDcPhAW3vYxChZ12MkfDnhOQCa75VIEpN21nVUtZjLXo/mxiz0E8cdCzVyenAz2+Ocf
	ZZoUxECtfvByewfcAVGbdIcnN2B2Hl1x4FDBU39+ewQKqIwWbm9KYOyTGfO1xPqIt/ub15xhtnZ
	MzHPR1RhwpYCP/3s/QBE=
X-Received: by 2002:a05:6102:5708:b0:7cc:2c52:47aa with SMTP id ada2fe7eead31-7ccc2c697d6mr355449137.0.1792701358326;
        Thu, 22 Oct 2026 13:35:58 -0700 (PDT)
X-Received: from gmail.com (111.46.245.35.bc.googleusercontent.com. [35.245.46.111])
        by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5ec13f674c5sm218083e0c.16.2026.10.22.13.35.57
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 22 Oct 2026 13:35:57 -0700 (PDT)
X-Cc: netdev@vger.kernel.org, 
 Daniel Zahka <daniel.zahka@gmail.com>, 
 Jakub Kicinski <kuba@kernel.org>, 
 "David S. Miller" <davem@davemloft.net>, 
 Eric Dumazet <edumazet@kernel.org>, 
 Paolo Abeni <pabeni@redhat.com>, 
 Simon Horman <horms@kernel.org>, 
 Andrew Lunn <andrew+netdev@lunn.ch>, 
 Shuah Khan <shuah@kernel.org>, 
 Rahul Rameshbabu <rrameshbabu@nvidia.com>, 
 Raed Salem <raeds@nvidia.com>, 
 Cosmin Ratiu <cratiu@nvidia.com>, 
 linux-kselftest@vger.kernel.org
X-In-Reply-To: <CADh2yMydLVUozaXJR=uvkkw5AjnxYhFs7V4dUAkfBs66i8D4ZQ@mail.gmail.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list