From owner-freebsd-bugs@freebsd.org Thu Apr 2 08:34:31 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3440C277D6A for ; Thu, 2 Apr 2020 08:34:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48tGZb04kCz3ygX for ; Thu, 2 Apr 2020 08:34:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 99316277D48; Thu, 2 Apr 2020 08:34:23 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 987F8277D47 for ; Thu, 2 Apr 2020 08:34:23 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48tGZQ48mYz3ydW for ; Thu, 2 Apr 2020 08:34:22 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B2FEDB20 for ; Thu, 2 Apr 2020 08:34:14 +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 0328YEED053281 for ; Thu, 2 Apr 2020 08:34:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0328YEnD053278 for bugs@FreeBSD.org; Thu, 2 Apr 2020 08:34:14 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 245277] ipfw fwd tablearg does not honour host routes Date: Thu, 02 Apr 2020 08:34:14 +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: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bugs.freebsd.org@mx.zzux.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2020 08:34:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245277 Bug ID: 245277 Summary: ipfw fwd tablearg does not honour host routes Product: Base System Version: 11.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bugs.freebsd.org@mx.zzux.com Example route -4 add -host 169.254.1.1 127.0.0.1 route -4 add -net 169.254.1.2/32 127.0.0.1 netstat -nrW4 Internet: Destination Gateway Flags Use Mtu Netif Exp= ire default 192.168.232.254 UGS 7328 1500 lan1 169.254.1.1 127.0.0.1 UGHS 256 16384 lo0 169.254.1.2/32 127.0.0.1 UGS 7008 16384 lo0 ipfw table 8 list 2.2.2.2/32 169.254.1.1 2.2.2.3/32 169.254.1.2 ipfw show 7000 7010 07000 26151 1297044 fwd tablearg ip from any to table(8) 07010 384 32256 fwd 169.254.1.1 ip from any to 2.2.1.1 07010 512 43008 fwd 169.254.1.2 ip from any to 2.2.1.2 On FreeBSD 11.1, 11.2 all the ping & traceroute to 2.2.2.2, 2.2.2.3, 2.2.1,= 1, 2.2.1,2 are identical. ping 2.2.2.3 PING 2.2.2.3 (2.2.2.3): 56 data bytes 36 bytes from localhost (127.0.0.1): Time to live exceeded Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 21c2 0 0000 01 01 0000 192.168.232.246 2.2.2.3 traceroute -m 4 -I 2.2.2.2 traceroute to 2.2.2.2 (2.2.2.2), 4 hops max, 48 byte packets 1 localhost (127.0.0.1) 0.075 ms 0.046 ms 0.067 ms 2 localhost (127.0.0.1) 0.041 ms 0.043 ms 0.037 ms 3 localhost (127.0.0.1) 0.038 ms 0.044 ms 0.038 ms 4 localhost (127.0.0.1) 0.040 ms 0.048 ms 0.040 ms But on FreeBSD 11.3 traffic to 2.2.2.2 sent via default, ignoring UGHS rout= e. traceroute -m 4 -In 2.2.2.2 traceroute to 2.2.2.2 (2.2.2.2), 4 hops max, 48 byte packets 1 192.168.232.254 1.521 ms 0.386 ms 0.469 ms 2 192.168.232.249 0.459 ms 0.559 ms 0.579 ms --=20 You are receiving this mail because: You are the assignee for the bug.=