Skip to content
New issue

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

windows情况下tun模式无法使用 #396

Closed
Tracked by #559
agczsz opened this issue May 3, 2024 · 6 comments
Closed
Tracked by #559

windows情况下tun模式无法使用 #396

agczsz opened this issue May 3, 2024 · 6 comments
Assignees
Labels
bug Something isn't working core

Comments

@agczsz
Copy link

agczsz commented May 3, 2024

10.0.1.254ip发送大量请求,并且无法代理系统流量

@ibigbug
Copy link
Member

ibigbug commented May 4, 2024

can you please provide more details?

@agczsz
Copy link
Author

agczsz commented May 5, 2024

image
image

@agczsz
Copy link
Author

agczsz commented May 7, 2024

here is the error log:thread 'tokio-runtime-worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-util-0.3.30\src\future\select_all.rs:40:5: assertion failed: !ret.inner.is_empty() note: run with RUST_BACKTRACE=1 environment variable to display a backtrace 2024-05-05T14:08:29.202528Z ERROR clash_lib\src\lib.rs:157: panic hook: PanicInfo { payload: Any { .. }, message: Some(assertion failed: !ret.inner.is_empty()), location: Location { file: "C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\futures-util-0.3.30\\src\\future\\select_all.rs", line: 40, col: 5 }, can_unwind: true, force_no_backtrace: false }

@VendettaReborn
Copy link
Contributor

@agczsz 目前 tun 还没有配置系统的路由表,所以无法代理所有流量,可以通过 route print -4 来确认下

@ibigbug ibigbug mentioned this issue May 20, 2024
@VendettaReborn
Copy link
Contributor

I've seen some crate on ip configuration for windows, the POC on netstack-smoltcp's example code is ok, but still needs some time to integrate it into clash-rs
@ibigbug

@ibigbug
Copy link
Member

ibigbug commented Sep 5, 2024

the tun is working now. auto route is yet to be implemented

@ibigbug ibigbug closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core
Projects
None yet
Development

No branches or pull requests

3 participants