From nobody Thu Sep 21 20:24:48 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rs6MN3qsbz4tx0B for ; Thu, 21 Sep 2023 20:24:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rs6MN1Mw6z3XNQ for ; Thu, 21 Sep 2023 20:24:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695327888; a=rsa-sha256; cv=none; b=jiz24WVCCgmUqh1OGiE7cR2ROUx0mbFeyLre6n6z0Inxet5Bhkzk3ZZVnTH4IhFQIPjs8g piJNeGtcUlS2Ov3JDLA/9KBf8hZBPaIiyZkzfF3RS2SS750qjB3Wcj/aONwbQy40BSshtT hGTlsq2QXzSnxj2kyIhLp49DVw9sGZ3OQORejanuHyQuF67nz7luIMvvI+l6NdJDq15LDA PX4CWdRQFwcE3HyuFyBcf5pb1sdJGro8D8SBk9auJZPNFrRNz5H5l64eS1urMClCVwZaWD UwhwwRcZ8dTqmos1W7C1citFwB7eARvZfoF+m1l277JPxGxx1orUxW1C++NwLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695327888; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EEfhhIjaTvoVkKl1QHbp+KROdBpZjXDkNM5aovtEC80=; b=OWraoc3XtqMmBgS2nCdbP46JNo+n7X51A9TuC033QZappFgcDJ3qELkwUevOsFpAe7SciK udm20shlAgq0Mt0t/JwikjhOP/Fd5bjoauzFih1DuFHdHGhTWQWd7h3f+lY7MIdVfoL8Db U8AXjuI0NJbqYukwZWQuZOyC7JVi3SrLohw2YfCgeASIv+GsFjCxTc+AuV+7kGumy9BgPk EMJKlXJoJpGrGqTY2DtxFPhsSvopFEgzo7qGC2NaLB+DBZ4EXXdxA05tdh3AVotGiyo8JF ekBwrfBi8wiBvwfJjp7Iw+cePwWGn6EFmHY3NPGGv3tNLtHiWK9C73vnniKlyg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rs6MN0S3yzsjc for ; Thu, 21 Sep 2023 20:24:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38LKOmD1089598 for ; Thu, 21 Sep 2023 20:24:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38LKOmvF089597 for bugs@FreeBSD.org; Thu, 21 Sep 2023 20:24:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274007] IPSec asymmetric crypto broken Date: Thu, 21 Sep 2023 20:24:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tpearson@raptorengineering.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274007 Bug ID: 274007 Summary: IPSec asymmetric crypto broken Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: tpearson@raptorengineering.com After upgrading from FreeBSD 11 to FreeBSD 13, I noticed the IPSec asymmetr= ic crypto option (net.inet.ipsec.async_crypto=3D1) no longer functions correct= ly.=20 On FreeBSD 11, enabling this option pushed the bandwidth of an accelerated (AES-NI) AES 256 GCM tunnel from ~500Mbit/s to ~800Mbit/s with no packet lo= ss, but on FreeBSD 13 it causes massive packet loss inside the tunnel, well over 20%. The hardware is AMD Opteron CPUs with Intel X520 10Gb NICs. MTU on the underlying link is set to 2000, with MTU inside the tunnel at the standard 1500. --=20 You are receiving this mail because: You are the assignee for the bug.=