markqvist / Reticulum

The cryptography-based networking stack for building unstoppable networks with LoRa, Packet Radio, WiFi and everything in between.
https://reticulum.network
MIT License
2k stars 124 forks source link

lo0 not ignored on NetBSD (AutoInterfaces) #237

Closed gdt closed 1 year ago

gdt commented 1 year ago

lo0 is not ignored on NetBSD but should be.

A larger issue is that it would be nice to have two structural changes in the default ignore list:

(But, it looks like on normal systems that mostly the odd interfaces that should be ignored don't have fe80, and aren't used anyway.)

markqvist commented 1 year ago

Agreed, I am looking into improving this for the next release.

markqvist commented 1 year ago

By the way, there is already RNS.vendor.get_platform(), which returns the platform name. We need the methods like is_android() and is_darwin() as reliable proxies for determining the system though, since possible future changes to the returned platform names might break any assumptions that an interface, user app, or something else had made. It's easier to fix it one place, in that case.