From nobody Fri Jun 04 20:33:56 2021 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 27427544B5D for ; Fri, 4 Jun 2021 20:33:57 +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 4FxZH874Zvz4nPh for ; Fri, 4 Jun 2021 20:33:56 +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 D8A4423CEB for ; Fri, 4 Jun 2021 20:33:56 +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 154KXuaX031527 for ; Fri, 4 Jun 2021 20:33:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 154KXuXG031526 for net@FreeBSD.org; Fri, 4 Jun 2021 20:33:56 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 256393] Issue with recreation of ppp/tun interfaces Date: Fri, 04 Jun 2021 20:33:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12- mfc-stable11- 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256393 --- Comment #18 from Alexander V. Chernikov --- (In reply to Nathan Whitehorn from comment #12) Interesting. Are you absolutely sure it's stock 13-S? Any custom sysctl's / multiple fibs ? The logs above show commit https://cgit.freebsd.org/src/commit/sys/net/route/route_ifaddrs.c?h=3Dstabl= e/13&id=3Dae23d302479 , but does not explicitly specify the hostname (in that line). Currently loopback routes in 13-S are PINNED: https://cgit.freebsd.org/src/tree/sys/net/route/route_ifaddrs.c?h=3Dstable/= 13&id=3Dae23d302479#n163 , so it shouldn't be possible for routed(8) to delete such routes. PINNED logic also should take precedence over any other non-PINNED routes, allowing to replace these on route addition during interface address assignment. Could you by any chance show the following: 1) netstat -4rnW, netstat -4onW 2) route -n monitor 3) if possible, run `dtrace -i 'fbt:kernel:*:return /arg1=3D=3D17/ {stack()= }'` 4) Run commmand-to-fail: `ifconfig tun0 192.168.42.1 192.168.42.2` 5) netstat -4rnW, netstat -4onW --=20 You are receiving this mail because: You are on the CC list for the bug.=