From nobody Fri Jun 17 05:58:27 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 D63A3830E78 for ; Fri, 17 Jun 2022 05:58:29 +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 4LPSyY4n54z3QH0 for ; Fri, 17 Jun 2022 05:58:29 +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 8542B1A247 for ; Fri, 17 Jun 2022 05:58:29 +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 25H5wTOb061645 for ; Fri, 17 Jun 2022 05:58:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25H5wTNa061644 for bugs@FreeBSD.org; Fri, 17 Jun 2022 05:58:29 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 261129] IPv6 default route vanishes with rtadvd/rtsold Date: Fri, 17 Jun 2022 05:58:27 +0000 X-Bugzilla-Reason: AssignedTo 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: 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=1655445509; 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=k8uMQQ+mZH00zwfyEY5x6b/P9Kamz715brSex5Pu9Hg=; b=FF+hjR4uNfDPT7EBBm/vQy7wsh5ZH01ycXmq2XvYAYZO5ca7KpOkS69CR2hx2E1vNMgmvV IGuvVnApJUnFrSgjUOStSp1ssz37OO94KMoTkT/p1b01WBuu+/Fhqjc/g+8DaYD+d1kcJD GwrZDl9sbXPmD0zVZp+8yOjcPPAe6gkQkiRb7/fNB/TPxeQDxT51/o/81yXXp0fq+0E/tE 1qT0gNdMKZfhrR421yBsSrBOVGp/2ul71dxnweERXM+huRhDIHC2zpWRwGRmD7SKamKja7 wDjzI3mqBu+CWfHA3DNYdkkv1Btak4i2Y7MJxjBobpGX4Jtf8RWSblgUDIjd0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655445509; a=rsa-sha256; cv=none; b=PbC3c0smjqN9TWj+P0qEst3Yf6ufkiu2b/h7Kf0SQwMzYwiWMrX8Uz5IrZYWBG1Zk101jh MbaBuONsQ7PpXy2HIn49BmFt6nchFDJIwAHOT99QtLAsviWp/zxcyG9kfeG11XhIeHci3o wPOi0vhY2WqQOdPUTB9SCkq2OnEL6cyULbhgXQ7GFa+/wyZnlRbHBXxu0TLPbpB3ZTiUvf 6Vos5TM3JeeDcM/KGROUCKXJJRQGwodfI2V/ksLt+cvOu3hVO+8uvfSPsCC2G7OZaxgTCh vsgfMUAjtzGNvQktMydgWYMWKiLE/ylecNU62miVrLy+R/48VVjQkh7pRbbaPQ== 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 the assignee for the bug.=