locked
how to get Domain Name in filter Driver RRS feed

  • Question

  • currently iam getting on RemoteIp my code is

    VOID MyFilterCallback(const FWPS_INCOMING_VALUES0* Values,	const FWPS_INCOMING_METADATA_VALUES0* Metadata,	PVOID layerdata,	const void *context,	const FWPS_FILTER *filter,	UINT64 flowcontext,	FWPS_CLASSIFY_OUT0 *classifyout)
    {
    ULONG  MyRemoteip;
    	if (!(classifyout->rights & FWPS_RIGHT_ACTION_WRITE))	{		goto end;	}
    MyRemoteip = Values->incomingValue[FWPS_FIELD_ALE_AUTH_CONNECT_V4_IP_REMOTE_ADDRESS].value.uint32;}
    i want to get domain name like google.com, how can i get that ?

    Wednesday, March 20, 2019 7:34 AM