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

“带网络的安全模式”下无法使用 #29

Open
redapple0204 opened this issue Oct 17, 2021 · 1 comment
Open

“带网络的安全模式”下无法使用 #29

redapple0204 opened this issue Oct 17, 2021 · 1 comment

Comments

@redapple0204
Copy link

系统:Windows10 LTSC(1809)

报错如下:

PS C:\Users\redapple\Desktop\drcom4scut-windows> .\drcom4scut.exe
[2021-10-17 20:26:08][INFO][main] Start to run...
thread 'main' panicked at 'Unable to get interface list despite increasing buffer size', C:\Users\SeaLoong\.cargo\registry\src\github.com-1ecc6299db9ec823\pnet_datalink-0.27.2\src\winpcap.rs:349:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@redapple0204 redapple0204 changed the title “带网络的安全模式”无法使用 “带网络的安全模式”下无法使用 Oct 17, 2021
@SeaLoong
Copy link
Owner

找了一些资料,貌似是pnet或winpcap的问题
有关issue: libpnet/libpnet#329
panic代码位置: https://github.com/libpnet/libpnet/blob/02d691c918af08a5a3f5ab8194e668f5e32f6ea3/pnet_datalink/src/winpcap.rs#L342-L351
一个可能的解决方案貌似是用npcap而不是winpcap构建,如果是自行构建的话可以考虑试试,我有空尝试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants