From nobody Fri Jan 6 08:13: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 4NpGLV3hGpz2p2FB for ; Fri, 6 Jan 2023 08:13:22 +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 4NpGLT71Svz3kV7 for ; Fri, 6 Jan 2023 08:13: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=1672992802; 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=rxGiZ793lj4Y6+q3iJkyZ5IZfaRT2NYX8soIV1+luUU=; b=mJT2yVo+jZXDI99qW/zrjCPPrkWATxMBVn0GV2/Lf0TZ9yU+r1Dh8/1PHwAUshUuH46rCX tI74DFclrAEAH3UeSM4ze4WXhWY07emegJRTOekh7uM0a6OYkEBu13KSzEBuAOstiGJkr/ WqW02mf0jqoBOqQjJhPLZqpX+kVu00g0p0QeXNDv8sRZ8FHE1/OXvrbLYIDYkSEnrRjp+5 kRjc6LU3qEdlwdVauF4lChbmAZa1hEMrElJogSDTl+sXscQ6uAmPU/CtNJxaPBwWcleJqg 21w5VkcYhdh+YwW5JmthLgXarvXIjmWgeiu9dfgttF4me0UahG5ME+k75LbdwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672992802; a=rsa-sha256; cv=none; b=uAxmBTqNUoxkFVAg2lwR2z1aXbhXlOUo8dlgdGwES4Ogq0rNlp8mgJhn/kn5h8qdufqi/e HJ0s/DGro1cf5pQqtz15wLhVCcHsvtWd8l0t08T1574DYLM1RFMKQ7sMucdOQppGMha4rr A4VZrE7Yo4ZGyHjYRZKjeRN5Id9ykcyOMNhMOckgRHD4io7Bj3o2GeuNxw4U4t3jvDaEyE wBy80l3Hh/To3U21tkowfm8TtMZtniGKCTRbhjY6wekUJUo25vcF579iBq4hy+vaQXkDUo T6kWrPZXRXNtMW9Z4g4h6qYDC4iSfys8hvESPzXJZe+E6tS32dERVn6JCI4N3A== 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 4NpGLT5pP0zNNS for ; Fri, 6 Jan 2023 08:13: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 3068DLOn008822 for ; Fri, 6 Jan 2023 08:13:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3068DLMT008821 for pf@FreeBSD.org; Fri, 6 Jan 2023 08:13: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] rdr rules don't work for traffic originating at localhost Date: Fri, 06 Jan 2023 08:13: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 #8 from dfr@rabson.org --- I was also wary of adding complexity to pf_test although there is some precedent here - pf_route does recurse back to pf_test. The other idea I had was to add a second packet filter call from ip_input and ip6_input at the p= oint where the packet is accepted as local but before its handed off to tcp (or = udp) but that seemed a riskier option. Perhaps the PF_OUT test for packets with local destination could be perform= ed in pf_route which would leave pf_test alone? --=20 You are receiving this mail because: You are the assignee for the bug.=