From nobody Thu Dec 14 16:02:04 2023 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 4SrcYS6jGLz52fyw for ; Thu, 14 Dec 2023 16:02:04 +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 4SrcYS4nkLz3RST for ; Thu, 14 Dec 2023 16:02:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702569724; a=rsa-sha256; cv=none; b=fBNVF/cHxNo0z+see8IHVPIOR2vaZ4wLsGyoPQzg/uMDf+tYRMw5lyRDNfObCKtRHaBeci r2yNdHmoxge+z/8gCVA1TMp7N+xafNAg5a1LnXovDJPf+HeZOsPW6Ya7ch+MPeyA9XwcIB EK3SO7UCZ/1uMkueT6YYK64FmBFwPw8I9f6RAYnb0ObnDgVjovIt1zByIFw8anGNqqa3M7 ioMSc1++Jpk3Tphi7VcQOMs8HBLWMni8ghKmEbpDQ5CPurBhXJ016R/vr4P6dUXFDgk+9b ss5+cvba0vkni2kMuq6pfLej/e8OOhaNyYwEudGbQ+HU/kZ2gRyKeAGSd24AMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702569724; 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=uXAkkDZ3x7POuJ+jfvp9gigI1Mw0dXBfWwEjVHlyAC4=; b=nVCxa5X/f5O0xS5CIPnedNN3bjmP1ta9N/3sgz4qy0oRkvMN2Fhj6yXd9mBGd2o+0BBkCS 4y6ZvIexvXQuPa7kQjEvTrUJS/qRrdEJI6mFChc06R2HlRMNB2FdDeBYZLAnjX5p8Dehfz URm6+V1YuLRzjJ6zBHP7d7HqVQ7InH6Cg+hoM0Qf1wxKtyqnkoEZadPIBr9g31Ouxkel19 maLbOOW6vbYGtLouAchafdVoM/rZanV0bGmKujQq9TMLnDyNvIgp2d0AqW4t0LuaXGDMHI SS1GBZf4jKtgMZpaT7aRpH+PFfpiZUPZwJPcHtnujhYa0kVpsGTbTn0UoONCMQ== 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 4SrcYS3vYzzYtP for ; Thu, 14 Dec 2023 16:02:04 +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 3BEG24HL067906 for ; Thu, 14 Dec 2023 16:02:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BEG24Ib067905 for bugs@FreeBSD.org; Thu, 14 Dec 2023 16:02:04 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 275765] Automatically add carp(4) interfaces to interface group "carp" Date: Thu, 14 Dec 2023 16:02:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275765 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kp@freebsd.org --- Comment #1 from Kristof Provost --- vlan and bridge interfaces are automagically added to their respective grou= ps because they're cloned interfaces. (See ifc_link_ifp() in sys/net/if_clone.= c). There's no such thing as a carp interface. There are carp addresses on other interfaces, but it'd be surprising for a new address to cause an interface = to be added to an interface group. It may be possible to emulate this in userspace using the CARP notification= s in devd.=20 I'm not convinced that it'd be a good idea to try to do this from the kerne= l, but for those who want to try, ifc_link_ifp() and carp_alloc()/carp_destroy= () are the places to start looking, --=20 You are receiving this mail because: You are the assignee for the bug.=