Windows 中哪些类型的网络流量不使用 Winsock?

发布于 2024-08-02 14:46:02 字数 202 浏览 4 评论 0原文

我正在开发一些低级的东西(LSP),发现SMB流量不经过LSP,因为SMB不使用Winsock。 MSDN 中有一段关于它的内容,但这是 MSDN 专用于 Windows CE 的一部分。那么,是否有任何不经过 Winsock 的整个流量的完整列表? MSDN 对此有点混乱。

我现在找到了:

  1. SMB
  2. ICMP

I am developing some low-level stuff (LSP) and found out, that SMB traffic does not go through LSP, because SMB does not use Winsock. There is a paragraph in MSDN about it, but this is in part of MSDN dedicated to Windows CE. So, is there any comprehend list of whole traffic that does not go through Winsock? MSDN is bit messy about that.

I have found now:

  1. SMB
  2. ICMP

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

记忆之渊 2024-08-09 14:46:02

有趣的是——我一直认为一切都是通过winsock 进行的。

来自 MSDN (我相信这不仅仅是与您相同的信息已经找到):

注意由于以下协议和技术不使用Winsock LSP模型,因此您无法通过编写LSP来修改它们:

  • DHCP、ICMP 和 IGMP 以及其他层
    3 个协议 [我的重点]
  • DNS 代理
  • 重定向器
  • SMB 服务器

我无法从该 MSDN 链接中推断出“其他第 3 层协议”是否正是这个意思或“所有其他第 3 层协议”。

但是,此知识库文章介绍了 Winsock 如何忽略 ICMP 端口不可达消息 - 在某些(非常旧)平台 - 我想知道 CE 的网络部分是否还没有更新......

Interesting - I'd always assumed that everything went via winsock.

From MSDN (I trust this isn't simply the same info you already found):

Note Because the following protocols and technologies do not use the Winsock LSP model, you cannot modify them by writing an LSP:

  • DHCP, ICMP, and IGMP and other layer
    3 protocols
    [my emphasis]
  • DNS proxy
  • Redirector
  • SMB server

What I can't deduce from that MSDN link is whether "other layer 3 protocols" means exactly that or "all other layer 3 protocols".

However, this KB article describes how ICMP Port Unreachable messages are ignored by Winsock - on certain (very old) platforms - I wonder if the networking portion of CE has not been updated...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文