From nobody Thu Jun 16 19:34:32 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 E168C843DF5 for ; Thu, 16 Jun 2022 19:34:32 +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 4LPC6c2TVRz56QZ for ; Thu, 16 Jun 2022 19:34:32 +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 357FF116B0 for ; Thu, 16 Jun 2022 19:34:32 +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 25GJYWud007698 for ; Thu, 16 Jun 2022 19:34:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25GJYWra007697 for bugs@FreeBSD.org; Thu, 16 Jun 2022 19:34:32 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 264722] Incorrect source address used in non default fib Date: Thu, 16 Jun 2022 19:34:32 +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: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: paul.reynolds@redcom.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 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=1655408072; 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=aMriAFh46/BliFCI1DXcpNa2PC84EUC4rvER/IPROqA=; b=ZAT4+XruSHuIm7BC7cgikhCPP5+x3blJGXc5iX6kwVCqLvhJvNMufoudOmwo5pNmCTaTKN shR2wUW8DF5UQciAf2Yc1VeR4EWpCF875Ggd3Pan5k4Pk78YlAJQrorOsEDQqGSzIdbn6O o2WFLHDD+T/NpneI6R5ChoBuHMK7G94UojqCsU1SqkLNwgTZ+wx5r5ehTRgEXRaj/kswJ8 h+Z34N/aZvBdFZpQHJL4Tslb6T7San95m6OpJI95NM1mmUPJ+ICjWsE11/s+dtyEe5dAvk DNVsHXPjXPDIi2rDoyHkWLanNSJB7TfGeGykBYID+6r/8SCBTJgxbAlreFcAbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655408072; a=rsa-sha256; cv=none; b=ko4LQvAldFYF+8zE4MAhAUaMksU9zRh1UcZlwJPBJQT9K/yVc7VNbzB5lHrB9Tfft/AiPq 91rWjq3LUhizrprS0mgSZQu6ouIZZMmhJ43viRBXVyRVtB3yqqPIm2LmNjjnnfTqZfo4SO 78b3eWqzAHqiXyxFlah/EIvzUm+wAQuVuGgorEHxB9RiMZijymQXuMfm27cSQ56CxbAIKC tfvExvcULQ1zmRFHoKzXtFaIIuDzXfhC5nMD2A5NupODxl742lkeyhykruFBjZrXInpl3U CVUhGzrZgEJ1e/AWtj1RorAsgglKmW4PLrQjJxfFQiIx1gUI+nc2cyuQWBnTrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264722 Bug ID: 264722 Summary: Incorrect source address used in non default fib Product: Base System Version: 12.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: paul.reynolds@redcom.com Using a non-default fib, the source address used in ipv4 packets is 0.0.0.0. Routing tables Internet: Destination Gateway Flags Netif Expire default 10.78.2.1 UGS eth0 10.78.2.0/24 link#2 U eth0 10.78.2.104 link#2 UHS lo0 127.0.0.1 link#1 UH lo0 172.17.1.0/24 link#3 U eth1 172.17.1.2 link#3 UHS lo0 Routing tables (fib: 1) Internet: Destination Gateway Flags Netif Expire default 10.78.2.1 UGS eth0 10.78.2.0/24 08:00:27:3b:12:12 US eth0 10.78.2.104 lo0 UHS lo0 127.0.0.1 lo0 UHS lo0 172.17.1.0/24 00:15:5d:02:30:0d US eth1 172.17.1.2 lo0 UHS lo0 The following command works correctly: setfib 0 ping 172.17.1.4 This command generates ICMP packets with 0.0.0.0 as the source IP: setfib 1 ping 172.17.1.4 While I can't rule out setup issues, this used to work correctly in FreeBSD 12.2. --=20 You are receiving this mail because: You are the assignee for the bug.=