From nobody Wed May 24 13:18:50 2023 X-Original-To: pf@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 4QRBbG6sy7z4ChqM for ; Wed, 24 May 2023 13:18:50 +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 4QRBbG4zbJz3NRG for ; Wed, 24 May 2023 13:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684934330; 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=SVPFzk6NgWn2zioLda78R3DaTHTDprSBSZMb0OC3rvM=; b=RmW76VtP3Rc+uV3SVEvFDHCCskbq7PsgdHJIvVA0faKLrVom45o7ptrfHAdT0hewogMTYQ 9hi5KFE0oUxLFlk/n3cmU8VK6Wkgj3fi2GgHlQvjn13sn2IxMJTkORlUUqObTVn7BSaj1R /wiIFF+ssdV8n6FVqRzP1ETHPDrpkVS/pYfTRRpAjBL+jEbICKwdTx8T2nAwS/Zyiyp8Mr NUw2OBKUzD7TaImBZ9/y4zHa6jDxt2p5QBJrp0g00POLUpEKz3lKlPU03Te5Adtu/no0Bq iAeMxzbt4M302zcqG529FIy97UYYLUngmrIitISbBnQaFKc7Lr1TQoZsKmNdSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684934330; a=rsa-sha256; cv=none; b=jb0d2NPZj2lxn6tevmwcgaS2Lcl2/WngXpCl2oZYB2Ynm9kmeFbEdg4nXCa5lfJH9D5ZHR slh5MV+9iCluWNua82Z3IqWL0C25s1i8zChKwbqoT/V19ejRtLXAANqlAPxIZsJLt4ML2Q jU8vPY9w0IwX4Co0ABAd0UTvWV5uPtawgc8sdFBtT5rQmQ+9jVWnCLxTeMF8UOEiRB2xwS yrlDWwWQkeeHqYGoPImFUYQflxpZVaUPfroXEh/7VhfrlCUk5POyArLMj0Rjk1V7tP4YOv 6Ro8TaefrBnPPUbpDUQtBEYmZD7wya03ZAyHWXnRWJrpLA3uWSYF2H0CwNIVKA== 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 4QRBbG417fzkPG for ; Wed, 24 May 2023 13:18:50 +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 34ODIoo5084420 for ; Wed, 24 May 2023 13:18:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34ODIoVF084419 for pf@FreeBSD.org; Wed, 24 May 2023 13:18:50 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: pf@FreeBSD.org Subject: [Bug 268717] [pf] [ipnat] rdr rules don't work for traffic originating at localhost Date: Wed, 24 May 2023 13:18:50 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dfr@rabson.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: 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: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268717 --- Comment #31 from dfr@rabson.org --- I've finally had time to get back to this today and I've opened a review (https://reviews.freebsd.org/D40256) with my proposal which adds optional p= fil hooks to capture the missing event for messages delivered locally. The only difference with the patch attached here is that its rebased and I added a u= nit test. I still think this is a viable approach, especially since it fixes the issue for both pf and ipfilter (and possibly ipfw but I've not tried to test that= ). --=20 You are receiving this mail because: You are the assignee for the bug.=