From nobody Fri Dec 12 14:41:15 2025 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 4dSXFm1qM4z6L0Qn for ; Fri, 12 Dec 2025 14:41:16 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dSXFm19DLz3ZJX for ; Fri, 12 Dec 2025 14:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765550476; 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=VjhSieeb7kuERk2h+FU8lttDbdRDWLXMphNCLwKOSHA=; b=DtABRuG7illYrvaKtG1nVhT8LDHyTddUMRqzM2k+TkiYFbQdSZS4xvD0MSr9Gh7ZStkesp wK6FACUm7SyEgsEtwH1CUNQ0Ohd/XYk2RMEEKBjDwPX+FU7vsB1PqkFi8pM0A2ymf8XTJu dchrqfucXPM67F5t4m0BAI/7GVs0ZUXexpzbpSxrgP+MejT+6313dI4KHZLpIIqPFLY+MD RgGd2mgff0fvGkDqYmR66BYbpkkXy3KiMoMtBtQk+51biw8QiVZMwyUuKdtW9KXyoLY5o7 H2ph2r98a6olOgtb0q5+1TZbdpOg+sXfpSSFmiW/t1KaP9BTRwO1pO7ATWwoLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765550476; 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=VjhSieeb7kuERk2h+FU8lttDbdRDWLXMphNCLwKOSHA=; b=v5gaj+1ROWpcZRJWjtbmzeWWbWZbK51wXlDT7nV/mF2QPn9ke/VF92v95JSXh5TO5V7Tas kg7c6XppSwvpIySUqIh2bljO07EG5CQERkxh32iq15FNQ6AwzXI/pBZuUiGYQsCfK8gfu6 DYCIMM5OXGH3fr5julqQAzqPp8+hb1QutgbOzNBivONMQax6GkLJWnRNL8Q4mUolZmV12k PdBoMcmzvRWZYGCfKSuiVl7DZXPe7XHbzQAbx3nsjpQ+9UNts51EP3QE8BV7XLbUWZ3BQz PBWn5qTdzhgi/VSgJlt53m9WmsGFAN9erTbt/gFoAzK84ecCaoJUtMeQnkxC8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765550476; a=rsa-sha256; cv=none; b=h1S+fhGI3kl1LekZjBQs89Zm/VaSGk6RWHoanAgsjU/UJhQITRF6cJXUw0TZOLwKWQFLam q/yqhJBr8KLmiuXjvOcdPjYNfxR5UebeafoVCmCUyZ5eG3uveH/ruN3vy0CA/87MdIwiDk L7PJ/TsImi1hTqQ5TITZNABoSP/IA6R3gkoLZ/oYnVdDT/cJBc7FlLsMo70X3eJlA7cV0k 4ii3MFZW65d5ayz4G6G7nRMaU/z+dCYDAPR0VXzfcpNnPR6e2Mng/r/QhxCqcRmaienjNy O/WYkkwiuofRFAYm3+o9N9kom5YZY2Dat83z8JkRA4coqAnhCpmdVrfStUlEUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dSXFm0ZNcz69p for ; Fri, 12 Dec 2025 14:41:16 +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 5BCEfFA3058896 for ; Fri, 12 Dec 2025 14:41:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCEfFEM058895 for net@FreeBSD.org; Fri, 12 Dec 2025 14:41:15 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: net@FreeBSD.org Subject: [Bug 290768] if_wg(4): handshake response has src and dst reverse Date: Fri, 12 Dec 2025 14:41:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: it@vineyard-sha.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290768 --- Comment #34 from relvy --- With help from opnsense I am able to build a 14.3 kernel myself. I digged into it with if_printf() and printf(). wg_socket_init() runs with port 0 and for each wg interface with the correct listening port. udp_set_kernel_tunneling() registers wg_input(). But when udp_append() is called it never calls the callback function u_tun_= func that should point to wg_input(). It looks like u_tun_func pointer gets lost somewhere. Not left as a wild pointer but reset to NULL. --=20 You are receiving this mail because: You are the assignee for the bug.=