OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
117 stars 105 forks source link

IGMP Failure on Mac #302

Closed emrainey closed 1 year ago

emrainey commented 1 year ago

I had to recently remove the IGMP request from yakut as I was on a private subnet (172.x.x.x) which isn't intended to be multicast beyond that segment. The request is made in a blanket way regardless of the type of network you are on.

Would it be possible to get a environment variable to disable the IGMP protocol call?

pavel-kirienko commented 1 year ago

Sure but maybe we should rather automate this? See https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_private

emrainey commented 1 year ago

After sorting out the packet filter on Mac, I couldn't reproduce this issue. I'm not sure if it was the rule or a change in my setup script. Closing for now until I come across this again.