zephyrproject-rtos / net-tools

Network tools for testing with Qemu
33 stars 33 forks source link

Support for macOS #62

Open beriberikix opened 1 year ago

beriberikix commented 1 year ago

QEMU + networking on macOS has not been supported. Virtual networking on macOS makes it challenging due to recent changes in macOS around virtual networking (see vmnet https://developer.apple.com/documentation/vmnet.) vmnet support in QEMU was introduced into QEMU in 7.1.0. https://gitlab.com/qemu-project/qemu/-/issues/465#note_1113176653. I personally haven't tried it yet but can confirm it's there. While there's little documentation, it could mean a viable path for qemu networking support for macOS.

net-tools would need major rework to support macOS (pfctl instead of iptables, etc.) Also, many of the shell scripts assume Linux.

cfriedt commented 1 year ago

I could probably work on this at some point. Can't assign to myself though.