Open M0dEx opened 1 year ago
@M0dEx Just try to use https://crates.io/crates/tun-rs, which supports both ipv4 and ipv6, tun/tap interface, and this version has a shared reference of receiver for send
and recv
.
The library does seem like a reasonable alternative.
In the future, I would like to fork/copy one of the TUN libraries and maintain it separately, as it is one of the most crucial dependencies, and I would like to be able to guarantee its security, which would be much easier to do if I have complete control over its source code (one of the downsides of using rust-tun
at the moment).
Blocked by https://github.com/ssrlive/rust-tun/issues/24.
There are some configuration changes required.