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

bug ExportKeyingMaterialError #34

Open
eqfae opened this issue Nov 25, 2024 · 8 comments
Open

bug ExportKeyingMaterialError #34

eqfae opened this issue Nov 25, 2024 · 8 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed wait for reply

Comments

@eqfae
Copy link

eqfae commented Nov 25, 2024

Mon Nov 25 19:34:04 2024 daemon.err tuic-client[12201]: thread 'tokio-runtime-worker' panicked at tuic-quinn/src/lib.rs:578:14:
Mon Nov 25 19:34:04 2024 daemon.err tuic-client[12201]: called `Result::unwrap()` on an `Err` value: ExportKeyingMaterialError
Mon Nov 25 19:34:04 2024 daemon.err tuic-client[12201]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Mon Nov 25 19:48:17 2024 daemon.err tuic-client[12201]: thread 'tokio-runtime-worker' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/quinn-proto-0.11.8/src/connection/mod.rs:3357:14:
Mon Nov 25 19:48:17 2024 daemon.err tuic-client[12201]: only called for `Data` packets
Mon Nov 25 19:48:17 2024 daemon.err tuic-client[12201]: thread 'tokio-runtime-worker' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/quinn-0.11.5/src/mutex.rs:140:42:
Mon Nov 25 19:48:17 2024 daemon.err tuic-client[12201]: called `Result::unwrap()` on an `Err` value: PoisonError { .. }
Mon Nov 25 19:48:17 2024 daemon.err tuic-client[12201]: stack backtrace:

图片
崩溃了 ssh手动重启tuic服务才好

@Itsusinn Itsusinn self-assigned this Nov 27, 2024
@Itsusinn Itsusinn added the bug Something isn't working label Nov 27, 2024
@Itsusinn
Copy link
Owner

Itsusinn commented Nov 27, 2024

这是启动时发生错误还是运行时发生的?
顺便确认下服务端与客户端的zero_rtt_handshake是开还是关

@eqfae
Copy link
Author

eqfae commented Nov 28, 2024

图片
运行时 昨天也有 开的 用的自签名

@Itsusinn
Copy link
Owner

能贴一下完整的客户端和服务端的配置吗,我复现不出来

@eqfae
Copy link
Author

eqfae commented Nov 29, 2024

#21 有配置
是偶尔出现 1天未必有一次

@eqfae
Copy link
Author

eqfae commented Nov 29, 2024

中间人攻击导致的密码错误? 0rtt拿着连接被丢包前的已验证过可信证书非对称加密协商的对称密码 连上了的中间人伪装的服务端
看到过一种代理工具 不用可信证书 直接服务器拿公钥 客户端拿私钥 目前非对称加密 破解难度很高 即使未来被破解相信也会有更强的 只要历史还在重复

@Itsusinn
Copy link
Owner

可能是有东西在攻击tuic的这个udp端口,攻击器构造了一个特殊的udp包(很可能是无意的)让tuic panic

Itsusinn added a commit that referenced this issue Nov 29, 2024
@Itsusinn
Copy link
Owner

目前加了个临时解决方法,不会panic了,但还是需要找到根本原因

@Itsusinn Itsusinn added the help wanted Extra attention is needed label Nov 29, 2024
@Itsusinn
Copy link
Owner

试试v1.3.5看看问题还在不在

Itsusinn added a commit that referenced this issue Dec 10, 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 help wanted Extra attention is needed wait for reply
Projects
None yet
Development

No branches or pull requests

2 participants