You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an NDIS component such as a LWF originates an OID Set request such as OID_GEN_CURRENT_PACKET_FILTER, NetAdapterCx reads the NDIS_OID_REQUEST, extracts the necessary information from the InformationBuffer, and calls the client driver's EVT_NET_ADAPTER_SET_RECEIVE_FILTER callback. Even though it reads from InformationBuffer, it does not set the NDIS_OID_REQUEST.DATA.SET_INFORMATION.BytesRead member, which has been causing issues (i.e. nmap/npcap#628) for our NDIS LWF that was being strict about checking this member. We are relaxing our code to work around the issue, but NetAdapterCx ought to update it to avoid issues in the future.
When an NDIS component such as a LWF originates an OID Set request such as
OID_GEN_CURRENT_PACKET_FILTER
, NetAdapterCx reads theNDIS_OID_REQUEST
, extracts the necessary information from theInformationBuffer
, and calls the client driver'sEVT_NET_ADAPTER_SET_RECEIVE_FILTER
callback. Even though it reads from InformationBuffer, it does not set theNDIS_OID_REQUEST.DATA.SET_INFORMATION.BytesRead
member, which has been causing issues (i.e. nmap/npcap#628) for our NDIS LWF that was being strict about checking this member. We are relaxing our code to work around the issue, but NetAdapterCx ought to update it to avoid issues in the future.Network-Adapter-Class-Extension/netcx/translator/nxtranslationapp.cpp
Lines 1022 to 1048 in ca1e33c
The text was updated successfully, but these errors were encountered: