Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2022 05:03:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 252596] ping to 255.255.255.255 does not set broadcast MAC
Message-ID:  <bug-252596-7501-4BbNBjXJiE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252596-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252596-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252596

--- Comment #7 from Inoki <veyx.shaw@gmail.com> ---
(In reply to Mike Karels from comment #5)

Yes, I saw the option in the kernel code, there is. But as far as I can see,
none of the applications/frameworks seems to have set the flag explicitly (=
at
least the ping, and the Qt stuff). They worked before because in_broadcast()
does check the INET_BROADCAST address. But the mentioned commit changes the
callee to in_ifaddr_broadcast(), which does not contain such processing
anymore.

I checked the FreeBSD part in the XNU (macOS kernel), which is an old relea=
se.
The ping and our UDP broadcast keeps working on macOS. But they are broken =
on
current FreeBSD kernel.=20

For the compatibility, should the flag be fixed in the kernel instead of
explicitly being set by the application, when the address is set to
255.255.255.255 (all ones)?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252596-7501-4BbNBjXJiE>