PktFilter is a software that can configure the IP filtering device driver found in Windows 2000/XP/Server 2003, with filtering rules following a syntax similar to Linux’s IP Filter. It’s available under the BSD license so you can play with its source