basil00 / Divert

WinDivert: Windows Packet Divert

Home Page:https://reqrypt.org/windivert.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sys: windivert_get_ipv4_addr() can not get ip data as the value.type is 16

bronze1man opened this issue · comments

sys: windivert_get_ipv4_addr can not get ip data as the value.type is 16. I use dbgViewer to find out that the value.type is 16 not 3 (FWP_UINT32)

tested in callback windivert_resource_assignment_v4_classify in win10 x64 1903 18362.30

I am trying add another functional into windivert.sys

I am wrong.
FWPS_FIELD_ALE_RESOURCE_ASSIGNMENT_V4_IP_LOCAL_ADDRESS.value.type is 0.
FWPS_FIELD_OUTBOUND_TRANSPORT_V4_IP_LOCAL_ADDRESS.value.type is 16