From nobody Fri Jun 25 12:27:36 2021 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 F26CE11D6DDE for ; Fri, 25 Jun 2021 12:27: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 4GBGVH65pKz3tgr for ; Fri, 25 Jun 2021 12:27:35 +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 B68DE2F26 for ; Fri, 25 Jun 2021 12:27:35 +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 15PCRZ09082185 for ; Fri, 25 Jun 2021 12:27:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15PCRZpt082184 for bugs@FreeBSD.org; Fri, 25 Jun 2021 12:27:35 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 256828] ipfw fwd stopped working after upgrade from 12.2 to 13.0 Date: Fri, 25 Jun 2021 12:27:36 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woody@woody.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256828 --- Comment #1 from Mike --- First box is 12.2 root@freebsd:~ # uname -a FreeBSD freebsd 12.2-RELEASE-p7 FreeBSD 12.2-RELEASE-p7 GENERIC amd64 root@freebsd:~ # ipfw show 01000 164 13146 fwd 146.185.211.254 ip4 from 146.185.210.33 to any out 65534 682 61472 allow ip from any to any 65535 0 0 deny ip from any to any root@freebsd:~ # ifconfig vtnet0: flags=3D8843 metric 0 mtu 1= 500 =20=20=20=20=20=20=20 options=3D6c07bb ether fa:16:3e:6b:d5:ee inet 89.208.84.44 netmask 0xfffffc00 broadcast 89.208.87.255 inet6 fe80::f816:3eff:fe6b:d5ee%vtnet0 prefixlen 64 scopeid 0x1 media: Ethernet 10Gbase-T status: active nd6 options=3D21 vtnet1: flags=3D8843 metric 0 mtu 1= 500 =20=20=20=20=20=20=20 options=3D6c07bb ether fa:16:3e:80:95:dc inet 146.185.210.33 netmask 0xfffffc00 broadcast 146.185.211.255 inet6 fe80::f816:3eff:fe80:95dc%vtnet1 prefixlen 64 scopeid 0x2 media: Ethernet 10Gbase-T status: active nd6 options=3D21 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 root@freebsd:~ # netstat -4rn Routing tables Internet: Destination Gateway Flags Netif Expire default 89.208.87.254 UGS vtnet0 89.208.84.0/22 link#1 U vtnet0 89.208.84.44 link#1 UHS lo0 127.0.0.1 link#3 UH lo0 146.185.208.0/22 link#2 U vtnet1 146.185.210.33 link#2 UHS lo0 Ping from outside to second IP works as expected with ipfw fwd rule.=20 woody@unknown ~ % ping 146.185.210.33 PING 146.185.210.33 (146.185.210.33): 56 data bytes 64 bytes from 146.185.210.33: icmp_seq=3D0 ttl=3D51 time=3D28.814 ms 64 bytes from 146.185.210.33: icmp_seq=3D1 ttl=3D51 time=3D33.822 ms 64 bytes from 146.185.210.33: icmp_seq=3D2 ttl=3D51 time=3D38.074 ms 64 bytes from 146.185.210.33: icmp_seq=3D3 ttl=3D51 time=3D42.863 ms 64 bytes from 146.185.210.33: icmp_seq=3D4 ttl=3D51 time=3D38.847 ms --=20 You are receiving this mail because: You are the assignee for the bug.=