Could test get FILE_OBJECTID_BUFFER functions
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- csharp
- 领域
- networking, testing
调研方向
在测试套件中查找 SMB2_Ioctl 和 SMB2_GetInfo 的现有覆盖情况,然后跟踪信息级别是如何测试的。为 FSCTL_CREATE_OR_GET_OBJECT_ID、FSCTL_GET_OBJECT_ID、FileFsObjectIdInformation 和 FileIdInformation 添加检查,确保返回的对象 ID 非零,并且两个新文件的对象 ID 彼此不同。
由索引模型根据 Issue 内容生成。
描述
We observe that Windows 11 now requests a FILE_OBJECTID_BUFFER quite frequently (apparently after almost every SMB2 create) using the following SMB2 functions:
- SMB2_Ioctl / FSCTL_CREATE_OR_GET_OBJECT_ID
- SMB2_Ioctl / FSCTL_GET_OBJECT_ID
- SMB2_GetInfo / FS_INFO / FileFsObjectIdInformation
We also occasionally see requests for a FILE_ID_INFORMATION buffer, containing the same "Object Id", this SMB call:
- SMB2_Getinfo / FILE_INFO / FileIdInformation
I don't see any tests for these information levels. Any server could implement them, and we do, returning a per-file unique value for the Object ID. The test cannot possibly "know" what is a correct value, but it could verify that the value is not all zeros, and could verify that two new files have different Object ID values.
- 主要语言
- C#
- 星标
- 566
- 派生
- 217
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/WindowsProtocolTestSuites 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
-
难度 4/5 3-5 天 新手友好度 42/100
-
ARM64 support未关闭
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 20/100
-
难度 3/5 1-2 天 新手友好度 30/100
microsoft/WindowsProtocolTestSuites#319 · 1 条评论 ·
查看 microsoft/WindowsProtocolTestSuites 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
PCL-Community/PCL-CE#3658 ·
维护者通常 1 天内回复
-
Deploy & Patch-issues opprettes ikke: create-pnd-issues.yml har feilet hver uke siden 2025-09-08未关闭
难度 2/5 1-3 小时 新手友好度 62/100
Altinn/altinn-auth#4359 ·
维护者通常 1 天内回复
-
type/automation type/tech-debt
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
no-stack-trace
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
S: Untriaged
难度 2/5 1-3 小时 新手友好度 62/100
project-wayfarer/wayfarer-14#1650 ·
维护者通常 2 天内回复