From owner-freebsd-net@freebsd.org Mon Jul 29 15:39:44 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 229E4ADF88 for ; Mon, 29 Jul 2019 15:39:44 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C208C88C9B for ; Mon, 29 Jul 2019 15:39:43 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:5980:18c2:160b:3bc5] (unknown [IPv6:2a02:8109:1140:c3d:5980:18c2:160b:3bc5]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id ACDB3721E2825; Mon, 29 Jul 2019 17:39:39 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Is there an way for a program to know when the list of network interfaces has changed (without rescanning them)? From: Michael Tuexen In-Reply-To: <201907291416.x6TEGtl4044412@gndrsh.dnsmgr.net> Date: Mon, 29 Jul 2019 17:39:39 +0200 Cc: Yuri , "freebsd-net@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <96735BB9-3316-4E0E-A029-DC17893CCC8F@freebsd.org> References: <201907291416.x6TEGtl4044412@gndrsh.dnsmgr.net> To: "Rodney W. Grimes" X-Mailer: Apple Mail (2.3445.104.11) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 15:39:44 -0000 > On 29. Jul 2019, at 16:16, Rodney W. Grimes = wrote: >=20 >> I am asking because wireshark doesn't sense the interface list = changes,=20 >> and it just always shows the list from the time it was launched . Does it also not show up after selecting Capture/Refresh Interfaces? Best regards Michael >=20 > I am cc'ing Michael Tuexen , > both a FreeBSD and long time wireshare developer. >=20 > I see there has been at least 2 ways proposed to you for > doing this, I would suggest using the route socket as the > prefered method as that should be some what portable > accross all the BSD type platforms, a devd solution would > be FreeBSD specific. >=20 >=20 >> Yuri > --=20 > Rod Grimes = rgrimes@freebsd.org > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"