Sunday, November 12, 2006

Vista - TCP/IP Stack Changes

Leave a Comment
I have been reading about the changes made in Vista TCP/IP Stack. As usual Microsoft developers seems to be excited about it, but I am not. Looks like design vise they still have to cover a long distance but they are on right track now.
Well following are some of the changes that I will be dealing with soon and planning to get an expertise on:
1. Windows Filtering Platform: A unified filtering callback mechanism that will provide required callbacks for traffic monitoring and modification.
2. TDI Filters: On a path to deprecation. That means I need not worry about tweaking my TDI filter to support various things.
Advice for TDI developers:
a) Dont use hooking mechanism, use IoAttachDevice or other attaching mechanism. Hooking is not supported in x64 MS OS and future x32 OS, courtesy MS's PatchGuard technology.
b) Use WSK, Winsock Kernel, API in your TDI Client. Life is simple with Socket. With WSK no need to write complex TDI handling code. Well this was our BE projects: Sockets in kernel. Probably we could have donated our code to MS.... :-P

more on this later

0 comments: