We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tun_device_fd
tun_device_fd was passed correctly to the builder:
https://github.com/shadowsocks/shadowsocks-rust/blob/65eb758ad426250f358a647ec99baab8fea722d8/crates/shadowsocks-service/src/local/mod.rs#L428-L429
which will be set to the tun_config:
tun_config
https://github.com/shadowsocks/shadowsocks-rust/blob/65eb758ad426250f358a647ec99baab8fea722d8/crates/shadowsocks-service/src/local/tun/mod.rs#L70-L73
So the problem is: why tun didn't use the provided raw_fd?
tun
raw_fd
Just look through https://github.com/meh/rust-tun/tree/master/src/platform , I realized that only iOS supports the raw_fd configuration. :(
Originally posted by @zonyitoo in shadowsocks/shadowsocks-rust#1433 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
tun_device_fd
was passed correctly to the builder:https://github.com/shadowsocks/shadowsocks-rust/blob/65eb758ad426250f358a647ec99baab8fea722d8/crates/shadowsocks-service/src/local/mod.rs#L428-L429
which will be set to the
tun_config
:https://github.com/shadowsocks/shadowsocks-rust/blob/65eb758ad426250f358a647ec99baab8fea722d8/crates/shadowsocks-service/src/local/tun/mod.rs#L70-L73
So the problem is: why
tun
didn't use the providedraw_fd
?Just look through https://github.com/meh/rust-tun/tree/master/src/platform , I realized that only iOS supports the
raw_fd
configuration. :(Originally posted by @zonyitoo in shadowsocks/shadowsocks-rust#1433 (comment)
The text was updated successfully, but these errors were encountered: