smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.75k stars 421 forks source link

plan of support TunTapInterface on macos? #856

Open ibigbug opened 10 months ago

ibigbug commented 10 months ago

there are some libraries supporting it, such as https://github.com/meh/rust-tun/blob/master/src/platform/macos/device.rs

any plans of doing so in smoltcp?

thvdveld commented 10 months ago

I'm totally not an expert in TUN/TAP interfaces, but maybe smoltcp already supports this in https://github.com/smoltcp-rs/smoltcp/blob/main/src/phy/tuntap_interface.rs? And if not, I don't think it is planned. But feel free to open a PR to add support.

ibigbug commented 9 months ago

thanks - i think when it goes to https://github.com/smoltcp-rs/smoltcp/tree/main/src/phy/sys , only Linux is supported

I'll try to add this after I understand how to do it

hainesc commented 5 months ago

@ibigbug just kind ping to know what is the process now, because I got here too.

Maybe windows support with wintun together is a good idea.