From nobody Sat Aug 02 19:58:03 2025 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 4bvYXD12X7z63VrN for ; Sat, 02 Aug 2025 19:58:04 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bvYXD00Bqz3Z3Q for ; Sat, 02 Aug 2025 19:58:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754164684; 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=rsvw5iJbenDaaJfKftfoeFP1jeIZULOfNFk0mhIvBdk=; b=RpiiEO43tYn5OJdc5KKjgsNWe0ygpvD8NJwf9/ZvTuTqaNISba6do/4Pu0aqHy2c7nUaY6 nZ99J06cqU7WuFMofoGm1CtC8Uno4sGTsn3LLYhxT9QGshawTlKGvTZWoyjyjHlDpPolhF wIiMpdHhPpix7J2goN09GarVhUvWMc0pZaTrNSqnfYKhUB6MwEXRQ2RUcmBvgHQqjqWfGW 6YT3zMMXwcK+fMSgkuXGFgNdbwVvxSp3MEpw57kPnBVvfOst6NU29APrww4dmGR9WztYED BT/E+xfeXzxEgAshIK7vSlj7ieGMFhoIeI/3rPNx+s0SSe5tbTJJM+v9KidS+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754164684; 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=rsvw5iJbenDaaJfKftfoeFP1jeIZULOfNFk0mhIvBdk=; b=iIVL9RMB2TraX8p7Xtdbzv4Fk0bokqXfa1UTaDTrOYHMh9RjinCDD0jfEVyjCvBK+tFDkM LtyZfqBEt4OTlDGQUugRAoOHFLTWQ8Z77mX7g1oOD4tjpHpbIU6Xlst5RFUbrx/EqGgoI2 8GlSdI7J6irntZ/kvntRGBk/eNSIu60ta6WgNemMgRcAkTfHGyQuduX1YMXCb7rsqXj41Q YZUjd1M1ZjoPcqSE49DzraswZiWpBbgearAJssjwX9uQCy5wnQIyUDiA4S/62fPhS04tie Pqd56eEIbQO38ZVg3XCNNbR38eBCs27l6yb2QCHcjj5Ibv+t46VMDcJUcPoyRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754164684; a=rsa-sha256; cv=none; b=SliVZlSy/7Z2nxwkQd5/ANePjPs4YXCnQwVRO13TzIOiAL/euYcZAXGRc+d+XqZwN722N+ wxdNRGf2m78YKpGfBZgwgRg9CobCt+pdk1atuJ7HFZR+1Y08Mh6iDY/meI7CjqsrvE1yl8 rWcyHPMq8zHankpUIGWcFNzwWJm0ZIRUeLTe/yEnsEQjmo5qzNL4E0DNSwI3h/kcarpNhJ qinyevffuI64mXXJ5vzGNwqVPxYEqm98LgY44Fqu4QDApHvc192jVxgNJXSyKnWWn8XuJl GbQYRRbVzasg6IDF89P8HXwhIhz6QecwUD+hyKUBVcoe1qG6ewUifGkm/7ADdA== 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 4bvYXC4m5VzXf7 for ; Sat, 02 Aug 2025 19:58:03 +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 572Jw3IV049383 for ; Sat, 2 Aug 2025 19:58:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 572Jw3A3049382 for bugs@FreeBSD.org; Sat, 2 Aug 2025 19:58:03 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 288611] netgraph ng_nat: doesn't handle NGM_NAT_GET_DLT messages Date: Sat, 02 Aug 2025 19:58:03 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.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 attachments.created Message-ID: 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: 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=3D288611 Bug ID: 288611 Summary: netgraph ng_nat: doesn't handle NGM_NAT_GET_DLT messages Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: tatsuki_makino@hotmail.com Created attachment 262644 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D262644&action= =3Dedit patch to indicate the parts that need fixing The following command will fail. # kldload ng_ipfw # ngctl mkpeer ipfw: nat 60 out # ngctl name ipfw:60 nat # ngctl msg nat: getdlt ngctl: send msg: Invalid argument It may be difficult to understand in the attached file, but this part for handling is protruding outside of the switch. --=20 You are receiving this mail because: You are the assignee for the bug.=