大网数据广告活动
网络与域名解析

UDP Packet Flows

· 52CE 我爱测

The order in which the layers of the Windows Filtering Platform (WFP) filter engine are traversed during a typical UDP session.

This section describes the order in which the layers of the Windows Filtering Platform (WFP) filter engine are traversed during a typical UDP session.

Note:
UDP packet flows for IPv6 follow the same pattern as for IPv4.

Note:
All non-TCP packet flows follow the same pattern as UDP packet flows.

UDP Connection Establishment

Server (receiver) performs Passive Open

  • bind: FWPM_LAYER_ALE_BIND_REDIRECT_V4 (Windows 7 / Windows Server 2008 R2 only)
  • bind: FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V4

Client (sender) performs Active Open

  • bind: FWPM_LAYER_ALE_BIND_REDIRECT_V4 (Windows 7 / Windows Server 2008 R2 only)
  • bind: FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V4
  • sendto: FWPM_LAYER_ALE_CONNECT_REDIRECT_V4 (Windows 7 / Windows Server 2008 R2 only)
  • sendto: FWPM_LAYER_ALE_AUTH_CONNECT_V4
  • FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4
  • data: FWPM_LAYER_DATAGRAM_DATA_V4
  • UDP message: FWPM_LAYER_OUTBOUND_TRANSPORT_V4
  • IP datagrams: FWPM_LAYER_OUTBOUND_IPPACKET_V4

Server

  • IP datagrams: FWPM_LAYER_INBOUND_IPPACKET_V4
  • UDP message: FWPM_LAYER_INBOUND_TRANSPORT_V4
  • UDP message: FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4
  • FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4
  • data: FWPM_LAYER_DATAGRAM_DATA_V4

UDP Message Received with No One Listening on the Port or Protocol

Server (receiver)

  • IP datagrams: FWPM_LAYER_INBOUND_IPPACKET_V4
  • IP datagrams: FWPM_LAYER_INBOUND_IPPACKET_V4_DISCARD
  • ICMP Dest Unreachable: FWPM_LAYER_OUTBOUND_ICMP_ERROR_V4
  • ICMP Dest Unreachable: FWPM_LAYER_OUTBOUND_TRANSPORT_V4
  • ICMP Dest Unreachable: FWPM_LAYER_OUTBOUND_IPPACKET_V4

Note:
UDP with no endpoint is indicated at IPPACKET discard with a specific error condition. Block this packet at IPPACKET discard to cause the stack not to send the corresponding event (ICMP error).

Successful Reauthorization of a UDP Packet

Server (receiver)

  • IP datagrams: FWPM_LAYER_INBOUND_IPPACKET_V4
  • UDP message: FWPM_LAYER_INBOUND_TRANSPORT_V4
  • UDP message: FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4
  • UDP message: FWPM_LAYER_DATAGRAM_DATA_V4(INBOUND)

Failed Reauthorization of a UDP Packet

Server (receiver)

  • IP datagrams: FWPM_LAYER_INBOUND_IPPACKET_V4
  • UDP message: FWPM_LAYER_INBOUND_TRANSPORT_V4
  • UDP message: FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4
  • UDP message: FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4_DISCARD

UDP Connection Termination

UDP connection termination is not indicated at any WFP layer.

Related topics

ALE Reauthorization

Filtering Layer Identifiers

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。