Home › Forums › Discussions › General Discussion › How to get source IP address in TDI filter driver? › Reply To: How to get source IP address in TDI filter driver?
Yes. I was trying to get the source IP before I pass the IRP processing down to the stack. So at that moment, the source IP was not formed.
So, now if I am obtaining the source IP after I pass IRP to next handler in the stack (via IoCallDriver) I get the correct value. But … This works only on XP and 2k. On Vista I continue to obtain the 0, however the port is correctly obtained.
What to do with Vista? 😥