From nobody Sun Mar 19 20:56:51 2023 X-Original-To: net@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 4PfqtC676Rz3ygT1 for ; Sun, 19 Mar 2023 20:56:51 +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 4PfqtC46tQz3nDm for ; Sun, 19 Mar 2023 20:56:51 +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=1679259411; 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=LjJcxnDZiUslRAqiYFYtEVa8KXTo25Nos/vbM9S2plY=; b=kdP54fiQSYLoARmPkqSFXi3nk+DzvfeYbrTLnhzhxuHG5aJ78EuSTxi6BWP2FdKWpFoE5c P3lRnhzS3jA1pTE/zNeSWlPA/uKeRzTQUj0cgh86wlCBRPvoQk4wL0OqFX6aVo3vauJ2kA QfgQIe8RELm2hFChMpAAQZArYyW/xAA/SFdBWTH2jZBIRYSwzB6ZLgd82rDa/GbBdfpz08 70YrAjiOrw6VFLUgC2RoY8PQmTPrCuYQVYOFA9+999MiFA0h+O3Nu5qiADOktz28SqumS2 t3+NDcljb2X63b11gVsa18GpMhcdwVYXfMrvrE5tLsOrqV8K+xN6/iwkdOGYnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679259411; a=rsa-sha256; cv=none; b=qZa63Gd2piVQ4ovo22H8X6S4i8tpLMuuLWjFeGNKs3UtL6UTAbit/tXpD28YMYKNq9WuWo KIl18ahfp0s+3aqkV+vCDODKeiYzgp0x3oOqi5Hvuel854ajXNs/B/oe5g2ZYfQSRKF0tG 7frC6Mxql4IzrNdkXdzBnFKU0jIm1Ndo/NG5XPNux/EPiwjbgEy4rD6aCSvsjdEypkWFJO ZLH16KNmqHuk2NVH2RJM2x5wQvL9HJrWuAF/gQh0wpmWuPs39+r/TRsRAAuAZBGC1kJimg vS9WHSQn4OIiE1+OorUh5Hp5VRojc1thsDxCVgYZtEp4afR0K3kMT28cpA4JmA== 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 4PfqtC3B32z12m0 for ; Sun, 19 Mar 2023 20:56:51 +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 32JKupWm040290 for ; Sun, 19 Mar 2023 20:56:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32JKupur040289 for net@FreeBSD.org; Sun, 19 Mar 2023 20:56:51 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: net@FreeBSD.org Subject: [Bug 270351] Incompatible change in route(8) utility since 13.x Date: Sun, 19 Mar 2023 20:56:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 Bug ID: 270351 Summary: Incompatible change in route(8) utility since 13.x Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: net@FreeBSD.org Reporter: eugen@freebsd.org Let's show small example. # route add 192.168.0.0/16 -iface lo0 -reject add net 192.168.0.0: gateway lo0 # route add 192.168.0.0/24 1.1.1.1 # over bge1 add net 192.168.0.0: gateway 1.1.1.1 # route add -host 192.168.0.0 -iface tun0 # or ng0 add host 192.168.0.0: gateway tun0 # route -n get -host 192.168.0.0 route to: 192.168.0.0 destination: 192.168.0.0 fib: 0 interface: tun0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 So far, so good. And now: # route -n get -net 192.168.0.0 route to: 192.168.0.0 destination: 192.168.0.0 fib: 0 interface: tun0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 Wrong. This is HOST route, it should skip it while looking up. This works just fine in 12.x and earlier showing another (non-host) route: # route -n get -net 192.168.0.0 route to: 192.168.0.0 destination: 192.168.0.0 mask: 255.255.0.0 fib: 0 interface: lo0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 16384 1 0 --=20 You are receiving this mail because: You are the assignee for the bug.=