From nobody Sun Jul 30 10:13:33 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 4RDHJq0yvqz4q7yS for ; Sun, 30 Jul 2023 10:13:35 +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 4RDHJY6MX9z3wGG for ; Sun, 30 Jul 2023 10:13:33 +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=1690712014; 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=iJRc5kU6Zn+8IXfIjHLIYQVmW0Nc325RvmX7T8KHxMQ=; b=K4s5G+pqvaAN5ueJO5BVxYLkfQttg+rHv4/JpSt6RGrxa9Sts6mdeoBnsO+tl7S2YZdQ25 8MFUqC+8wMTSC1h8FVWqZmW8MQC65hDHnmNy5zb3mEB49yNE5rWSFPlHLmerRTA/guah+n FSb+IxP0oE+HyaRf7uPAXXr4mB5dDQskxO9sXQiUIbSivIOP3GNr/gvw0yMyKVy3w6hvVI vjAm8uR3Rj6+Z6oDh3oPbQL55x1nTXQrGI6La+wCnlxtCb9FsnHZMxgX9pptXMDwP9FLdz 0Vo9JbWo8WLZLPhmbkJ6aBL1nhpfAD8HUwzka9w6PxBcKcKHP7P3GmlhbCl+2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690712014; a=rsa-sha256; cv=none; b=ByOge6CTe1qRdPEjlJiK98rYt85SnoAiPw2GNGuRtQOquebSmc8WotNU5Z8psTXJ0lmRui c7+H8XYbUBNM7+mbsr0ti+tXOoSUqGuIuNOpu/r897yz2LFNSUULhAfa8MIZ7ftiAmkAfp QXchtjahZ7mfazckmX2x5nOWXWBtRZ4bnSyGhcmyonlTMfAbr6xOBh/oGCG8QQ8iPk9djF V3SpLq6JR+wqxbUtSzr9FrexrwkZ2H3OIgpVpk5fooCTV7aOR+E+P95B0I26FUV7sh7pe5 v0S6D/C0yEt++na+H33mM1Glh7aMgS4bPeEkrnaxOxUn+7NZSA71//xN2gQcPw== 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 4RDHJY4r1Wz19LY for ; Sun, 30 Jul 2023 10:13:33 +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 36UADXt5050449 for ; Sun, 30 Jul 2023 10:13:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36UADXvG050448 for pf@FreeBSD.org; Sun, 30 Jul 2023 10:13:33 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: Sun, 30 Jul 2023 10:13:33 +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: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268717 dfr@rabson.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #37 from dfr@rabson.org --- Closing this - for 13.2 and later, redirecting from localhost mostly works = as long as the target address for a connect attempt is not 127.0.0.1 or ::1. Fixing that probably needs a more flexible binat since in this case, the ke= rnel will typically choose a localhost source address and the rewrite needs to change that to the outgoing interface address. Since that is a feature requ= est for pf, probably best in a new bug. --=20 You are receiving this mail because: You are the assignee for the bug.=