NetMon中的Stub Parsers的概念
今天使用Netmon分析一个网络包, 发现别人给我的截图里有TDS协议的细节, 而我的netmon里看不到.
按照无法解析的协议部分的提示, 找到了Netmon帮助的相关部分.
信息如下:
Tds: Windows stub parser: Requires full Common parsers. See the "How Do I Change Parser Set Options" help topic for tips on loading these parser sets.
解决方案
====================
1. On the Tools menu, click Options, and then click Parser.
2. Click the row containing the files for which to load full or stub parsers, for example,
Common or Windows.
3. On the toolbar, click Stubs to switch stubs on or off.
If the folder does not contain a stub file implementation, the Stubs button is disabled.
4. Click Save and Reload Parsers.
5. After the parsers have loaded, click OK.
好了, 我的Netmon也能看到TDS协议的细节内容了. 下面列出了一些NetMon中相关的基本概念.
Concept of Stub Parsers
====================
A stub parser is a skeleton parser file that consists of only the protocol name, but does not contain any information on parsing the fields in the protocol. Parser packages can contain stub parsers for the full parsers that they install.
The Core package provides a set of protocols on the transport layer and below that enables basic parsing and filtering with high performance.
The Common package contains other public RFC protocols, as well as some key Windows protocols, and is enabled by default to enable a broad set of protocols.
The Windows package contains the remainder of the Microsoft Windows protocols, as found on MSDN, and OEM protocols. It is loaded as stubs only by default. The Windows package is also dependent on the Common parser set. Therefore, make sure the Common set is set to Full when turning the Windows set to Full.
To improve parsing performance at the cost of some accuracy and filtering ability, select Stubs for both Common and Windows. This provides the Core set of protocols, such as Ethernet, IPv4, IPv6, TCP, UDP, as full parsers. Selecting this option produces a significant increase in performance, while limiting filtering to low-level protocols.
译自:
NetMon帮助之How do I change parser set options.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律