From nobody Fri Dec 29 09:50:20 2023 X-Original-To: ports-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 4T1gbd2HzJz55lbZ for ; Fri, 29 Dec 2023 09:50:21 +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 4T1gbd1Bm4z4tm7 for ; Fri, 29 Dec 2023 09:50:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703843421; a=rsa-sha256; cv=none; b=ra6Gnp6huEXTDM9v2sufISuRAF+6k3qvRNv62lgSGjTObWJufiNDL8t/O7wyQErDO8KuWm QLWx4nrf+h2R03XFONGf6WYEGZXM6Jgd3YojOHyux18Oob/EhZgacXtLPJySi2NE79wcaD Eb0JlqH79yxhhY1xQRq22vm1PpEYg3460UZ2gXZW7H85v0uN3M3P0PbNyDnf9uBi5L//W5 nXpOXWxrTnyMVABGdG9WeBFWzRDjnLQtz5VyJz5w4UikZyO0usrYrmF//Y4l+iCV5jrL8y 6ZJJj74fyl06N7Dw+1tartTJE3pwz1GAlSiv6tU6QLJQiXZxh7nNjZ/v0w1f5A== 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=1703843421; 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=481rh738ckQ7wY09VYPBrmgjB0wNBVKN/jQNefjtl8g=; b=MPOmoNX+G0In58uhn5mqMpK3QvNDkZGQl7j/3ZByhdm7XdZ2QW3PS7QtsTuALlaXumAMTX n6itNqNW6fZ9+IjxLDKd93kJbStf6V3s/Mair2QWdN0wgLnmZakqShdXSoCa6U8dRgRIN8 PdS8v5eNZoyg0o1UVuveb589IUzlCWYyz+u1/gNj5NUvP7ssrcC+CB9wDpGz/UR3BL+hhS 5vF8PoL37uQUhaVIt5Pp/V3uEN8VZzYekdjgfKqvOlV4W5DXGreG7y2KPgiyLQWGzcBmxB 8isDbhfPK/hWaFaoiUT/rEEpfhTqcB3pvLGwnIHFUryyKGiNec1JB3sz0arHLw== 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 4T1gbd00d4z11MP for ; Fri, 29 Dec 2023 09:50:21 +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 3BT9oKGg089929 for ; Fri, 29 Dec 2023 09:50:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BT9oKEc089928 for ports-bugs@FreeBSD.org; Fri, 29 Dec 2023 09:50:20 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: ports-bugs@FreeBSD.org Subject: [Bug 275980] security/strongswan 5.9.13 for FreeBSD 14.0 amd64 crashes at startup Date: Fri, 29 Dec 2023 09:50:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dronmbi@gtn.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275980 --- Comment #2 from Andrey Kiryanov --- Hi, I have tried switching back and forth between 5.9.11 and 5.9.13 multiple ti= mes, and without fail 5.9.11 works just fine and 5.9.13 crashes with signal 11. There are no leftover charon processes. Here's what it writes to the log just before crash: Dec 29 12:38:44 nas charon[34833]: 00[DMN] Starting IKE charon daemon (strongSwan 5.9.13, FreeBSD 14.0-RELEASE-p2, amd64) Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'aes': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'eap-radius= ': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'xauth-eap': loaded successfully Dec 29 12:38:44 nas charon[34833]: 01[LIB] created thread 01 [33e502612e00] Dec 29 12:38:44 nas charon[34833]: 01[LIB] resolving '%s.plugins.eap-gtc.pam_service' failed: Address family not recognized Dec 29 12:38:44 nas charon[34833]: 01[LIB] resolving '%s.plugins.xauth-pam.pam_service' failed: Name does not resolve Dec 29 12:38:44 nas charon[34833]: 01[LIB] resolving '%s.plugins.xauth-pam.session' failed: Name does not resolve Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'xauth-pam': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'des': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'blowfish': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'rc2': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'sha2': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'sha1': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'md4': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'md5': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'random': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'nonce': lo= aded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'x509': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'revocation= ': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'constraint= s': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'pubkey': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'pkcs1': lo= aded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'pkcs7': lo= aded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'pkcs12': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'pgp': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'dnskey': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'sshkey': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'pem': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] providers loaded by OpenSSL: legacy default Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'openssl': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'pkcs8': lo= aded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'fips-prf': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'curve25519= ': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'xcbc': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'cmac': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'hmac': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'kdf': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'gcm': load= ed successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'drbg': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] available TLS back= ends in libcurl: openssl Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'curl': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'attr': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'kernel-pfk= ey': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'kernel-pfroute': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[CFG] using '/sbin/resolvconf' to install DNS servers Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'resolve': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'socket-default': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'stroke': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'vici': loa= ded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'updown': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'eap-identi= ty': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'eap-md5': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'eap-mschap= v2': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'eap-tls': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'eap-ttls': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'eap-peap': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'xauth-generic': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[JOB] adding fd 8[r] to watcher Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'whitelist': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'addrblock': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] plugin 'counters': loaded successfully Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CUSTOM:libcharon in plugin 'charon' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature NONCE_GEN in plugin 'nonce' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature RNG:RNG_WEAK in plugin 'openssl' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature RNG:RNG_STRONG in plugin 'random' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature RNG:RNG_STRONG in plugin 'openssl' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature RNG:RNG_TRUE in plugin 'random' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CUSTOM:libcharon-sa-managers in plugin 'charon' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature HASHER:HASH_SHA1 in plugin 'sha1' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature HASHER:HASH_SHA1 in plugin 'openssl' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CUSTOM:libcharon-receiver in plugin 'charon' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CUSTOM:socket in plugin 'socket-default' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feat= ure CUSTOM:kernel-ipsec in plugin 'kernel-pfkey' Dec 29 12:38:44 nas charon[34833]: 00[JOB] adding fd 12[r] to watcher Dec 29 12:38:44 nas charon[34833]: 00[KNL] unable to set UDP_ENCAP: Invalid argument Dec 29 12:38:44 nas charon[34833]: 00[NET] enabling UDP decapsulation for IPv6 on port 4500 failed Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CUSTOM:kernel-net in plugin 'kernel-pfroute' Dec 29 12:38:44 nas charon[34833]: 00[JOB] adding fd 17[r] to watcher Dec 29 12:38:44 nas charon[34833]: 00[KNL] known interfaces a= nd IP addresses: Dec 29 12:38:44 nas charon[34833]: 00[KNL] bge1 Dec 29 12:38:44 nas charon[34833]: 00[KNL] Dec 29 12:38:44 nas charon[34833]: 00[KNL] Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CRYPTER:AES_CBC-16 in plugin 'aes' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CRYPTER:AES_CBC-24 in plugin 'aes' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CRYPTER:AES_CBC-32 in plugin 'aes' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CRYPTER:AES_ECB-16 in plugin 'aes' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CRYPTER:AES_ECB-24 in plugin 'aes' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CRYPTER:AES_ECB-32 in plugin 'aes' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature EAP_SERVER:RAD in plugin 'eap-radius' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature CUSTOM:eap-radius in plugin 'eap-radius' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature HASHER:HASH_MD5 in plugin 'md5' Dec 29 12:38:44 nas kernel: pid 34833 (charon), jid 0, uid 0: exited on signal 11 (no core dump - bad address) Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature HASHER:HASH_MD5 in plugin 'openssl' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature SIGNER:HMAC_MD5_128 in plugin 'openssl' Dec 29 12:38:44 nas charon[34833]: 00[LIB] loading feature SIGNER:HMAC_MD5_128 in plugin 'hmac' So it crashes somewhere inside eap-radius. Switching off eap-radius plugin = in /usr/local/etc/strongswan.d/charon/eap-radius.conf solves the issue. --=20 You are receiving this mail because: You are the assignee for the bug.=