From nobody Fri Aug 5 14:18:09 2022 X-Original-To: bugs@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 4LznkT4lgPz4Y4w4 for ; Fri, 5 Aug 2022 14:18:09 +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 4LznkT3KsWz3P7G for ; Fri, 5 Aug 2022 14:18:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4LznkT2Nmjzwqb for ; Fri, 5 Aug 2022 14:18:09 +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 275EI9Rh009190 for ; Fri, 5 Aug 2022 14:18:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 275EI9cp009189 for bugs@FreeBSD.org; Fri, 5 Aug 2022 14:18:09 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: bugs@FreeBSD.org Subject: [Bug 265649] [pf]: regression: PF ignores translation settings on gre(4) Date: Fri, 05 Aug 2022 14:18:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: eugene@zhegan.in X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659709089; 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; bh=LMii8Atw/qbW93MVK8gFTxuXa7PWnXrRHU1v4n8UKws=; b=V52zxa+wCYgUIWmEZqNVWLk+k7o+GEMBQfpMPWkbybZ10jrXW1zb1mnVq546kXXnuZzaDn fEb9YZUbFUjawi0adNf1WOkEm5q3TDgPbQlztCHRAIJcM9WgTRVDO5VqZeIGPIkYD73ZpF AgdlWjlpjnnMjZxIfmH+5A6Lu5cfm/v2+GfzoSw0RVkls84jrQsX6xAZecut4MmVgnwMqd CYcSJtIAQnmAuT5kX4Rf1Mr470U5GJMQO63kPqx3sif3LyxKOwW+y+QaBNVpdnkZzTHROZ 6XwUnzGkpJLn42RjXzHf2laykGqVfzIHeBMcpn4+f6dcke6BUa7HW+/mPyupwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659709089; a=rsa-sha256; cv=none; b=UtTJ8HyZu4TVk+Hb/EF8GWtBtjwmLiXZPU8jK1FHcuOf7SDx9T2OETCB5LSKJIRuyOWMGp gkDPeEk2X9k+9N3K6dyzWP2TVdnJFM7FoCkHlcSQp17MpHtWJvHOOS/QQr+51Y+1rszZtx fvZW98VUnpgixvlxHc4yHOQksTPm8Z2DLNk4NaorXqiGdAN5RxtvRD3DlwUH4Bw8pP3Tkn OxKLD9r/5WjXkOv2eb7qrripw51kQWh2Q1YJ13AUq3Sp2wum68GFCR3OBn6YwAmzn0isJe 0nhdfov2iQGRqrQhieEjfFSWn0KG1WTrPQZqSxOYjYtaDMV8rtrrF98c0qZniA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265649 Bug ID: 265649 Summary: [pf]: regression: PF ignores translation settings on gre(4) Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: eugene@zhegan.in Starting from 13.0 PF ignores translation settings for gre(3) (at least !) interfaces. PF rules: nat on gre0 inet proto tcp from to any -> 10.4.0.42 table: # pfctl -t mylans -T show 10.8.0.0/24 172.16.0.1 192.168.52.0/24 192.168.53.0/24 192.168.54.0/24 192.168.55.0/24 192.168.56.0/24 192.168.57.0/24 192.168.58.0/24 192.168.59.0/24 192.168.60.0/24 192.168.100.0/24 192.168.175.0/24 192.168.176.0/24 PF rules with counters: @3 nat on gre0 inet proto tcp from to any -> 10.4.0.42 [ Evaluations: 113076 Packets: 0 Bytes: 0 States: 0= =20=20=20=20 ] [ Inserted: uid 0 pid 77972 State Creations: 0 ] tcpdump on outer interface: 17:03:32.713893 IP 188.17.155.29 > 89.249.17.74: GREv0, length 64: IP 192.168.57.23.50768 > 10.3.51.63.22: Flags [S], seq 384973512, win 29200, options [mss 1460,sackOK,TS val 4036935166 ecr 0,nop,wscale 7], length 0 17:03:33.715044 IP 188.17.155.29 > 89.249.17.74: GREv0, length 64: IP 192.168.57.23.50768 > 10.3.51.63.22: Flags [S], seq 384973512, win 29200, options [mss 1460,sackOK,TS val 4036936168 ecr 0,nop,wscale 7], length 0 Had to use ipfw for that. This was working across all of the 6.x -> 12.x versions. --=20 You are receiving this mail because: You are the assignee for the bug.=