Closed alarixnia closed 3 years ago
Thanks! A few questions:
tunX
and tapX
is a limitation of the NetBSD kernel, or if renaming could be supported in theory?I've only tested running with dropped privileges, which seems to involve fastd using an existing tap interface - it complains in the log if the interface doesn't already exist.
Do you know if needing to name interfaces
tunX
andtapX
is a limitation of the NetBSD kernel, or if renaming could be supported in theory?
The underlying device must be named the same as the kernel driver, i.e. tunX
or tapX
, but it can be assigned a 64 character description which will appear in ifconfig.
I gave this a spin, and TAP mode is working great. TUN mode seems to need some more work (the TUNSIFHEAD ioctl might be related, currently checking this).
Merged with a few additional fixes :)
Awesome, thank you!
Just a simple case of using the code shared with macOS.