sealoong / drcom4scut Goto Github PK
View Code? Open in Web Editor NEWA 3rd-party DrCOM client for SCUT, written in Rust.
License: GNU Lesser General Public License v3.0
A 3rd-party DrCOM client for SCUT, written in Rust.
License: GNU Lesser General Public License v3.0
有时候需要离线操作因此需要短暂几秒拔出网线,但是程序并没有捕捉到相应错误(已拔出网线),重新插入网线后也无法自动重连。
但是好像主程序本身是有异常处理的,或许是没有判断网线是否拔出?....
系统: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
drcom4scut 建立 EAP 会话后,Npcap 驱动程序缓存的报文不会被释放直至重启,Npcap 驱动程序占用的非分页池容量随网络传输数据量的增加而增加。
After drcom4scut established the EAP session, the frames stored by the Npcap driver will not not be released until reboot, and the nonpaged pool occupied by the Npcap driver increases with the increase of the amount of data transferred over the network.
drcom4scut 建立 EAP 会话后,进行一些网络传输,随后使用 poolmon.exe -u -p -g pooltag.txt
分析驱动程序内存分配,发现具有 NpCD
、NpNL
、NpNB
、NpPD
标识的驱动程序使用了大量的非分页池。
After drcom4scut established the EAP session, make some network transfers, and then analyze the driver memory allocation using poolmon.exe -u -p -g pooltag.txt
and finds that drivers with tags NpCD
, NpNL
, NpNB
, NpPD
use a large amount of nonpaged pools.
经查,该驱动程序是 Npcap。
The driver is Npcap.
应用程序 Application |
驱动程序 Library |
内存泄漏 Memory Leak |
---|---|---|
drcom4scut 0.3.0 | WinPcap 4.1.3 | No |
drcom4scut 0.3.0 | Npcap 1.71 | No |
drcom4scut 0.3.0 | Npcap 1.72 | No |
drcom4scut 0.3.0 | Npcap 1.73 | No |
drcom4scut 0.3.0 | Npcap 1.74 | No |
drcom4scut 0.3.0 | Npcap 1.75 | No |
drcom4scut 0.3.0 | Npcap 1.76 | Yes |
drcom4scut 0.3.0 | Npcap 1.77 | Yes |
Wireshark 2.5.1 | Npcap 1.77 | No |
Wireshark 4.0.10 | Npcap 1.77 | No |
非计算机专业学生,但是听说该验证方式会安装相应证书,有担心被解密https的风险,期待回答。谢谢~
thread 'main' panicked at 'Fail on getting ethernet device!: Os { code: 31, kind: Other, message: "连到系统上的设备没有
发挥作用。" }', src\main.rs:164:55
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
大概意思是没有检测到宽带信号接入?可是实际上宽带接入是正常的
如题,出错信息如下:
error[E0635]: unknown feature `proc_macro_span_shrink`
--> /home/wsl/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
RustC的版本信息:
rustc 1.74.0-nightly (65ea825f4 2023-09-18)
binary: rustc
commit-hash: 65ea825f4021eaf77f1b25139969712d65b435a4
commit-date: 2023-09-18
host: x86_64-unknown-linux-gnu
release: 1.74.0-nightly
LLVM version: 17.0.0
切到stable和beta都不会卡在那里。但是,另外两个通道不能用#![feature]
,所以也编译不出来。
如何才能解决呢?
谢谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.