From nobody Wed Feb 1 10:54:21 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 4P6JhF6CPQz3btNL for ; Wed, 1 Feb 2023 10:54:21 +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 4P6JhF58Tvz3rV0 for ; Wed, 1 Feb 2023 10:54:21 +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=1675248861; 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=PQUhR+jznZ43YCVEY0PShxK1llq72yvAwsJu/H1q3kA=; b=OzVB7M26KadM1ozYoX5/L7ZnsSpKzbAa0u/ZtOgn1b5w3YnHFCEyMwa+g4+vF8QzpfyB9m n+0iygE7d7a8RhTjBJJJPeNcEmzhhfklYn3wk/f2VSrondtwdtGl98u4EvTEHUFsmbtZgB h3lLHYJYBgylMBuKH1BpV4680TIQHu9n9AX/vLb0Ec5XColuO5hnr9yPCI9SursUH8evxv 0TkueoFQNyzIoyv9owv7x4m2I8pCSIUehQPNK1RSKs5i9+bDkGA7BXKg+jCxmE43RL2acD Xt6+SJZNHdZMehbXG4SjKHPRcT4sSr24qY8FSVfvdUC+96Bby4V/JICDRZALfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675248861; a=rsa-sha256; cv=none; b=NpNsrzdCUe4YZTSkHHEE3vOA4bBDjSOTwNHJJ8qYO1K7h/SfbB1Nhgm3cbUfIU+h8cXWb/ GL+nIIHF86kEIsZP6s2cSG8Pxn3ZQdHSu6+PfEGlIArJICei+zTAAXuWr4fIRHsCQwP2/6 i9L8jdRsGqy9bWaFrkZGb+vIOUGiJowfjTu7b1SPnJFY+5BONQeTWSlxiccBRvZDE/glIk 4hpkx3q/qozrTYA3sVTQ+T+pA1oUs6WB1pWX7fuuOJr392Rj8lpnxUCqNAqVSzkF6QlCW/ TiNJ3QgG1li3zHVc9b+TLGk9M7MUKht6J9a0G5d19euJJF0yBypOF8utMU0x2w== 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 4P6JhF42n0z1QBw for ; Wed, 1 Feb 2023 10:54:21 +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 311AsLoY039587 for ; Wed, 1 Feb 2023 10:54:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 311AsL4s039586 for pf@FreeBSD.org; Wed, 1 Feb 2023 10:54:21 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:54:21 +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 #28 from dfr@rabson.org --- (In reply to Kristof Provost from comment #27) This is another reason for being conditional on the sysctl. I am open to alternative suggestions for this but I think we do need to treat the hand-o= ff to local L4+ processing as a potential filtering event. I think that Linux iptables make this clearer, allowing filters to register= for NF_INET_LOCAL_IN or NF_INET_LOCAL_OUT specifically. --=20 You are receiving this mail because: You are the assignee for the bug.=