Post ApkMFGKcjF8MiQG4eW by shalien@mastodon.projetretro.io
(DIR) More posts by shalien@mastodon.projetretro.io
(DIR) Post #Apju3tZIDzv0DKuY4W by aaronsgiles@corteximplant.com
2025-01-04T07:14:49Z
0 likes, 0 repeats
Hmmm, MacOS networking question.If I host a game on my Windows machine, and from my Mac send a broadcast packet to query for sessions, the Windows box receives it and responds.If I host a game on my Mac, and from my Windows machine send a broadcast packet to query for sessions, the Mac seemingly never receives it. However, if I send a packet directly to the Mac's IP address it does respond.Is there some default setting/behavior on MacOS that would ignore broadcast packets? I checked the firewall and it seems to be disabled on my Mac.
(DIR) Post #Apju3ufM8wMXcQkuA4 by shalien@mastodon.projetretro.io
2025-01-04T13:10:03Z
0 likes, 0 repeats
@aaronsgiles Does you program have the right network permission in it's plist ?
(DIR) Post #ApkM2sStddQ3DgDpvE by aaronsgiles@corteximplant.com
2025-01-04T18:23:08Z
0 likes, 0 repeats
@shalien Good thought. However, I scanned the list of keys and don't see any that seem to impact basic socket-level networking. Maybe I'm blind.
(DIR) Post #ApkMFGKcjF8MiQG4eW by shalien@mastodon.projetretro.io
2025-01-04T18:25:53Z
0 likes, 0 repeats
@aaronsgiles I would rather believe MacOS is being the culcript. What port number do you use ? It's over 1024 ?
(DIR) Post #ApkMmiNVTPm5FxYf5c by aaronsgiles@corteximplant.com
2025-01-04T18:31:55Z
0 likes, 0 repeats
@shalien Yeah, I'm listening on 47624 (since I'm emulating DirectPlay and that's the documented port for it).
(DIR) Post #ApkN4S6shG4o0wEutU by shalien@mastodon.projetretro.io
2025-01-04T18:35:08Z
0 likes, 0 repeats
@aaronsgiles Hum. Very strange. have you tried to have the client on the mac too to test if it's also unresponsive on the same host.
(DIR) Post #ApkWtXGqAV9mNMKajg by aaronsgiles@corteximplant.com
2025-01-04T20:25:06Z
0 likes, 0 repeats
@shalien So running two instances on the Mac, the host still does not need broadcast packets sent by the other instance, so it's definitely some kind of limitation. While searching I saw some reference to Big Sur requiring apps to be hardened or something. Not sure the veracity of this info since as usual Apple's documentation seems to be lacking. https://forum.xojo.com/t/big-sur-udp-broadcast-not-working-normally/58832
(DIR) Post #Apkck3ejVN79e8N2Qa by alexr@mastodon.online
2025-01-04T21:30:42Z
0 likes, 0 repeats
@shalien @aaronsgiles This is the relevant question. The user sees this perm as “Local Network Access.”(Social media and ride sharing apps being the worst offenders would map the local network to profile users and invade privacy.)