From nobody Sun Jul 17 08:46:40 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 4LlzGm4z7mz4Wfc5 for ; Sun, 17 Jul 2022 08:46:40 +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 4LlzGm3CS1z49nS for ; Sun, 17 Jul 2022 08:46:40 +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 4LlzGm267KztfD for ; Sun, 17 Jul 2022 08:46:40 +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 26H8ke2k014470 for ; Sun, 17 Jul 2022 08:46:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26H8keEO014469 for net@FreeBSD.org; Sun, 17 Jul 2022 08:46:40 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 252596] ping to 255.255.255.255 does not set broadcast MAC Date: Sun, 17 Jul 2022 08:46:40 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: veyx.shaw@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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=1658047600; 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=qle7nFIu4C0h5RkJRwIW9a66qGuXLr5j2ktE2Yt8CsI=; b=QxTci9cW2MkbS4OxdAd2K9IfFB3HVYvD62zI1cAdT9YcTJ4czhyxg/3bXEkZMo1a4T+xmG L5lpJDuYyqhbmVwL89jRq50vpTwU50JZ9snS+T66aqgHZ+klUswFE0Ev504615/4AccwVA 9g07QDR10/XYvn1oxZegLfjtfraKtz37DIJDoFGy55ZA5pKJ8RrLrjAvMWQeKu78IdJcfp 9Ck8KNJNGGYPouCDUcydsLlwFrMSpYfKPrq2Kaa+XRDG9k0KZ6r0v0/Oybwgh6f4jIwkIg HnRwCTZSJ9kPgU9Ru6t6/yYvexVDrYKz8oXsBXrGESYkdWHEiXuNOqvNoBnZLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658047600; a=rsa-sha256; cv=none; b=F1dsuf6auxTcTca92uAO8SqW2ZO+e//sCpIzrhVFi89caUVYAzOHXmLXQe6gg3aQZXojE9 wNVoN4PNjDmYzEaVZr6SAtyhsUUnWrZeaukZ+6IBpbSuvceevdiWWGdUmQ1A24yfcaQys8 3y456E5jInPQD6td6d+aeBp4YjRFifQjFNHOoiNBZ9bZqQBXHsQbYQiGLHfZpBpuoDTNCD vfcYkx6hGeQG1VA5AzPJgqZvMpP9rTRjs2Ux2gySeGVrdcbmqHTAWRAo0dwGnQCdA6FMPq 6vG0tIe2uZp2m34N8d1w7nEe9M1pWLupGKPurNQPqj0x3FFP0ef+IAzE0mGkGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252596 --- Comment #9 from Inoki --- (In reply to Mike Karels from comment #8) Thanks very much for the comments ! Yes, a simple UDP broadcast using 255.255.255.255 with default route returns "Network is unreachable" because of no route. Our application wants to use a UDP broadcast through 255.255.255.255 to discover a certain service. In the previous kernels, including the FreeBSD = part that macOS is using, it works fine. But we found that it does not work any = more on FreeBSD 13 (although we have not tested it for long time). Finally, our workaround is to iterate all the non-local interfaces and send= to their broadcast addresses. This should be coherent with the current design = in=20 the FreeBSD kernel. Thanks again ! --=20 You are receiving this mail because: You are the assignee for the bug.=