tun2proxy / rust-tun

TUN device creation and handling.
https://docs.rs/tun2/
30 stars 13 forks source link

Freebsd #51

Closed xmh0511 closed 4 months ago

xmh0511 commented 4 months ago

Preliminarily support Freebsd. The current stage is just to make the lib pass the compilation on the Freebsd platform. However, it can not work since the implementation has Inappropriate ioctl for device.

xmh0511 commented 4 months ago

Fix inappropriate issue, however, there is another issue

Error: Io(Os { code: 22, kind: InvalidInput, message: "Invalid argument" })

When setting ifaddr.