From nobody Fri Dec 12 16:55:54 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 4dSbF65jffz6JwDl for ; Fri, 12 Dec 2025 16:55:54 +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 4dSbF65GpDz3wtM for ; Fri, 12 Dec 2025 16:55:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765558554; 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=HuIOpg6A8a8MvLFca2k9vxhgPUVKNtoONguTGXya88c=; b=rTgF4sx5tJ+feY9xlrEo8caNxytUijA41oXT1ZwHFFBrtMF71rwR51oMeEj5B0J7sGowKt u1XnubEpSoIbxjvo9c2OrF2CGQ4ZQS+UrgWn2xdmb1tAIGbdtnNyFSa8W09DJ4RKDIbqNN qgWkS6iwNDUeR0kGWciSYKw3XA/uDCK9nRcugO9a2hnBzhMncBsrDdLNG5i3nQiyxFfj4s 33w/NhrW0Y1rG6WuskRcmRZrU4c3JKLau38oEw9Gry9cA58KQ7vSN2PlKQ/Eolv664ptnw SfLFSk0JSnLI5XXuGDxlkU3aJklv3zsKUEdfe/4yIn+ORqGgB6gTWUzuQ+cNpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765558554; 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=HuIOpg6A8a8MvLFca2k9vxhgPUVKNtoONguTGXya88c=; b=Rp62GqhmESA0cgFTXX1xXGDTXeRAfS6Ey1mN5U9/27e3R9zyJ7/71J0RFwCoO9VEJPvrmn YF9mP9xEzLN/fzS7OqxMERq0SReMw819kbFwMpqg+ciwUm/YNaT0Be7AwNQKgpE+fLfKT2 RKTvdqS+o+KDfq61CXqNL0DjSxjDDCzwOrzeDHaOc6Y9rCiWy+vToJaZTJ5Z5dnfJgecwK 07e4O+nndB0O2zewsEhaafl+tEGFhi32jF0vv5CmoIcH1UELA2OPUlYeYOLomCDOYmqyTj G7gy/TowQp4DZyeG59mkx+Yp3NKxcqrcvVXzyGqUco+XgG7Kv+m2p+9ChlfnJw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765558554; a=rsa-sha256; cv=none; b=ZaZeDd3BpUyJav5FQ8mKZvdlUELvWGnSomsjD9LsG7ZOrVEjxvVMD4uWB3smaZZN0bwC5a sZZlUAlWJ+PsCxi6sRUlYb2QJIjjEzSBAR7y6IxwgeAvT3nk61PySqXonm3oCBMtjB8RBs izgpuQsDcTlpo64E9ldyJkCYZytNPkjXE28BZ5k8KNvh61N8vyvvahEI9NofX5my5Ju0Y+ IQVOtW6IZC3HhKpRJW8SXOjSGtXriWLzL5GJ9d7eh0XXALGDjnS8ibjWgFrPOzE6VGdpb5 P6bB6rWSpx15j2DatgFAo75K2YCUnTAf9L/hoPCekj4EZtVO0j90Txknc98eTQ== 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 4dSbF64pFvz9cx for ; Fri, 12 Dec 2025 16:55:54 +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 5BCGtst0081017 for ; Fri, 12 Dec 2025 16:55:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGtsrj081016 for net@FreeBSD.org; Fri, 12 Dec 2025 16:55:54 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 16:55:54 +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 #40 from relvy --- (In reply to Kyle Evans from comment #35) How is a inpcb created ? Is it possible that I have three inpcb's - one for each wg_socket_init() invocation? If so, u_tun_func is set for the inpcb associated with wg0. Another u_tun_func is set for the inpcb associated with wg1. The incoming packet gives me the inpcb associated with port 0 which has no u_tun_func. --=20 You are receiving this mail because: You are the assignee for the bug.=