From nobody Fri Jun 17 05:58:27 2022 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 106C5831119 for ; Fri, 17 Jun 2022 05:58:28 +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 4LPSyW6MPhz3QGx for ; Fri, 17 Jun 2022 05:58:27 +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 BA7421A2AC for ; Fri, 17 Jun 2022 05:58:27 +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 25H5wR3F061603 for ; Fri, 17 Jun 2022 05:58:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25H5wRiS061602 for net@FreeBSD.org; Fri, 17 Jun 2022 05:58:27 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 261129] IPv6 default route vanishes with rtadvd/rtsold Date: Fri, 17 Jun 2022 05:58:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655445507; 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: in-reply-to:in-reply-to:references:references; bh=iauzNc0tNQLJUAGQBoGElnSPMiGxYwbo5ZRdKERmAWY=; b=qt3fgiTrBso0auw14ThBPByXsj6Gwl2YMx94CnPktNBBTMwafz5uRoeFdBST5b1SxAuvHN 91PC+BbEaoIpT+HT1d5KsDXsXGkFAyi+RjY97DsCheOdEYyxC27UuKTDcoS+hPGxqzs2GB 5gAXtrbVqNUgJPUYL12Pfx+AD5oYWronPiPvqGUtqUsri7+6AtVq5EQ+mFljwYWK6WSCD6 dZ//HkAxvb1R/7DbqJRLgvidIwmB8RlmWThWiWjwItA+rwvDZZELrNjl1qC9+g9dkamSNf vPX9t+qQmStmuf5c3jta2tvgOVftkQutGcR6QsS3VuZWKCH3NM7ZyjG3zgr2Mw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655445507; a=rsa-sha256; cv=none; b=gh6C6Qqi1VSsZPV3AkpvtOQWcVxMhyj9M/h58w2ku0s8SJJuJOo9f3hc8ySM3qfoIgRnMr 82PWU2E9tRZ11vUbP3ykeZl2Y6vXtYD3kHZgd92BfxCitTDOAIl5D6f+++ASoq0qnXyuXA 00ZhJio+yV6NLW5MHX9cj6QHRw3AmtKb1MlQ2P3sNH87Zkz/jj7vqTZxpMiFNgaUh7eCBk IKf6B8sXkBwlmk/yZFbNe2yc8U1YUMYbth6HtlEfgK/n1wN0u2Yz1kcHY1x3MdK4G8oXrF P0ncaiaG/4XxCDxlYnAPREpu42rp9BZ+FnzJCDUZifIPQ6jOtO0MFm5CIVTNJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261129 --- Comment #17 from Marek Zarychta --- Update A couple of days ago I rewrote the set of slapdash PF rules suspecting them= as the cause, especially initially abused "rtable" statements. The "rtable" had been replaced with "reply-to" or deleted where possible and it was the right step. It is worth mentioning that a few rules with "rtable" were preserved though. When the issue got sorted out, to find the culprit one of the borked rules used previously was reintroduced: "pass in quick on gif0 inet6 to ($gif_if) rtable 1" which led to the corruption of the default route in FIBs 0 and 1 within a f= ew hours. Maybe this happens due to incorrectly recognised protocol 41?=20 Final conclusions: 1. FreeBSD routing stack is capable of using two different IPv6 GUA subnets= on the same interface on both CURRENT and 13-STABLE. 3. The rules with "rtable" statements regarding IPv6 traffic should be introduced with care in PF(4) configuration file and avoided when possible. 3. IPv6 on FreeBSD still needs more testing, especially in multihomed scena= rios where multiple FIBs are involved. It is probably my fault, I am sorry for making noise on the frebsd-net@ mai= ling list and hijacking this PR, but provided feedback might be useful. If you s= till consider this a bug, please let me know, and I will submit a new PR. --=20 You are receiving this mail because: You are on the CC list for the bug.=