From nobody Thu May 05 12:07:08 2022 X-Original-To: net@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 167EA1AA8EE6 for ; Thu, 5 May 2022 12:07:09 +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 4KvC9m696gz4jWW for ; Thu, 5 May 2022 12:07:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 AFF3027073 for ; Thu, 5 May 2022 12:07:08 +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 245C78SA092466 for ; Thu, 5 May 2022 12:07:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 245C782U092465 for net@FreeBSD.org; Thu, 5 May 2022 12:07:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 263379] [regression] [ipsec] compatibility broken between stable/12 and stable/13 opencrypto in AEAD mode Date: Thu, 05 May 2022 12:07:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651752428; 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: in-reply-to:in-reply-to:references:references; bh=3DrIQjFGl8ysjZwBciA4kAsWzXCV+dK7/gUVjoytjcY=; b=YRO6SLp74khixQhba2gbmE3rVtnhylepjWnwtlkx7y3E2pGX5iZOweMggZlrRh96FVhyXT +Sf1vSRNdDyLjMLQw168YQ4th8qLKjrZ5+9WRBtvz+yCN3JcwPwjGh9nrvls14LDKsDqcH a5Cwzvc+AvoQE/oVjbrsPpT+mIxeglFFZxVJuOJwOSs5LdJfBipBscckH0O1a2gbcQkPjI G9D83z2y7AMDORkAw4KdhtBMgPBCHuFOmIdgY5xNkIBG8Xucjy+1NxbRjMnh+GsVEEe3U2 4f2EtnASJDT+YUErkKWwV3HuSSOiaT2Ng0rQsDK3j/ZDMmFVk9EZznxp0H1/yA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651752428; a=rsa-sha256; cv=none; b=w1UWgzz/i8f8rOiHSr7oDj0ryM/I9xWip2beRkvIAbdffi9rJD1KJqh5gHlVlo85u5WKux QyCbKyvcLmjZyWoTyjFju6JRC/jb4LlbGDiyBgFKJB021p72tGTFAoankXVV3a9wATyRaP zqDwU2zHJI4zOoB2w8VfjPFcb7GhXDua7Tq8LAg48Nx/LsasEVrXRPf8aRQxqrFV/foKcp gwOQT8q+Nfij2B7k5EgYiP0op08PBet09n7lRwMqeSiTs3DWAGI7sf5h661E8vDsy1y08w BAh9y+gMNG79dPfkRsdOGYqylXJu4sAl/e/az+uY9DZ9kK+etZ+ioW0IXVYWLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263379 --- Comment #13 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0aef8628458a7d03e3c7e63ae05e22819= 1167eec commit 0aef8628458a7d03e3c7e63ae05e228191167eec Author: Eugene Grosbein AuthorDate: 2022-05-05 12:02:29 +0000 Commit: Eugene Grosbein CommitDate: 2022-05-05 12:02:29 +0000 If setkey(8) is used without ipsec.ko loaded beforehand, its attempt to install SA/SPD into the kernel results in cryptic EINVAL error code. Let it be a bit more user-friendly and try to load ipsec.ko automatically if it is not loaded, just like ifconfig(8) does it for modules it needs. PR: 263379 MFC after: 2 weeks sbin/setkey/setkey.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=