From nobody Wed Feb 1 10:28:32 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 4P6J6T0QSsz3bqtN for ; Wed, 1 Feb 2023 10:28:33 +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 4P6J6S6VvXz3pl6 for ; Wed, 1 Feb 2023 10:28:32 +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=1675247312; 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=UdzX5mJxgTzhoa0AsOXsbHRszJbz/0edZ1Jc7aCy7WU=; b=TwojB3pbDxBLWWAfPsSmSz+P/lVyAzKWYgN49qPQ3NViidEuxW6H6a2XamBXijBpyYMXiR oJQt3HuAIUBaZg0sdArFbJJsLYRjgbmeTxP/njQmQIwuVcx8a8TBAwVNVKbvRHQhsiqLcj 6lFT3ima8XAtIufMY04L37H5rMn24G1lJ6DODtaift1vtijDwCGCIgGYxwN7lJE8hlRfRW gHLBP5VZ+sQMtchEXDnQRoXo3ZC06ume+7h4GrBvV3N768CXPrbrqTJXT2SuK8G3ylE9g2 oIMq/LirxY0ldMdWmvQhkaB5V0V8n1Uq8RjUUxhn+zO6NZP8KND7IOafM577jA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675247312; a=rsa-sha256; cv=none; b=tSzHvDV/DgxKJDyyYTfAymg/c/VidFEtISjXnuLv6hUJawyUZ1Dy2zBVr2wXumFxdqjNVa rXQZG2iGF8LV6c9ywMk+aBcVVDvWu84dGZbRKFD+1Vo28CH3FveGyQ2NueRvi2yyUilhtZ LbvY8gszBnV/LsPRHJlou8aq+YStE7Kk3FWSKj/IKCcSMhfxX07Hl3OXsxPf+9r9/nAdIe G6/UvoqNprlCi2blCtPsKmzBheq5zDXu6WiWkTGN38bLCxznloI6SgbfhGQwrCuJAOUB+1 88paqyzud9laCtj8R5ZWxxK9Lv+/L+KQKFKRNZzjxzZ1rPIPZIlp3Iz1GRc5ug== 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 4P6J6S5Tdyz1Pw2 for ; Wed, 1 Feb 2023 10:28:32 +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 311ASW0A099460 for ; Wed, 1 Feb 2023 10:28:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 311ASWpg099459 for pf@FreeBSD.org; Wed, 1 Feb 2023 10:28:32 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, 01 Feb 2023 10:28:32 +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 #26 from dfr@rabson.org --- (In reply to Kristof Provost from comment #25) Yes, its calling the hook for everything which matches a local address. Thi= s is partly why its conditional on a sysctl. It is similar to the previous fix w= hich put the extra out filter in pf_test* but moving it up a level allows it to = work for ipfilter as well (and possibly ipfw although I have not tested that). --=20 You are receiving this mail because: You are the assignee for the bug.=