meh / rust-tun

TUN device creation and handling.
343 stars 136 forks source link

Don't try to enable interface unless requested. #12

Closed pftbest closed 5 years ago

pftbest commented 5 years ago

With this simple change I am able to run my code as unprivileged user.

I can set ip address and bring up interface from shell script or systemd, and then run my application as a normal user instead of root.

meh commented 5 years ago

Thanks!

meh commented 5 years ago

I published a new version on crates.io.

JuniorJPDJ commented 5 years ago

@meh create git tags/github releases for new versions please It'll be much easier to follow.